Non-IDP (no $99 Certificate) method to deploy the app on the iPhone)

Source: Internet
Author: User
Tags macbook

Development and installation environment Mac OS, and WiFi, iPhone or iPod Touch that has been jailbroken (cracked.
The SCP mentioned below is the terminal command of Mac OS.
Ssh, ldid, and chmod are the command lines for iPhone terminals. They need to be installed, cydia, and other tools.

Follow the compilation instructions and an error message is displayed:
Codesign error: no certificate found in keychain for code signing identity'IPhoneDeveloper'

Next, we will skip the xcode signature check. open *. xodeproj is a file with the suffix (right-click to display the package content "show package contents"). Generally, three files are displayed and the project is opened in text mode. pbxproj file,
At this time, open the file named *. xcodeproj under the project file (right-click it, select Show package contents), and searchIPhone developer, Locate and delete the file. There are two parts in total, save the file, and re-enter xcode compilation to generate the app.Program. The generated result is under the build directory.

Copy the compiled release for device program to the iPhone
First enter the directory where MyApp. app is located, and then execute the following command
Siu-andrewde-MacBook: release-iphoneos siuandrew $ SCP-r MyApp. app root@192.168.0.2:/Applications
Prompt for Password
Root@192.168.0.2's password:
Then start copying.

After the copy is complete, log on to the iPhone again:
Siu-andrewde-MacBook: release-iphoneos siuandrew $ SSH root@192.168.0.2
Root@192.168.0.2's password:
Sign in and execute the signature
IPhone :~ Root # cd/Applications
IPhone:/applications root # ldid-s MyApp. APP/MyApp
The ldid step is very important. Note that-S should be capitalized and the signature should be completed patiently.

After the signature is complete, set the entire directory permission to 755.
IPhone:/applications root # chmod + x MyApp. app
This step is also required to set permissions, or use chmod-r 755 MyApp. app

The upload and signature are complete. If the iPhone has 91 shutdown assistant installed, log out and fix the icon. Otherwise, delete the installation. plist file on the iPhone.
IPhone :~ Root # rm/private/var/mobile/library/caches/COM. Apple. Mobile. Installation. plist
Then restart the phone to see the program icon.

Run your self-compiled app.

 

Come from: http://www.son1c.cn/show/177.html

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.