IOS Deployment with Ionic IOS Deployment with Ionic xcode xcode

IOS Deployment with Ionic


Yes, indeed you can.

You first have to build your project for ios:

ionic build ios

Then you have to open up (with Xcode) the .xproj project that was generated by ionic build ios command (you'll see the exact location in the command's output).

Now you have to connect your iPhone to you Mac computer and you'll be able to choose your iPhone as a "deployment" device.

Click run in Xcode and after the Xcode finishes guiding you through creating a provisioning profile you'll have the app on your phone.

For more info take a look at https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/LaunchingYourApponDevices/LaunchingYourApponDevices.html


Of course, you just need Xcode to generate the ipa so you can install it anywhere.

Check this guide: http://cordova.apache.org/docs/en/latest/guide/platforms/ios/index.html As ionic is essentially cordova the steps are similar.


Steps to upload ipa to App Store and Device (ionic App)

Step 1 1. Import Project to Mac Laptop2. Create a new Project in Mac via terminal and import all SRC Folder from old project to new Project.3. Open the New Project.4. Copy the Dependency from old Projects from Dependencies and paste in New Project in Dependencies5. Don’t remove old Dependency of new Project just install new one6. Fire command Npm install once dependency and Src Folder is copied to new Project 7. Go to config.xml change widget id, version, Description, author email, href.8. Change Version in package-lock.json9. Npm install10. Don’t Forget to Save All Files.

Step 2 1. Ionic serve -lIf you have installed Native Plugins (I.e. camera, network, base 64 etc.), Reinstall that All Native Plugins.2. Verify that app is running in browser3. Ionic cordova build ios

Step 31. Go to developer.apple.com2. Click on Identifier-> App Id. 3. Register App Id Name and Bundle Id4. Click on Continue and Register5. Go to Provisional Profile 6. Click + Sign7. Click on Development 8. Select Ios App Development9. Select IPhone Listed10. Generate Profile Name by Giving Name11. Continue and Profile will be Ready 12. Click on Done.

Step 41. Go to Project-> ios-> projectName.xcodeproj 2. Xcode will be opened when you open file projectName.xcodeproj3. Click on Project and Automatic Signing4. Select your Device and Click on Run Button5. Change Bundle Name and Bundle Identifier Name in INFO6. File -> Project Setting ->Shared Project Setting -> Build Setting ->Select Legacy Build System instead of Default (Verify Once)7. Click on Run Button Your App will be Deployed in iPhone