Cordova Run with iOS Error .. Error Code 65 for Command: Xcodebuild with Args:

cordova run with ios error .. Error code 65 for command: xcodebuild with args:

You need a development provisioning profile on your build machine. Apps can run on the simulator without a profile, but they are required to run on an actual device.

If you open the project in Xcode, it may automatically set up provisioning for you. Otherwise you will have to create go to the iOS Dev Center and create a profile.

Ionic Cordova Build Ending With xcodebuild: Command failed with exit code 65

Use the legacy build system of XCode to build app for iOS.

Open XCode, Go to File-> Workplace Settings-> Change build system to Legacy Build System.

Then you can run your app on iPhone simulator from the XCode itself.

Sample Image

Error code 65 for command: xcodebuild How solve it?

This must be appearing in Xcode 10.x, I believe. In that case, it is because the build system has been changed in Xcode 10.x.

Try using below command:

  • Build: ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"

  • Run: ionic cordova run ios -- --buildFlag="-UseModernBuildSystem=0" --livereload

Reference: https://github.com/apache/cordova-ios/issues/407#issue-360392411

Hope this helps.

ionic cordova run ios - Export failed with code 65

try this beacuse the xcode 10.1 build in a diferent way to the ionic 3 now

ionic cordova run ios -- --buildFlag="-UseModernBuildSystem=0" --livereload

Error: Error code 65 for command: xcodebuild with args

In your screenshot of build log i see a "duplicate symbol CDVLogger".
This error is related to cordova-plugin-console.

Remove plugin console from your project and config.xml then retry to build , console plugin is not required on new version of cordova.

Error: Error code 65 for command: xcodebuild with args - trying to run ionic project on ios device

This is Recent error with new version of Cordova iOS engine.

Change the following in your config.xml

<engine
name="ios"
spec="~4.4.0"/>

Note : ^ replaced by ~ for version 4.4.0

Now you will be able to run your ionic project onto your Device without any Errors.



Related Topics



Leave a reply



Submit