fastlane: Still failing Ventura 13.0 and Xcode 14.1.0 Error 65 - Archive failed
New Issue Checklist
- Updated fastlane to the latest version
- I read the Contribution Guidelines
- I read docs.fastlane.tools
- I searched for existing GitHub issues
Issue Description
When running fastlane beta
, the following command in the pipeline fails:
set -o pipefail && xcodebuild -workspace Domus.xcworkspace -scheme Domus -destination 'generic/platform=iOS' -archivePath /Users/bortignon/Library/Developer/Xcode/Archives/2022-11-04/Domus\ 2022-11-04\ 20.15.12.xcarchive archive | tee /Users/bortignon/Library/Logs/gym/Domus-Domus.log | xcpretty
[20:15:21]: ▸ Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Domus' from project 'Domus')
[20:15:21]: ▸ Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Domus' from project 'Domus')
[20:15:21]: ▸ ** ARCHIVE FAILED **
Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Domus' from project 'Domus')
Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Domus' from project 'Domus')
** ARCHIVE FAILED **
[20:15:21]: Exit status: 65`
Environment
`### fastlane gems
Gem | Version | Update-Status |
---|---|---|
fastlane | 2.210.1 | ✅ Up-To-Date |
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
Gem | Version |
---|---|
error_highlight | 0.3.0 |
did_you_mean | 1.6.1 |
atomos | 0.1.3 |
rexml | 3.2.5 |
CFPropertyList | 3.0.5 |
claide | 1.1.0 |
colored2 | 3.1.2 |
nanaimo | 0.3.0 |
xcodeproj | 1.22.0 |
rouge | 2.0.7 |
xcpretty | 0.3.0 |
terminal-notifier | 2.0.0 |
unicode-display_width | 1.8.0 |
terminal-table | 1.8.0 |
plist | 3.6.0 |
public_suffix | 5.0.0 |
addressable | 2.8.1 |
multipart-post | 2.0.0 |
word_wrap | 1.0.0 |
optparse | 0.1.1 |
tty-screen | 0.8.1 |
tty-cursor | 0.7.1 |
tty-spinner | 0.9.3 |
artifactory | 3.0.15 |
babosa | 1.0.4 |
colored | 1.2 |
highline | 2.0.3 |
commander | 4.6.0 |
faraday-em_http | 1.0.0 |
faraday-em_synchrony | 1.0.0 |
faraday-excon | 1.1.0 |
faraday-httpclient | 1.0.1 |
faraday-multipart | 1.0.4 |
faraday-net_http | 1.0.1 |
faraday-net_http_persistent | 1.2.0 |
faraday-patron | 1.0.0 |
faraday-rack | 1.0.0 |
faraday-retry | 1.0.3 |
ruby2_keywords | 0.0.5 |
faraday | 1.10.2 |
unf_ext | 0.0.8.2 |
unf | 0.1.4 |
domain_name | 0.5.20190701 |
http-cookie | 1.0.5 |
faraday-cookie_jar | 0.0.7 |
faraday_middleware | 1.2.0 |
fastimage | 2.2.6 |
gh_inspector | 1.1.3 |
mini_magick | 4.11.0 |
naturally | 2.2.1 |
rubyzip | 2.3.2 |
security | 0.1.3 |
xcpretty-travis-formatter | 1.0.1 |
dotenv | 2.8.1 |
bundler | 2.3.24 |
simctl | 1.6.8 |
jwt | 2.5.0 |
emoji_regex | 3.2.3 |
set | 1.0.2 |
excon | 0.93.1 |
json | 2.6.2 |
webrick | 1.7.0 |
httpclient | 2.8.3 |
multi_json | 1.15.0 |
signet | 0.17.0 |
os | 1.1.4 |
memoist | 0.16.2 |
googleauth | 1.3.0 |
mini_mime | 1.1.2 |
retriable | 3.1.2 |
trailblazer-option | 0.1.2 |
declarative | 0.0.20 |
uber | 0.1.0 |
representable | 3.2.0 |
google-apis-core | 0.9.1 |
google-apis-playcustomapp_v1 | 0.12.0 |
google-apis-androidpublisher_v3 | 0.30.0 |
rake | 13.0.6 |
digest-crc | 0.6.4 |
google-apis-storage_v1 | 0.19.0 |
google-apis-iamcredentials_v1 | 0.16.0 |
google-cloud-errors | 1.3.0 |
google-cloud-env | 1.6.0 |
google-cloud-core | 1.6.0 |
google-cloud-storage | 1.44.0 |
aws-eventstream | 1.2.0 |
aws-sigv4 | 1.5.2 |
aws-partitions | 1.655.0 |
jmespath | 1.6.1 |
aws-sdk-core | 3.166.0 |
aws-sdk-kms | 1.59.0 |
aws-sdk-s3 | 1.117.1 |
forwardable | 1.3.2 |
logger | 1.5.0 |
pathname | 0.2.0 |
shellwords | 0.1.0 |
cgi | 0.3.1 |
date | 3.2.2 |
timeout | 0.2.0 |
stringio | 3.0.1 |
securerandom | 0.1.1 |
uri | 0.11.0 |
openssl | 3.0.0 |
digest | 3.1.0 |
io-nonblock | 0.1.0 |
ipaddr | 1.2.4 |
io-wait | 0.2.1 |
zlib | 2.1.1 |
resolv | 0.2.1 |
time | 0.2.0 |
open-uri | 0.2.0 |
mutex_m | 0.1.1 |
net-protocol | 0.1.2 |
net-http | 0.2.0 |
ostruct | 0.5.2 |
english | 0.7.1 |
erb | 2.2.3 |
strscan | 3.0.1 |
abbrev | 0.1.0 |
io-console | 0.5.11 |
tempfile | 0.1.2 |
delegate | 0.2.0 |
fileutils | 1.6.0 |
tmpdir | 0.1.2 |
base64 | 0.1.1 |
singleton | 0.1.1 |
open3 | 0.1.1 |
nkf | 0.1.1 |
prettyprint | 0.1.1 |
pp | 0.3.0 |
find | 0.1.1 |
yaml | 0.2.0 |
psych | 4.0.3 |
After reading some of the similar conversation here and here, I’ve adjusted my fastlane file as following:
xcversion(version: "14.1") # Selects Xcode 8.1.0
xcode_select "/Applications/Xcode.app"
default_platform(:ios)
platform :ios do
desc "Push a new beta build to TestFlight"
lane :beta do
increment_build_number(xcodeproj: "Domus.xcodeproj")
build_app(workspace: "Domus.xcworkspace", scheme: "Domus")
upload_to_testflight
end
end
and my Podfile with
post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["DEVELOPMENT_TEAM"] = "mydevteamID"
end
end
end
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 3
- Comments: 24
Seems to be a issue with Xcode 14, but I haven’t seen a solid resolution yet… #20701, #20788, #20789, #20800, #20804, #20810
Confirm, I got error 65 too. Update Fastfile in gym section by add
xcargs: "CODE_SIGN_STYLE=Manual DEVELOPMENT_TEAM='3Y2ZLWUQ3C'"
Add
To resolve the issue.
I’ve got the similar issue. fastlane version -
2.211.0
, When the fastlane tries to run -Touch /Users/xxx/Library/Developer/Xcode/DerivedData/xxx-ecnplltoycinrzfpvwyeyaqpcuzu/Build/Intermediates.noindex/ArchiveIntermediates/xxx/InstallationBuildProductsLocation/Applications/xxx.app
, it returns error. -Exit status: 65
I think I managed to find out what issue with my build was. Since I had one project passing and another failing, I compared both of them. Project that was failing managed to complete build phase after we removed Any SDK from code signing identity in project settings.