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:
- #!/bin/bash
- cd /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS\ Build\ System\ Support.xcplugin/Contents/MacOS/
- dd if=iPhoneOS\ Build\ System\ Support of=working bs=500 count=255
- printf "\x8f\x2a\x00\x00″ >> working
- dd if=iPhoneOS\ Build\ System\ Support of=working bs=1 skip=127504 seek=127504
- /bin/mv -n iPhoneOS\ Build\ System\ Support iPhoneOS\ Build\ System\ Support.original
- /bin/mv working iPhoneOS\ Build\ System\ Support
- chmod a+x iPhoneOS\ Build\ System\ Support
Copy and paste the following code to the command line terminal:
- mkdir /Developer/iphoneentitlements30
- cd /Developer/iphoneentitlements30
- curl -Ohttp://www.alexwhittemore.com/iphone/gen_entitlements.txt
- mv gen_entitlements.txt gen_entitlements.py
- chmod 777 gen_entitlements.py
- ./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 ):
- PROVISIONING_PROFILE_ALLOWED = NO
- 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:
- 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 ):
- PROVISIONING_PROFILE_ALLOWED = NO
- PROVISIONING_PROFILE_REQUIRED = NO
Then
- "XCiPhoneOSCodeSignContext"
- Replace
- "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:
- 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!