To develop app in IONIC 2
for browser
, Android devices
and for iOS devices
what should be the best configurations required on mac
?
Configurations like versions of different packages (like node, npm, xcode, android studio
etc.) required to run ionic.
- NodeJS
- NPM
- XCode
- Android SDK (No need for Android Studio)
- I think you would need Java as well to compile and sign APK files
Also need to install ionic@beta
and cordova
NPM packages
@ihadeed Thanks man.
I hope it will be fine if I have all of them at the latest release, especially nodeJS, npm, ionic@beta and cordova.
Yeah that’s fine.
I just think NodeJS has to stay at the lastest LTS release (4.4 as of now), not their stable realases (5.9+).
@ihadeed I have some trouble in running ionic app into iOS device from command line,
following is my node version details
\#-\>node --version
v5.3.0
Do you think this might be a problem?
Not sure. I don’t have much experience with iOS development. But I would try to downgrade the node version and see what happens.
Usually when I run an iOS app on a real device I run ionic build ios
then open the project with xcode (not the ionic project, your xcode project located in /platforms/iOS/AppName
If emulating then you just need to install ios-sim
npm package and run command ionic run ios --emulator
Exactly, thats what my greatest problem now.
Usually when I run an iOS app on a real device I run ionic build ios then open the project with xcode (not the ionic project, your xcode project located in /platforms/iOS/AppName
So each time I do some code changes I have to do the iOS build, and open the xcode project from the /project/platform/ios/xcode project and give new bundle identifier name in the xcode window, and deploy into the device.
Isn’t there a good solution around ?
I know its of the topic for this post, I was going to post it as new topic, thought just discuss here itself.
From my experience I didn’t have to do that, I simple run ionic build ios
then click on the play (run) button on xcode.
I have a feeling there is a better way to do it, but I’d leave that to the iOS development experts on the forums to answer.
It might be a good idea to edit the thread or create a new one. As most people will see this thread as resolved from the type/amount of context above.