【问题标题】:Error when validating iOS App验证 iOS 应用程序时出错
【发布时间】:2014-01-20 03:19:30
【问题描述】:

我正在尝试发布 iOS 应用程序,但是当我尝试验证我的构建时收到以下错误:

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.

【问题讨论】:

  • 您是否阅读了错误并查看了 info.plist 文件?它是否同时包含 UIMainStoryboardFile 和 NSMainNibFile?

标签: ios xcode app-store nib


【解决方案1】:

您的 Info.plist 中似乎有一些陈旧的条目。检查它并删除“Main nib file base name”。还要确保 nib 文件不包含在您的目标中。

我假设您使用的是故事板,因此您需要删除 nib 文件。

【讨论】:

  • 在我的 info.plist 文件中我有这个:NSMainNibFile~ipad。必须从文件中完全删除它。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-03-20
  • 2011-08-27
  • 1970-01-01
  • 1970-01-01
  • 2016-01-21
相关资源
最近更新 更多