When I run:
ionic build ios
the archive succeeds but the export fails.
Here are the error messages:
error: exportArchive: Found no compatible export methods for: DVTFilePath:0x7f9d3dc41d20:‘/Users/PATH/platforms/ios/PROJECTNAME.xcarchive’
Error Domain=IDEFoundationErrorDomain Code=1 “Found no compatible export methods for: DVTFilePath:0x7f9d3dc41d20:‘/Users/PATH/platforms/ios/PROJECTNAME.xcarchive’” UserInfo={NSLocalizedDescription=Found no compatible export methods for: DVTFilePath:0x7f9d3dc41d20:‘/Users/PATH/platforms/ios/PROJECTNAME.xcarchive’}
Error: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,fasTask.xcarchive,-exportOptionsPlist,/Users/PATH/platforms/ios/exportOptions.plist,-exportPath,/Users/PATH/platforms/ios/build/device
I tried uninstalling Xcode and re-installing. The first build after re-installation gives me a successful build. Any builds after the first build give me the same error message as before.
Also if I run:
npm uninstall -g ionic cordova
and delete everything in the platform folder, then run:
install -g ionic cordova
then the first build succeeds but any build after it fails.
Running:
ionic serve
works fine everytime.
Details:
- Xcode 7.3.1
- ionic 2.1.14
- cordova 6.4.0
- cordova-ios 4.3.1
- ios-deploy 1.9.0
Plugins
- cordova-camera-plugin (i tried disabling, same error)
Thanks!