验证iOS应用时出错

我正在尝试发布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中有一些陈旧的条目.检查并删除“主要nib文件名称”.还要确保目标文件不包含nib文件.

我假设你正在使用storyboard,所以你需要删除nib文件.

相关文章

当我们远离最新的 iOS 16 更新版本时,我们听到了困扰 Apple...
欧版/美版 特别说一下,美版选错了 可能会永久丧失4G,不过只...
一般在接外包的时候, 通常第三方需要安装你的app进行测...
前言为了让更多的人永远记住12月13日,各大厂都在这一天将应...