The Xcode project builds on commandline on my own machine. But not on CircleCI.
The error is (Full error details along with xcodebuild
command is at the end of this Topic.)
xcodebuild: error: Scheme MyApp is not currently configured for the archive action.
I do not have any duplicated Scheme in your project or workspace
Command and error details
xcodebuild -workspace MyApp.xcworkspace -scheme MyApp -sdk iphoneos -configuration “Ad Hoc Distribution” archive -archivePath ~/build/MyApp.xcarchive
User defaults from command line:
IDEArchivePathOverride = /Users/distiller/build/MyApp.xcarchive
Build settings from command line:
SDKROOT = iphoneos10.2
xcodebuild: error: Scheme MyApp is not currently configured for the archive action.