Closed DiegoRenau closed 2 years ago
It seems like you have not included the output of fastlane env
To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env
:+1:
@DiegoRenau, I'm not using Fastlane, but your stack trace came up when I was looking for a similar issue I was hitting with validation and distribution. In my case, it got fixed by upgrading to XCode Version 13.2.1 (13C100), so give that a try.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest fastlane
version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:
Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with fastlane
and feel free to tackle this issue yourself :muscle:
This issue will be auto-closed if there is no reply within 1 month.
@DiegoRenau, I'm not using Fastlane, but your stack trace came up when I was looking for a similar issue I was hitting with validation and distribution. In my case, it got fixed by upgrading to XCode Version 13.2.1 (13C100), so give that a try.
Yes SR, it was fixed with the new Xcode version (Version 13.2.1 ). THANKS.
Issue Description
Using the same script, in a MacBook with Xcode 12.5 and in circle ci with 12.5 works fine but it doesn't work locally Xcode 13.1 M1.
Command executed
bundle exec fastlane gym
Complete output when running fastlane, including the stack trace and command used
After the ▸ Archive Succeeded 18:00:49: ▸ Archive Succeeded 18:00:49: Generated plist file with the following values: 18:00:49: ▸ ----------------------------------------- 18:00:49: ▸ { 18:00:49: ▸ "provisioningProfiles": { 18:00:49: ▸ "com.tarmac.northshore": "match AppStore com.tarmac.northshore",
18:00:49: ▸ }, 18:00:49: ▸ "method": "app-store",
18:00:49: ▸ } 18:00:49: ▸ ----------------------------------------- 18:00:49: $ /usr/bin/xcrun /Users/diego/.gem/gems/fastlane-2.198.1/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/6w/v6s0j5zs1q702gw845ypgr3h0000gn/T/gym_config20211208-66446-1mguys2.plist' -archivePath /Users/diego/Library/Developer/Xcode/Archives/2021-12-08/NorthShore_DEV_Env\ 2021-12-08\ 18.00.22.xcarchive -exportPath '/var/folders/6w/v6s0j5zs1q702gw845ypgr3h0000gn/T/gym_output20211208-66446-1gtjfah'
/Users/diego/.gem/gems/fastlane-2.198.1/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh: line 61: 66593 Abort trap: 6 xcodebuild "$@" [18:00:53]: Exit status: 134
+---------------+-------------------------+ | Build environment | +---------------+-------------------------+ | xcode_path | /Applications/Xcode.app | | gym_version | 2.198.1 | | export_method | app-store | | sdk | iPhoneOS15.0.sdk | +---------------+-------------------------+
[18:00:53]: ▸ Touch /Users/diego/Library/Developer/Xcode/DerivedData/NorthShore-gupwxsvgrdrjxjfcmodxefnznbek/Build/Intermediates.noindex/ArchiveIntermediates/NorthShore_DEV_Env/InstallationBuildProductsLocation/Applications/NorthShore_DEV_Env.app (in target 'NorthShore_DEV_Env' from project 'NorthShore') [18:00:53]: ▸ cd /Users/diego/Documents/iOSProjects/Tarmac/northshore-ios [18:00:53]: ▸ /usr/bin/touch -c /Users/diego/Library/Developer/Xcode/DerivedData/NorthShore-gupwxsvgrdrjxjfcmodxefnznbek/Build/Intermediates.noindex/ArchiveIntermediates/NorthShore_DEV_Env/InstallationBuildProductsLocation/Applications/NorthShore_DEV_Env.app [18:00:53]: ▸ ARCHIVE SUCCEEDED [18:00:53]: [18:00:53]: ⬆️ Check out the few lines of raw
xcodebuild
output above for potential hints on how to solve this error [18:00:53]: 📋 For the complete and more detailed error log, check the full log at: [18:00:53]: 📋 /Users/diego/Library/Logs/gym/NorthShore_DEV_Env-NorthShore_DEV_Env.log [18:00:53]: [18:00:53]: Looks like fastlane ran into a build/archive error with your project [18:00:53]: It's hard to tell what's causing the error, so we wrote some guides on how [18:00:53]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/ [18:00:53]: Before submitting an issue on GitHub, please follow the guide above and make [18:00:53]: sure your project is set up correctly. [18:00:53]: fastlane usesxcodebuild
commands to generate your binary, you can see the [18:00:53]: the full commands printed out in yellow in the above log. [18:00:53]: Make sure to inspect the output above, as usually you'll find more error information there [18:00:53]:[!] Error packaging up the application
Environment
+---------------+-------------------------+ | Build environment | +---------------+-------------------------+ | xcode_path | /Applications/Xcode.app | | gym_version | 2.198.1 | | export_method | app-store | | sdk | iPhoneOS15.0.sdk | +---------------+-------------------------+