1.

What's The Difference Between Ionic Build And Ionic Prepare?

Answer»

If you want to get advanced mode, you can open up the project file for a specific platform by opening the required XCode or Android Eclipse project in platforms/PLATFORM inside the root of your project. Then, you can build and test from the platform-specific IDE. Note: if you go this route a suggestion to work inside of the root www folder, and when you've made changes to this folder, run the command: $ cordova PREPARE ios which UPDATES the iOS-specific project with the code from the www folder. Note: this will OVERWRITE any changes made to the platforms/ios/www and other platform-specific folders.

So, to summarize this part - if you're using XCode to test and run your code after you change some part of the code you just have to run ionic prepare to update the iOS project which again you can continue to use in XCode.  ionic buildcommand actually prepares the final (for example in Android it's the .apk file) file which then COULD be copied to your device and test by running it manually on the device (or by using the ionic emulate command to test it on the EMULATOR).



Discussion

No Comment Found