使用Xcode 6绕过代码签名 [英] Bypass code signing with Xcode 6
问题描述
如何在IOS 8应用程序的Xcode 6上绕过代码签名?我以前很容易按照Xcode 5上的互联网上的一些指南这样做,所以我可以直接在我的越狱iPhone上测试我的应用程序,因为我没有开发者帐户。但是,我似乎无法摆脱这个错误:
How do you bypass code signing on Xcode 6 for IOS 8 apps? I used to do this pretty easily following some guides on the Internet on Xcode 5 so I could directly test my apps on my jailbroken iPhone since I don't have the developer account. However, I can't seem to get rid of this error anymore:
没有找到具有有效签名身份的配置文件(即证书和私钥对)。
"No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) were found."
我所知道的指南似乎都不适用于Xcode 6?任何解决方案?
None of the guides that I know of seem to work on Xcode 6? Any solutions?
推荐答案
- 从cydia.angelxwind.net repo在设备上安装AppSync Unified
- 打开/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/SDKSettings.plist
- 更改值参数AD_HOC_CODE_SIGNING_ALLOWED为YES
- 将参数CODE_SIGNING_REQUIRED的值更改为NO
- 重新启动XCode
- 设置代码在构建设置中签名身份参数(目标和项目)到特别代码签名
- 将新的属性列表文件添加到项目中,名称为 Entitlements.plist
- 向Entitlements.plist添加可以调试参数,值为YES。
- 设置代码签名权利参数构建设置(目标和项目)到Entitlements.plist
- Install AppSync Unified on device from cydia.angelxwind.net repo
- Open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/SDKSettings.plist
- Change value of parameter AD_HOC_CODE_SIGNING_ALLOWED to YES
- Change value of parameter CODE_SIGNING_REQUIRED to NO
- Restart XCode
- Set "Code Signing Identity" parameter in "Build settings" (Both "Target" and "Project") to "Ad Hoc Code Sign"
- Add new "Property List" file to your project with name "Entitlements.plist"
- Add "Can be debugged" parameter with value "YES" to Entitlements.plist
- Set "Code Signing Entitlements" parameter in "Build settings" (Both "Target" and "Project") to "Entitlements.plist"
对于XCode 6.4需要做一些其他东西:
For XCode 6.4 need to do some additional things:
- Go 目标中的信息选项卡和捆绑标识符的复制值
- 将最近复制的值的application-identifier参数添加到Entitlements.plist
享受!
这篇关于使用Xcode 6绕过代码签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!