Xcode 3.2.5 Certificate-free development and debugging tutorial

Source: Internet
Author: User
Tags key string

Xcode3.2.5 NoCertificateDevelopmentDebuggingThe tutorial is the content to be introduced in this article. Here is a weak reminder,XCode4.0 it has not been tested yet and is for reference only. Let's take a look at the details.

XcodeProceedCrackingThen, the jailbreak iPhone or iPad can be connected without officialCertificateDevelopmentDebuggingNow! Currently, the latest iOS 4.2 SDK/iOS 4.2.1 SDKXcode3.2.5 applies the same way! Of course, for iOS 3.2.2/iOS 4.1 SDKXcode3.1.2 compatibility is also maintained.

Generate local certificate

Application> utility> key string access

Menu: access the key string-> certificate assistant-> Create a certificate, and then operate in the order of slices:

Xcode 3.2.5 Certificate-free development and debugging _ open the certificate creation menu

Xcode 3.2.5 Certificate-free development and debugging _ enter the Certificate Name iPhone Developer and select override Default Value

Xcode 3.2.5 Certificate-free development and debugging _ confirm to continue

Xcode 3.2.5 Certificate-free development and debugging _ enter the serial number validity period, which cannot exceed 365 days

Xcode 3.2.5 Certificate-free development and debugging _ enter an email address

Xcode 3.2.5 Certificate-free development and debugging _ entering key pair Information

Xcode 3.2.5 Certificate-free development and debugging _ Key Usage extension selection: Signature

Xcode 3.2.5 Certificate-free development and debugging _ extended key use extension selection: code signature

Xcode 3.2.5 Certificate-free development and debugging _ Basic Constraint extension not selected

Xcode 3.2.5 Certificate-free development and debugging _ TOPIC backup name extension enter the RFC822 name and enter the mailbox name

Xcode 3.2.5 Certificate-free development and debugging _ select the key string type as the logon key for the certificate location

Xcode cracking

Make sure that Xcode is disabled. On the command line terminal, copy and paste the following code:

 
 
  1. #!/bin/bash  
  2. cd /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS\ Build\ System\ Support.xcplugin/Contents/MacOS/  
  3. dd if=iPhoneOS\ Build\ System\ Support of=working bs=500 count=255 
  4. printf "\x8f\x2a\x00\x00″ >> working  
  5. dd if=iPhoneOS\ Build\ System\ Support of=working bs=1 skip=127504 seek=127504 
  6. /bin/mv -n iPhoneOS\ Build\ System\ Support iPhoneOS\ Build\ System\ Support.original  
  7. /bin/mv working iPhoneOS\ Build\ System\ Support  
  8. chmod a+x iPhoneOS\ Build\ System\ Support 

Copy and paste the following code to the command line terminal:

 
 
  1. mkdir /Developer/iphoneentitlements30  
  2. cd /Developer/iphoneentitlements30  
  3. curl -Ohttp://www.alexwhittemore.com/iphone/gen_entitlements.txt  
  4. mv gen_entitlements.txt gen_entitlements.py  
  5. chmod 777 gen_entitlements.py  
  6. ./gen_entitlements.py 

After the script is executed, modify the "/Developer/Platforms/iPhoneOS. platform/Info. plist" file and make the following changes:

Add the following two items (inform the project to compile without a certificate ):

 
 
  1. PROVISIONING_PROFILE_ALLOWED = NO 
  2. PROVISIONING_PROFILE_REQUIRED = NO 

Replace all "XCiPhoneOSCodeSignContext" in the file with "XCCodeSignContext", that is, remove the "iPhoneOS" in the middle ". If you do not perform this step, an error will be reported when compiling the Device Release version:

 
 
  1. Code Sign error: a valid provisioning profile matching the application's Identifier 'com.yourcompany.xxxx' could not be found 

Open Xcode, open your Project, Project> Edit Project Setting, select "Build", select All for deployments and Show, and find the Code Signing Identity item, and assign "Code Signing Identity" and Its subitem to "Don't Code Sign"

Then find the xxx-Info.plist file for your project and add the "SignerIdentity" item with the value "Apple iPhone OS Application Signing". Save.

Xcode crackingComplete, or more accurately, the configuration is complete!

Xcode real machine debugging

Connect your iPhone to your computer and your iPhone will be detected in Xcode's Window/Organizer. check that the iPhone and your Xcode are properly recognized and exit Organizer. Select "iPhone Device-4.2 | Release" as the compiling environment and click "Build and Go ", during this period, let's select the signature certificate, click "allow", and then wait for your iPad/iPhone screen to light up.

Your program will be automatically downloaded to your iPhone for debugging.

Xcode upgrade cracking

If it is upgraded to 3.2.5 In the original Xcode version, andCrackingThen, you only need to perform the following steps:

Add the following two items (inform the project to compile without a certificate ):

 
 
  1. PROVISIONING_PROFILE_ALLOWED = NO 
  2. PROVISIONING_PROFILE_REQUIRED = NO 

Then

 
 
  1. "XCiPhoneOSCodeSignContext"
  2. Replace
  3. "XCCodeSignContext"

Remove the "iPhoneOS" in the middle ". If you do not perform this step, an error will be reported when compiling the Device Release version:

 
 
  1. Code Sign error: a valid provisioning profile matching the application's Identifier 'com.yourcompany.xxxx' could not be found 

Summary:Xcode3.2.5 NoCertificateDevelopmentDebuggingI hope this article will help you with the introduction of this tutorial!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.