How to inject iOS code? Ipa file?
Principle of installing ipa without jailbreaking (requires Apple computer): The principle of not jailbreaking is to re-sign the packaged and signed IPA with its own developer account through iResign, and then install it on the mobile phone through its own developer signature and equipment. To put it bluntly, it is to cheat the equipment, thinking that this application is developed by itself, and of course it can be installed on the machine for debugging. . That is, it runs. Step: 1. Log on to the developer's website and download Xcode2. Open keychain (keychain access), then check the settings in the options, and then request a certificate. Fill in your registered developer's name with the same email address, and then save it to the desktop. 3. Find the certificate on the left in the Provision settings of the developer portal, and then upload the certificate request file stored on the desktop. After uploading, the system will automatically activate (if you are a developer administrator), and then download and double-click to install. After installation, you will see your developer certificate. The certificate has been imported. 4. Then find the equipment item in the developer portal and add new equipment. The UUID of your iPhone can be viewed in itunes. After adding it, your mobile phone can be used as a development. 5. Create an APP ID, in which we hope this APP ID can be used for all applications, and the Provision it generates can cope with all kinds of IPA signatures, so as shown in the figure, the application name can be arbitrary, but the binding identifier should be indicated by *. After adding it, the system will randomly generate a number to represent your APP, so that it looks like something similar on the map. 6. Create a development clause for our mobile phone. As shown in the figure, switch to the Provision option, create a new one, and then you will see the certificate registered in front of you in the list, check it, then select the general APP we just built, and then check your own device. . . Once established, you can download it! ! 7. Drag the downloaded preset to the iPhone, which can be done in itunes or Xcode Manager. 8. open iResign. Drag the IPA you want to re-sign to the first item, the second item can be left blank, and the third item can be filled with the last few codes of the developer certificate you imported into the computer in the first step. Your ID number is GUJ****** * * * *, please fill it in. Then click Resign! If all goes well, the program will automatically decompress the original IPA, resign your signature, generate a new renamed IPA, and save it in the directory where your original program is located. You can choose to import this IPA into itunes or use organizer to add it to your phone! Then you can use it.