IPhoneThe real machine debugging tutorial is illustrated in the following illustration. Last weekIPhoneThe mobile phone was taken back, and I was trying to install the development program in Mac on a real machine for testing. The mobile phone is jailbroken. After the app is installed with the 91 mobile Assistant (the 91 mobile assistant can create the pxlIPhoneMobile phone installation package. Later, it was found that the compilation option was not changed during self-compilation, but the application running on the simulator was compiled, so it could not run on the real machine.
After changing the iPhone Simulator to the iPhone Device, compile it. The result shows that an Error is reported. The Error message is: Code Sign Error: the identity "iPhone Developer" doesn't match any valid certificate/private key pair in the default keychain. the prompt indicates that the signature is incorrect. Therefore, the iPhone developer needs to authorize the delivery for $99 for one year. Is there no other way? Later I found an article about how to install an application on a real machine using a self-made certificate. The test succeeded. I will post all the relevant articles below, hoping to help you.
IPhone ?? Upload Part 1-HelloWorld
Image:
Image:
Recently, my younger brother has been studying the iPhone licensing process ,? All the ingredients found by Nai are abundant, and I don't know how? Put it on the iPhone ,?? Many people share the same with me? Sleepy? Right !? Why? Day study? ? Out first? HelloWorld, and you don't have to pay $99 for it ?? Upper? OK! How can I share with you today? Put it in the hand? And basic Xcode usage:
My? Environment:
IBMX60 + iDeneb 10.5.5
What is the higher the iPhone port 16G + FW2.2 +?
IPhone sdks 2.2 final
Has MobileInstallation been replaced? (Well, it's important, otherwise? Can it be placed on an IP address? Test weiphone? Post: http://www.weiphone.com/thread-206698-1-1.html)
Note: The SDK version is best consistent with the IP version!
Okay, same ??, The rash process is starting!
1 .? Have a drink?
What are the requirements for Versions later than XCode? Required by a program ?? Why? And therefore you must? Yes
I spent $99 to join Developer Program (black). I didn't put it in App Store too much anyway. Why ?? Discretion ?? Not enough.
Call primary Key Access? Tool Program (in? Use programs> tool programs ?),? Create 1? "IPhone Developer" name fee? (ER? Do not change the name fee, no? You have to be there? Case? Change ?)
? Type? "? Why? Name"
? Incoming? Discretion?
Final line? Stored in "system category "? (Not "login", no ?? Cannot be found)
Er? It's all done, you already? Saved $99!
2. Create a View Based Application using XCode.
2 .? After the Project has been established, call define Project Setting ,? In User-Defined Settings? Inbound:
- PROVISIONING_PROFILE_ALLOWED = NO
- PROVISIONING_PROFILE_REQUIRED = NO
3. Press raise Info. plist, huh ?? Case storage? In the relative description of the program, press "Add Row" on the right to Add SignerIdentity = "Apple iPhone OS Application Signing" (required? ,?? Does not seem to work)
4. input the parameter MainWindow. xib? Case ,? Why? Window ???, Me? Can I see the iPhone? The only one? Window
5. Join me? View, in the Class Identity (cut? To the rightmost? Tab )? Input MyView and press back? Bytes
6. Same? Me? Pull? UILabel and UIButton ,? What about Label? Sex, huh? Autosizing? The name is easy to understand. Can you? You can see it.
7 .? It's done, ?? Have you set me? And ViewController ,? After the line HelloWorld View Controller, can you go to the menu ?? Tools-> Connections Inspector to see the Outlet (that is? Yanmeet? Amount), the best method is to set outlet? Drag the view to me ?? View created by the notebook
8. Then I? Add one for the created View? Outlet (lbl) and action (clickMe), huh? Me? Can be changed? Label? Object ,? Points? Connect outlet to HelloWorld, huh ?? The Label of the token, and the action is connected "? I "er? By hour ,? Lin? Touch Down event, later I ?? Used? Event? Change? Label
9. what is the answer? All set up, me? Yes? Born? Deleted ?, XCode ?? Me? Set the necessary code? Born ,? The method is in File-> Write Class Files
10. Next? Me? Add some tokens, points? Create another MyView. h (note that it should be behind MyView? Input UIView, Xcode? Add) and MyView. m ?? Next Generation
It is worth mentioning that you can? Press CTRL + "<" to see the prompt
11. Why? The rhyme To use ?, Here I? Lin? Device-iPhone OS 2.2, XCode ?? Me ?? Department, press "allow miscellaneous" (cannot press "? Is it compatible with miscellaneous? It's on your iPhone? Outbound? Security policy error, run again
No? Outbound? )
12. Yes? Division mode? Or? Why? On the Ap, just hold down ?? Just do it.
13 .??? Sums and ??? ,? "By Me" can be changed? Hello World? Color
Xcode 3.1.4 certificate cracking + iphone 3G 3.1.2 real machine deployment (same for 3.2.1)
My system environment:
Mac OS X 10.5.8 installation + voodoo kernel
Xcode 3.1.4
IPhone 3G 16g us edition, iPhone OS 3.1.2 black rain, jailbroken
Certificate forgery:
Follow the steps in this tutorial to add a certificate. Note: The original tutorial selects a "system" certificate. Here we use the "login" certificate. Remember.
Xcode cracking
Close Xcode, open your command line terminal, and 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 “x8fx2ax00x00″ >> 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 after execution: (internet connection is required)
- 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
After the script is executed, modify "/Developer/Platforms/iPhoneOS. platform/Info. plist" and make the following changes:
Add the following two items:
- PROVISIONING_PROFILE_ALLOWED = NO
- PROVISIONING_PROFILE_REQUIRED = NO
Use a text editor to open "/Developer/Platforms/iPhone OS. platform/Info. plist file, replace all "XCiPhoneOSCodeSignContext" with "XCCodeSignContext" (very important. If you do not perform this step, Xcode opens the project file and reports an error and exits), save and exit.
Open Xcode, open your Project, Project> Edit Project Setting, select the "Build" Page, select All for deployments and Show, locate the Code Signing Identity item, and delete its subitem, assign "Code Signing Identity" to "iPhone Developer" (which is actually an option ).
Then find the xxx-Info.plist file for your project and add the "SignerIdentity" item with the value "Apple iPhone OS Application Signing". Save.
Connect your iPhone to your computer. In Xcode Window> Organizer, your iPhone is detected. check that the iPhone and your Xcode are properly recognized and exit Organizer. Select "iPhone Device-3.1.2 | Release" as the compiling environment and click "Build and Go ", during this period, let's select the signature certificate, click "allow", and pray that your iPhone screen is on.
Your program will be automatically downloaded to yourIPhone. Click to run without any error prompt.
Summary: DetailsIPhoneI hope this article will be helpful to you.
This article is from the blacksoft base-China's largest hacker software security tutorial download site! Mobile phone information) original link: http://www.hackvip.com/mobiwen/html/Mobile_220477_3.html