验证iOS应用时出错 [英] Error when validating iOS App

查看:1118
本文介绍了验证iOS应用时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图发布iOS应用程序,但是当我尝试验证我的版本我收到以下错误:

  NIB文件'主的iPad〜笔尖没有被发现。请确保指定的文件中包含与附加到文件名的任何所需的设备修饰符包无效的Info.plist:Info.plist中可能包含UIMainStoryboardFile或NSMainNibFile,但它不能包含两个键。欲了解更多信息,请参阅信息属性列表键参考。


解决方案

看来你有你的Info.plist一些陈旧的条目。检查并删除了主nib文件基本名称。另外,还要确保笔尖文件不包含在你的目标。

我假设你使用的是故事板,所以你需要删除的笔尖文件。

I am trying to publish an iOS application, however I receive these error when I try to validate my build:

Nib file 'Main-iPad~.nib' was not found. Please ensure the specified file is included in the bundle with any required device modifiers appended to the filename

Invalid Info.plist: The Info.plist may contain either UIMainStoryboardFile or NSMainNibFile, but it must not contain both keys. For more information, refer to the Information Property List Key Reference.

解决方案

It seems you have some stale entry in your Info.plist. Inspect it and delete the "Main nib file base name". Also make sure the nib file is not included in your target.

I assume you are using storyboard, so you need to remove the nib file.

这篇关于验证iOS应用时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆