How to build iOS app from ionic projects

  1. Build App: From Xcode, launch the project found in the folder
  1. Xcode if installed will launch the file *.xcodeproj and start building it
  2. some errors typically will be found, read and accept the proposed solution
  3. accept the build setting changes and click on perform changes
  4. click on the play button on xcode to generate build the project, more error this time on Deprecations will occur. read this to solve them.
  5. Connect a physical device like and iPad or iPhone and select the build to be that device 
  6. Try to click the build button and see if the errors such as Signing for "micrometerApp" requires a development team. Select a development team in the project editor. Code signing is required for product type 'Application' in SDK 'iOS 10.0'. 
  7. Goto build and select the development team by clicking on that tiny icon 
  8. type in sign to find the signing options in xcode and select the Development Team
  9. The build should be successful and the App will be on your iPad.
  10. Publish on App Store: to publish on app store, click Product and select Archive for *.ipa file creation.
  11. building the archive *.ipa may produce this error micrometerApp has conflicting provisioning settings. micrometerApp is automatically signed for development, but a conflicting code signing identity iPhone Distribution has been manually specified. Set the code signing identity value to "iPhone Developer" in the build settings editor, or switch to manual signing in the project editor. Code signing is required for product type 'Application' in SDK 'iOS 10.0'
  12. goto both Project and Target, under signing, select both as iOS Developer , not Distribution 
  13. goto both Project and Target, under signing, select both as iOS Developer , not Distribution
  14. a pop up occurs showing the new archive app is built successfully.
  15. Validation will fail at this stage because need to create a suitable application record
  16. using a browser like Chrome, goto to create an entry for App listing, login and select + Apps 
  17. which will bring you to register for one Bundle ID and register using the Bundle ID for example com.ionicframework.micrometerapp268865 and register to confirm selection/creation
  18. when done, the screen will look like this
  19. on Chrome browser, click back to your earlier tab on and click + to create an app listing using the Bundle ID creation on the developer page
  20. back on Xcode, the validation should be a success 
  21. back on Xcode, the upload should be a success too 

  22. the rest is a matter of clicking the appropriate checkboxes, picture sizes etc. Good Luck App Developing!
  23. Check out the app here , thanks Ezzy Chan for helping with the USD 99 developer cost, and remember to thank to original authors Loo Kang Wee (creator of Open Source Physics at Singapore),Fu-Kwun Hwang (creator of the first Micrometer simulation at NTNU Virtual Lab forum) , Francisco Esquembre and Felix J. Garcia-Clemente (creators of Easy Java/JavaScript Simulation modeling toolkit), Wolfgang Christian (creator of Open source Physics) and more if we used their works on ours. A truly collaborative world giving hope for the future learners.

end faq

{accordionfaq faqid=accordion3 faqclass="lightnessfaq defaulticon headerbackground headerborder contentbackground contentborder round5"}
0.5 1 1 1 1 1 1 1 1 1 1 Rating 0.50 (3 Votes)