Bitrise Build Issue Report template
Description of the issue
I tried use bitrise achieve Xcode13.2.1 iOS project.
And it failed with 「Run custom shell script ‘Run Script’」.
Which I have no custom shell script named 「Run Script」 in my project.
And same code build with Xcode13.1 works fine.
And same code we archive on our local machine works fine too(we don’t use monterey though).
▸ Running script '[CP]Copy GoogleServicePlist'
▸ Running script 'FirebaseCrashlytics Run Script'
▸ Copying /Users/[REDACTED]/Library/Developer/Xcode/DerivedData/recotori-ios-fhwhvplpnqyxhnccgcsgkmpbwwcz/Build/Intermediates.noindex/ArchiveIntermediates/recotori-ios-Staging/BuildProductsPath/Staging-iphoneos/recotori-iosNotificationService.appex
▸ Running script '[CP-User] FirebaseCrashlytics'
▸ Copying /Users/[REDACTED]/git/Carthage/Build/YPImagePicker.xcframework/ios-arm64_armv7/YPImagePicker.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/Swinject.xcframework/ios-arm64_armv7/Swinject.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/SwiftyUserDefaults.xcframework/ios-arm64_armv7/SwiftyUserDefaults.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/SwiftyBeaver.xcframework/ios-arm64_armv7/SwiftyBeaver.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/SwiftyAttributes.xcframework/ios-arm64_armv7/SwiftyAttributes.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/Stevia.xcframework/ios-arm64_armv7/Stevia.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/SnapKit.xcframework/ios-arm64_armv7/SnapKit.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/RealmSwift.xcframework/ios-arm64_armv7/RealmSwift.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/Realm.xcframework/ios-arm64_armv7/Realm.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/Reachability.xcframework/ios-arm64_armv7/Reachability.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/PryntTrimmerView.xcframework/ios-arm64_armv7/PryntTrimmerView.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/Parchment.xcframework/ios-arm64_armv7/Parchment.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/Lottie.xcframework/ios-arm64_armv7/Lottie.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/JWTDecode.xcframework/ios-arm64_armv7/JWTDecode.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/ImageViewer.xcframework/ios-arm64_armv7/ImageViewer.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/FlexiblePageControl.xcframework/ios-arm64_armv7/FlexiblePageControl.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/FBSDKLoginKit.xcframework/ios-arm64_armv7/FBSDKLoginKit.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/FBSDKCoreKit_Basics.xcframework/ios-arm64_armv7/FBSDKCoreKit_Basics.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/FBSDKCoreKit.xcframework/ios-arm64_armv7/FBSDKCoreKit.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/FBAEMKit.xcframework/ios-arm64_armv7/FBAEMKit.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/ExpandableCell.xcframework/ios-arm64_armv7/ExpandableCell.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/Cosmos.xcframework/ios-arm64_armv7/Cosmos.framework
▸ Copying /Users/[REDACTED]/git/Carthage/Build/CodableFirebase.xcframework/ios-arm64_armv7/CodableFirebase.framework
▸ Touching RECOTRIP.app (in target 'recotori-ios' from project 'recotori-ios')
Last lines of the Xcode's build log:
/Applications/Xcode-13.2.1.app/Contents/Developer/usr/bin/embeddedBinaryValidationUtility /Users/[REDACTED]/Library/Developer/Xcode/DerivedData/recotori-ios-fhwhvplpnqyxhnccgcsgkmpbwwcz/Build/Intermediates.noindex/ArchiveIntermediates/recotori-ios-Staging/InstallationBuildProductsLocation/Applications/RECOTRIP.app/PlugIns/recotori-iosNotificationService.appex -signing-cert 673E182F1983744C7DFC654CA61778C10F6F7805 -info-plist-path /Users/[REDACTED]/Library/Developer/Xcode/DerivedData/recotori-ios-fhwhvplpnqyxhnccgcsgkmpbwwcz/Build/Intermediates.noindex/ArchiveIntermediates/recotori-ios-Staging/InstallationBuildProductsLocation/Applications/RECOTRIP.app/Info.plist
RegisterExecutionPolicyException /Users/[REDACTED]/Library/Developer/Xcode/DerivedData/recotori-ios-fhwhvplpnqyxhnccgcsgkmpbwwcz/Build/Intermediates.noindex/ArchiveIntermediates/recotori-ios-Staging/InstallationBuildProductsLocation/Applications/RECOTRIP.app (in target 'recotori-ios' from project 'recotori-ios')
cd /Users/[REDACTED]/git
builtin-RegisterExecutionPolicyException /Users/[REDACTED]/Library/Developer/Xcode/DerivedData/recotori-ios-fhwhvplpnqyxhnccgcsgkmpbwwcz/Build/Intermediates.noindex/ArchiveIntermediates/recotori-ios-Staging/InstallationBuildProductsLocation/Applications/RECOTRIP.app
Validate /Users/[REDACTED]/Library/Developer/Xcode/DerivedData/recotori-ios-fhwhvplpnqyxhnccgcsgkmpbwwcz/Build/Intermediates.noindex/ArchiveIntermediates/recotori-ios-Staging/InstallationBuildProductsLocation/Applications/RECOTRIP.app (in target 'recotori-ios' from project 'recotori-ios')
cd /Users/[REDACTED]/git
builtin-validationUtility /Users/[REDACTED]/Library/Developer/Xcode/DerivedData/recotori-ios-fhwhvplpnqyxhnccgcsgkmpbwwcz/Build/Intermediates.noindex/ArchiveIntermediates/recotori-ios-Staging/InstallationBuildProductsLocation/Applications/RECOTRIP.app
Touch /Users/[REDACTED]/Library/Developer/Xcode/DerivedData/recotori-ios-fhwhvplpnqyxhnccgcsgkmpbwwcz/Build/Intermediates.noindex/ArchiveIntermediates/recotori-ios-Staging/InstallationBuildProductsLocation/Applications/RECOTRIP.app (in target 'recotori-ios' from project 'recotori-ios')
cd /Users/[REDACTED]/git
/usr/bin/touch -c /Users/[REDACTED]/Library/Developer/Xcode/DerivedData/recotori-ios-fhwhvplpnqyxhnccgcsgkmpbwwcz/Build/Intermediates.noindex/ArchiveIntermediates/recotori-ios-Staging/InstallationBuildProductsLocation/Applications/RECOTRIP.app
** ARCHIVE FAILED **
The following build commands failed:
Run custom shell script 'Run Script'
(1 failure)
You can find the last couple of lines of Xcode's build log above, but the full log will be also available in the raw-xcodebuild-output.log
The log file will be stored in $BITRISE_DEPLOY_DIR, and its full path will be available in the $BITRISE_XCODE_RAW_RESULT_TEXT_PATH environment variable.
Environment:
Where did the issue happen?
Bitrise with Xcode 13.2.x, on macOS 12 (Monterey) stack.
Which build Step causes the issue and which version of the step?
xcode-archive 4.2.x
Reproducibility
- Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
-
Does a rebuild without caches help? (You can remove the
Cache:Pull
andCache:Push
steps temporarily to not to use the cache, or you can delete all the caches on theSettings
tab of the app. : NO - Does the issue happen sporadically, or every time? :every time
- Does upgrading the build Step to the latest version help? : NO
- When did the issue start? : December 20, 2021
Local reproduction
_Can it be reproduced on your own Mac/PC by following our local debug guide? no
We try it on
Xcode: 13.2.1
Mac11.6(20G165)
which works fine