Taxi Booking App Ionic
Complete Setup Guide
Complete Setup Guide
  • About
  • Installation
  • App Setup
    • Android Setup
    • Ios Setup
  • Hosting Setup
Powered by GitBook
On this page
  • Capacitor iOS Documentation
  • iOS Support​
  • Adding the iOS Platform​
  • Opening the iOS Project​
  • Running Your App​
  • Troubleshooting​
  • Next steps​
  • Further Reading​

Was this helpful?

  1. App Setup

Ios Setup

PreviousAndroid SetupNextHosting Setup

Last updated 2 years ago

Was this helpful?

Capacitor iOS Documentation

Capacitor features a native iOS runtime that enables developers to communicate between JavaScript and Native Swift or Objective-C code.

Capacitor iOS apps are configured and managed with Xcode and .

iOS Support

iOS 13+ is supported. Xcode 13+ is required (see ). Capacitor uses , not the deprecated .

Adding the iOS Platform

First, install the @capacitor/ios package.

npm install @capacitor/ios

Copy

Then, add the iOS platform.

npx cap add ios

Copy

Opening the iOS Project

To open the project in Xcode, run:

npx cap open ios

Copy

Alternatively, you can open Xcode manually by running:

open ios/App/App.xcworkspace

Copy

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

Copy

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:

Running Your App

Running on the Command-Line

The command will prompt you to select a target. .

Running in Xcode

Running your app

Troubleshooting

If you encountered any issues while getting started, you can consult the . Feel free to if you need help.

Next steps

Further Reading

CocoaPods
​
Environment Setup
WKWebView
UIWebView
​
​
​
​
Learn more about run
​
​
iOS Troubleshooting Guide
open a discussion
​
​