Join Sahil Malik for an in-depth discussion in this video Add and debug the iOS platform, part of Developing Cordova Apps with Visual Studio Code and Typescript.
- At this point you should have the Android app running.…If you're on a Mac and you skipped the last video,…I encourage you to go see it and follow this course through.…Yes, I know the last video was demonstrated…on a Windows machine, but when it comes to Android,…the steps between Mac and Windows are identical.…There are a lot of concepts that I'm covering…in the context of Android that are…definitely applicable on a Mac as well.…So with the application running on Android,…next let's do something that only a Mac can do,…which is target iOS.…
So let's go ahead and close the Android emulator,…and in the same project let's go ahead…and add support for iOS.…It's very simple to do so.…You just say cordova platform add ios.…Once the iOS platform has been added,…and assuming that you have a simulator configured…on this machine as I showed you in the previous chapter,…in order to run this application…all you do is say cordova run ios.…
Now when I run this application,…there's a good chance you will see an error like this.…
- Setting up your environment
- Adding the browser platform
- Adding and debugging the Android and iOS platforms
- Interacting with Native using plugins
- Why use plugins?
- Using TypeScript with Cordova
- Converting your code to TypeScript
Skill Level Intermediate
1. Setting Up Your Environment
2. Going Multiplatform
Add the browser platform3m 7s
3. Interacting with Native Using Plugins
4. Using TypeScript with Cordova
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.