简体   繁体   English

iOS App代码签名问题-Xcode

[英]IOS App Code Signing Issue - Xcode

We have been developing a large IOS project for the past year - due to the size of the project a new company has been setup to support it - so we have setup a new IOS Developer Licence under the new company name - all pretty straightforward we thought - but its been a real headache trying to switch the configuration over to the new account! 在过去的一年中,我们一直在开发一个大型的IOS项目-由于该项目的规模,已经成立了一家新公司来支持该项目-因此我们以新的公司名称设置了一个新的IOS开发人员许可-我们认为这很简单-但是尝试将配置切换到新帐户确实让人头疼!

We tried to create the various certificates and provisioning profiles require for the new developer account - after some difficulty - (which eventually involved deleting all profiles and certificates from all devices and starting from scratch) - we managed to get the app to build and provision for an iPhone. 我们尝试创建新开发者帐户所需的各种证书和配置文件-遇到了一些困难-(最终涉及从所有设备中删除所有配置文件和证书,并从头开始)-我们设法为该应用程序构建和配置iPhone。 All now resolved - or so we thought. 现在所有问题都解决了-大概我们认为。 When testing on the office iPad we discovered we still get the same issue - we basically get the following error message - 在Office iPad上进行测试时,我们发现仍然存在相同的问题-我们基本上收到以下错误消息-

Check dependencies

Code Sign error: No matching provisioning profiles found: None of the valid provisioning     profiles include the device (DEVICE NAME).

CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.0'

The Ipad shows up in the provisioning profile in our dev account - but wont provision from xcode. Ipad会显示在我们开发人员帐户的配置文件中-但不会从xcode进行配置。

Tried deleting all certificates and re-installing - but no luck - amazingly frustrating - no idea what to try next - can anyone offer any suggestions!? 试图删除所有证书并重新安装-但是没有运气-令人沮丧的是-根本不知道下一步该怎么做-谁能提供任何建议!

I would 我会

  1. Download the provisioning profile from the Apple Developer Portal and open it with vim to look whether the UDID of the device is in there. 从Apple Developer Portal下载配置文件,并用vim打开它,以查看设备的UDID是否在其中。
  2. Check whether the build configuration is correct. 检查构建配置是否正确。
  3. Delete the Derived Data. 删除派生数据。
  4. Restart the Mac and the iDevice. 重新启动Mac和iDevice。
  5. Clean and try to install. 清洁并尝试安装。
  6. Try to find the provisioning profile which is used by Xcode (it's a bit difficult with Xcode 5) and look into it with vim. 尝试找到Xcode使用的配置文件(在Xcode 5中有点困难),并用vim进行研究。
  7. Try to use a different Mac. 尝试使用其他Mac。
  8. Try to create an ipa and install it using Xcode Organizer. 尝试创建一个ipa并使用Xcode Organizer安装它。

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

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