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

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

问题描述

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

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.

推荐答案

您的 Info.plist 中似乎有一些过时的条目.检查它并删除主 nib 文件基本名称".还要确保 nib 文件不包含在您的目标中.

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.

我假设您正在使用故事板,因此您需要删除 nib 文件.

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

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

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