ipad xcode plist问题
我的 plist 文件有问题。也许您能够找到解决方案。
我为ipad做了一个项目,一切都在ipad模拟器上运行良好,绝对没有问题。 现在我决定在 ipad 设备上测试一下。因此,我修改了 plist 中的“捆绑包标识符”,默认情况下为“com.yourcompany.${PRODUCT_NAME:rfc1034identifier}”并输入“com.mycompanysname.applicationID”。哦,我忘了提及,我已经为该项目创建了一个应用程序 ID。 现在问题来了,一旦修改了“Bundle Identifier”,该项目就不再在模拟器和设备上运行。我所说的不再运行是指该项目启动时,会出现黑屏,但没有其他内容。
我决定用断点对其进行调试,这在某种程度上非常奇怪,因为应用程序甚至没有到达委托中的“application didFinishLaunchingWithOptions”方法。
即使我将捆绑包标识符放回默认情况下写入的内容,该项目也不再在模拟器上运行。从而无法使用。
也许有人已经遇到过这个问题,需要你的帮助。
谢谢:D
I'm having a problem with my plist file. Maybe you will be able to figure out the solution.
I made a project for ipad, everything is working well on the ipad simulator, absolutely no problem.
Now I decided to test it on an ipad device. Therefore I modified the "Bundle Identifier" in the plist which was by default "com.yourcompany.${PRODUCT_NAME:rfc1034identifier}" and put "com.mycompanysname.applicationID". Oh, I forgot to mention that I've already created an application ID for that project.
Now here comes the problem, as soon as the "Bundle identifier" has been modified, the project's no longer runs neither on the simulator nor on the device. What I mean by it no longer runs is that the project when launched, a black screen appears but nothing else.
I decided to debug it with break points, it's somehow very strange as the app doesn't even reach the "application didFinishLaunchingWithOptions" method in the delegate.
The project no longer runs on the simulator even if i put back the Bundle identifier back what was written in it by default. Thus unusable.
Maybe someone has already come across this problem, your help is needed guys.
Thanks :D
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要在“产品名称”键下的目标构建设置中更改产品名称。它在应用程序的多个位置使用,并且它们都必须同步。
You need to change the product name in the target build settings under the "Product Name" key. That is used in more than one location in the app and they all have to sync.