When I run the gym command I get this weird error.
[16:20:23]: ? Could not find rake-13.0.3 in any of the sources
[16:20:23]: ? Run `bundle install` to install missing gems.
Here is the full log:
[16:20:09]: Setting Provisioning Profile type to 'ad-hoc'
[16:20:09]: -----------------
[16:20:09]: --- Step: gym ---
[16:20:09]: -----------------
[16:20:10]: Resolving Swift Package Manager dependencies...
[16:20:10]: $ xcodebuild -resolvePackageDependencies -workspace Runner.xcworkspace -scheme prod
[16:20:11]: ? Command line invocation:
[16:20:11]: ? /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace Runner.xcworkspace -scheme prod
[16:20:14]: ? resolved source packages:
[16:20:14]: $ xcodebuild -showBuildSettings -workspace Runner.xcworkspace -scheme prod
[16:20:17]: Command timed out after 3 seconds on try 1 of 4, trying again with a 6 second timeout...
[16:20:22]: Detected provisioning profile mapping: {:"com.example.app"=>"match AdHoc com.example.app", :"com.example.app.dev"=>"match AdHoc com.example.app.dev", :"com.example.app.red"=>"match AdHoc com.example.app.red"}
+-----------------------------------------------------------------+------------------------------------------------------------+
| Summary for gym 2.172.0 |
+-----------------------------------------------------------------+------------------------------------------------------------+
| workspace | Runner.xcworkspace |
| scheme | prod |
| output_directory | ../build/ios/iphoneos |
| output_name | Runner_adhoc_prod |
| export_method | ad-hoc |
| export_options.provisioningProfiles.com.example.app | match AdHoc com.example.app |
| export_options.provisioningProfiles.com.example.app.dev | match AdHoc com.example.app.dev |
| export_options.provisioningProfiles.com.example.app.red | match AdHoc com.example.app.red |
| destination | generic/platform=iOS |
| build_path | /Users/long1eu/Library/Developer/Xcode/Archives/2021-01-28 |
| clean | false |
| silent | false |
| skip_package_ipa | false |
| skip_package_pkg | false |
| result_bundle | false |
| buildlog_path | ~/Library/Logs/gym |
| skip_profile_detection | false |
| skip_package_dependencies_resolution | false |
| disable_package_automatic_updates | false |
| use_system_scm | false |
| xcode_path | /Applications/Xcode.app |
+-----------------------------------------------------------------+------------------------------------------------------------+
[16:20:22]: $ set -o pipefail && xcodebuild -workspace Runner.xcworkspace -scheme prod -destination 'generic/platform=iOS' -archivePath /Users/long1eu/Library/Developer/Xcode/Archives/2021-01-28/Runner_adhoc_prod 2021-01-28 16.20.22.xcarchive archive | tee /Users/long1eu/Library/Logs/gym/Runner_prod-prod.log | xcpretty
[16:20:23]: ? Could not find rake-13.0.3 in any of the sources
[16:20:23]: ? Run `bundle install` to install missing gems.
[16:38:06]: Exit status: 7
+---------------+-------------------------+
| Build environment |
+---------------+-------------------------+
| xcode_path | /Applications/Xcode.app |
| gym_version | 2.172.0 |
| export_method | ad-hoc |
| sdk | iPhoneOS14.4.sdk |
+---------------+-------------------------+
[16:38:06]: ? Command line invocation:
[16:38:06]: ?
[16:38:06]:
[16:38:06]: ?? Check out the few lines of raw `xcodebuild` output above for potential hints on how to solve this error
[16:38:06]: ?? For the complete and more detailed error log, check the full log at:
[16:38:06]: ?? /Users/long1eu/Library/Logs/gym/Runner_prod-prod.log
[16:38:06]:
[16:38:06]: Looks like fastlane ran into a build/archive error with your project
[16:38:06]: It's hard to tell what's causing the error, so we wrote some guides on how
[16:38:06]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[16:38:06]: Before submitting an issue on GitHub, please follow the guide above and make
[16:38:06]: sure your project is set up correctly.
[16:38:06]: fastlane uses `xcodebuild` commands to generate your binary, you can see the
[16:38:06]: the full commands printed out in yellow in the above log.
[16:38:06]: Make sure to inspect the output above, as usually you'll find more error information there
fastlane env
?? fastlane environment ??
Stack
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…