Ionic Launch Event. September 28th 2021.
Capacitor iOS apps are configured and managed with Xcode and CocoaPods.
First, install the
npm install @capacitor/ios
Then, add the iOS platform.
npx cap add ios
To open the project in Xcode, run:
npx cap open ios
Alternatively, you can open Xcode manually by running:
You can either run your app on the command-line or with Xcode.
To run the project on a device or simulator, run:
npx cap run ios
The command will prompt you to select a target.
Learn more about
In Xcode, first select the device or simulator and then click the play button to run your app.
You are now ready to continue developing and building your app. Use the various APIs available, Capacitor or Cordova plugins, or custom native code to build out the rest of your app.
Follow these guides for more information on each topic: