In the General assembly settings section of the Jenkins Xcode 2.0.0 plugin, I did not check the box next to " Create archive? "but when I run the build task, it always takes up" archive: YES . "
Log in as shown below: -
Go to the call xcodebuild: target: SDKIntegrationProj, sdk: iphoneos10.3, project: SDKIntegrationProj.xcodeproj, configuration: Release, clean: NO, archive: YES, symRoot: DEFAULT, buildDir: DEFAULT, developmentTeamID: <## #### ##>
In this regard, this leads to an error, as shown below: -
xcodebuild: error: a flag flag is required when -archivePath is specified, but not -exportArchive. Build step "Xcode" marked as failure
I tried to check the box next to "Create archive"? field
, and then cancel its check and restart. It still causes the same error.
Sagar source
share