简体   繁体   English

将iPhone应用程序移植到iPad无法签名?

[英]Porting iPhone app to iPad fails to sign?

I am able to create a new application profile targeted for my iPad, however, when I convert from iPhone to "Universal" device, I am getting an error in signing. 我可以创建一个针对我的iPad的新应用程序配置文件,但是,当我从iPhone转换为“通用”设备时,签名时出现错误。

[BEROR]Code Sign error: a valid provisioning profile matching the application's Identifier 'rfc1034identifier' could not be found

Also note: I am able to run it in the simulator (which does not require signing). 另请注意:我能够在模拟器中运行它(不需要签名)。

It is a very old application ~OS version 2.x or 3.1 that had SDK problems which required more manual process to get the signing code into the build settings, so I would not be surprised if there is some residual foo in the build settings. 这是一个非常老的应用程序〜OS版本2.x或3.1,存在SDK问题,需要更多手动过程才能将签名代码放入构建设置,因此,如果构建设置中有一些残留的foo,我不会感到惊讶。

I ended up starting over and created all the device certificates and provisioning profiles. 最后,我重新创建了所有设备证书和配置文件。 At least the new XCode knows how to put the values in plist and install the provisioning profile on the device correctly. 至少新的XCode知道如何将值放入plist并在设备上正确安装配置文件。 After I got a good project configured/setup, I did find the problem in the bundle-name setting that was somehow hooked to an expired provisioning profile. 配置/设置好项目后,确实在捆绑名称设置中发现了问题,该问题以某种方式与已过期的配置文件挂钩。

Also, I may have missed the new shorter expiry time. 另外,我可能错过了新的较短的到期时间。 Either way, I am going to mark this one as user error ... but still claim that the build error messages could do a better job of jumping to the location of the error. 无论哪种方式,我都将其标记为用户错误……但仍然声称构建错误消息可以更好地跳转到错误的位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM