使用Xcode 6绕过代码签名 [英] Bypass code signing with Xcode 6

查看:224
本文介绍了使用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?

推荐答案


  1. 从cydia.angelxwind.net repo在设备上安装AppSync Unified

  2. 打开/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/SDKSettings.plist

  3. 更改值参数AD_HOC_CODE_SIGNING_ALLOWED为YES

  4. 将参数CODE_SIGNING_REQUIRED的值更改为NO

  5. 重新启动XCode

  6. 设置代码在构建设置中签名身份参数(目标和项目)到特别代码签名

  7. 将新的属性列表文件添加到项目中,名称为 Entitlements.plist

  8. 向Entitlements.plist添加可以调试参数,值为YES。

  9. 设置代码签名权利参数构建设置(目标和项目)到Entitlements.plist

  1. Install AppSync Unified on device from cydia.angelxwind.net repo
  2. Open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/SDKSettings.plist
  3. Change value of parameter AD_HOC_CODE_SIGNING_ALLOWED to YES
  4. Change value of parameter CODE_SIGNING_REQUIRED to NO
  5. Restart XCode
  6. Set "Code Signing Identity" parameter in "Build settings" (Both "Target" and "Project") to "Ad Hoc Code Sign"
  7. Add new "Property List" file to your project with name "Entitlements.plist"
  8. Add "Can be debugged" parameter with value "YES" to Entitlements.plist
  9. 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:


  1. Go 目标中的信息选项卡和捆绑标识符的复制值

  2. 将最近复制的值的application-identifier参数添加到Entitlements.plist

享受!

这篇关于使用Xcode 6绕过代码签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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