简体   繁体   中英

How to build .ipa and install it on iphone form xcode?

I have installed MacOS 10.12 Using VMware and successfully implemented Ionic 2 app for IOS. I have also generated an .ipa file using the following method:

  1. Clean your project.
  2. Build your project.
  3. Go to products menu -> select build for -> select Profiling.
  4. In project navigator, find your .app product.
  5. Right click on it and click show in finder.
  6. There you will find folder named "Release-iphoneos", in this folder you will find your .app extension file.
  7. Create a folder named "Payload", copy that .app file in this folder.
  8. Archive your folder.
  9. After archive, rename your folder to name of your app and change its extension from ".zip" to ".ipa"
  10. Your ipa is ready for sharing.

From the above technique I got my .ipa file. Then, to install this app on iPhone i am using www.diawi.com . Now the problem is, when i am installing app from my safari browser on iphone download issue is showing. My internet connection is all good. I can also see the installation process on my iphone but app is not installing.

Note: I don't have Apple developer program. I need to build and install this app for testing in different iPhones.

Please suggest any other way to install my app on iPhone or another technique to build and share the app. My configuration is as follows:

Mac OS - 10.12 Sierra(VM-ware machine), Xcode- 8.3.3.

I tried so many articles but not sure where am i getting wrong. please suggest.

For that you will need to be enrolled with the Apple developer program (99$ a year). There is no other way.

Or you need to install it manually by plugging the iPhone in the computer and running the code in XCode (keep in mind that the default certificate will let your app run for 7 days then it will get expired)

to make .ipa file Archive your project and export your binary as developent or deployment. You can install your .ipa file manually.Connect your iPhone with your computer and drag .ipa file in your iPhone application folder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM