Reputation: 17412
I am working on ionic application. I am able to debug app in real android device.
So, is it possible to debug ionic app in iPhone by connecting it through USB cable from CPU?
Upvotes: 0
Views: 1236
Reputation: 2411
You require an iPhone and a mac with XCode installed.
If you are building for iOS, you’ll need to sign up for an Apple Developer account to test as a native app on an iPhone or iPad. Unfortunately, this costs $99 per year (don’t blame us!). Once you have an account and you have set up Xcode with your certificates to enable device testing, you’ll want to open the Xcode project from
platforms/ios/
and do your testing from Xcode.
As you have mentioned you do have an iPhone and Mac with XCode, see the steps below:
ionic cordova prepare ios
platform/ios
folder to your Macplatform/ios
folder.Upvotes: 1