Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bypass code signing with Xcode 6

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."

None of the guides that I know of seem to work on Xcode 6? Any solutions?

like image 344
SAR392 Avatar asked Nov 08 '14 22:11

SAR392


People also ask

How can I skip code signing for development builds in Xcode?

To turn the code signing off, go to your project and target "Build Settings", search for "Code Signing Identity" change its value to "Don't Code Sign" in both of them. To make this effective you need to change this value in the Project and all of the Targets separately.

How do I manually manage signing in Xcode?

Open the project using Xcode. Select the root project directory, and go to the Signing and Capabilities tab. Here, you can either check Automatically manage signing or do the signing manually. If you check the Automatically manage signing checkbox, then you will just need to select the Team from the drop-down list.


1 Answers

  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"

For XCode 6.4 need to do some additional things:

  1. Go to "Info" tab in "Target" and copy value of "Bundle identifier"
  2. Add "application-identifier" parameter with recently copied value to Entitlements.plist

Enjoy!

like image 86
mefik Avatar answered Oct 08 '22 13:10

mefik