Xcode 3.2.6 SDK Certificate-free development and testing

Source: Internet
Author: User
Tags key string appsync

Xcode compilation has encounteredCode sign error: a valid provisioning profile matching the application's identifier 'com. yourcompany. xxxx' could not be found? And look down:

If xcode is not cracked, on the one hand, it cannot be used to debug the real machine, nor can it compile the release file of the real machine. You can only activate the apple developer account to apply for real machine debugging. After xcode is cracked, it can be developed and debugged without the official certificate!

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.63.2.6 Certificate-free development and debugging _ open the certificate creation menu

Xcode 3.2.6 Certificate-free development and debugging _ enter the Certificate Name iPhone developer and select override default

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

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

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

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

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

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

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

Xcode 3.2.6 Certificate-free development and debugging _ TOPIC backup name extension enter the rfc822 name and enter the mailbox name

Xcode 3.2.6 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. Original
/Bin/mv working iphoneos/build/system/support
Chmod A + x iphoneos/build/system/support

Copy again

Mkdir/developer/iphoneentitlements30
CD/developer/iphoneentitlements30
Curl-O http://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:

 

 

At this point, if the error still persists: the identity used to sign the executable is no longer valid.

Open your iPhone, find cydia, and open

ClickManage

Click sources

Click Edit

Click Add

Input http://cydia.hackulo.us

Click Add source.

After successful update

Search appsync

Appsync for os4.1 (or other) found)

Install the latest

Now you can test it online.

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.