I have a project which is being developed with other developer. A couple of days ago, after git pull, make some changes and I typed ‘ionic build ios’, as many times before.
And I get error ** ARCHIVE FAILED **. (Android works)
What happened is not clear. But I found that this happens with new projects too.
For example, create new project:
‘ionic start testState blank’
‘ionic build ios’
** BUILD SUCCEEDED **
But, if you did
‘ionic state reset’ or ‘ionic state clear’ and try build
you get something like this:
Error: Source path does not exist: resources/ios/icon/icon-40@3x.png
'ionic resources'
and again
'ionic build ios'
and now you get:
** ARCHIVE FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/Trazius/WebstormProjects/testState/platforms/ios/cordova/build-debug.xcconfig,-workspace,testState.xcworkspace,-scheme,testState,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,testState.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/Trazius/WebstormProjects/testState/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/Trazius/WebstormProjects/testState/platforms/ios/build/sharedpch
Sometimes, if you make some changes in project, you can get:
** ARCHIVE SUCCEEDED **
Exported testState App.xcarchive to: /Users/Trazius/WebstormProjects/testState/platforms/ios/build/device
** EXPORT SUCCEEDED **
I didn’t see this trouble earlier, how I can return normal build from project?