Hi There,
I am new to GitLab CI , I followed the docs to build and archive the iOS.
The build succeeds.
However the archiving phase fails :
** ARCHIVE FAILED **
241 The following build commands failed:242 CompileSwift normal armv7
243 CompileSwiftSources normal armv7 com.apple.xcode.tools.swift.compiler
244 CompileSwift normal arm64
245 CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
246 (4 failures)
=====
My .gitlab-ci.yml file is as follows :
stages: - build - archive variables: LC_ALL: "en_US.UTF-8" before_script: - pod install build_project: stage: build script: - xcodebuild clean -workspace xxx.xcworkspace -scheme xxx | xcpretty - xcodebuild test -workspace xxx.xcworkspace -scheme xxx -destination 'platform=iOS Simulator,name=iPhone 6s,OS=13.3' | xcpretty -s tags: - iosci archive_project: stage: archive script: - xcodebuild clean archive -archivePath build/xxx -scheme xxx - xcodebuild -exportArchive -exportFormat ipa -xxx "build/xxx.xcarchive" -exportPath "build/xxx.ipa" -exportProvisioningProfile "match AdHoc com.xxx.xxx" only: - development artifacts: paths: - build/xxx.ipa tags: - iosci