I did the following:

  1. Established Wirth. Max OS X machine.
  2. I installed xcode, cordova, phonegap on it.
  3. I added the ios platform in my project - it worked.
  4. Entered the build ios command - completed successfully.
  5. Jailbreaked my 4th iPhone and installed Cydia, AppSynch

And then I do not know what to do. The cord does not give me a ready-made ipa file, in the ios/build folder some kind of mess. Help me figure out what to do to launch an application on an iOS device using a cord?

  • cordova run ios --device not working? - daserge

2 answers 2

I do so

 ionic build ios 

After the build is completed, I open Xcode, and specify the path to the project folder, for example:

 /Applications/MAMP/htdocs/WORK/yourApp/platforms/ios 

Then just instead of the emulator, I select the connected device (iphone 4 jb) via usb and Xcode floods the application onto the phone.

    As far as I know, you can start the application only with xCode, and cordova helps to build a project for the chosen platform.

    Connect the phone, select the device and launch the application (if only compilation is performed, then change the settings in the application scheme, see the documentation on the cordova website)

    https://cordova.apache.org/docs/en/latest/guide/platforms/ios/index.html