Comments (10)
First of all, you are comparing 2 different build environments.
On your machine, the setup_ci
action isn't ran. Fastlane will use the default login.keychain
which is unlocked with your are headful (logged in through a GUI).
On CI, the setup_ci
action is ran and will set a different keychain, fastlane_tmp_keychain
. On your CI, you might be headless.
Start by collecting the output of the security find-identity -v -p codesigning fastlane_tmp_keychain
command to ensure the keychain is properly populated in CI. Also run security list-keychains
to check which keychains are searched for.
Also please add more output and not just the last lines. That way we can exactly see which lanes/actions get executed and where it fails.
from fastlane.
here is fastlane env
<details><summary>✅ fastlane environment ✅</summary>
### Stack
| Key | Value |
| --------------------------- | --------------------------------------------------------- |
| OS | 14.3.1 |
| Ruby | 3.3.0 |
| Bundler? | false |
| Git | git version 2.39.3 (Apple Git-145) |
| Installation Source | /usr/local/Cellar/fastlane/2.219.0_2/libexec/bin/fastlane |
| Host | macOS 14.3.1 (23D60) |
| Ruby Lib Dir | /usr/local/Cellar/ruby/3.3.0/lib |
| OpenSSL Version | OpenSSL 3.2.0 23 Nov 2023 |
| Is contained | false |
| Is homebrew | true |
| Is installed via Fabric.app | false |
| Xcode Path | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version | 15.2 |
| Swift Version | 5.9.2 |
### System Locale
| Variable | Value | |
| -------- | ----------- | - |
| LANG | en_US.UTF-8 | ✅ |
| LC_ALL | | |
| LANGUAGE | | |
### fastlane files:
<details><summary>`./Fastfile`</summary>
```ruby
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
xcversion(version: "15.2")
default_platform(:ios)
platform :ios do
before_all do
Dotenv.load ".env"
end
desc "Get certificates"
lane :certificates do
sync_code_signing(
type: "development",
app_identifier: ENV["APP_ID"],
force_for_new_devices: true,
readonly: true
)
# You can repeate the sync_code_signing with other types of certificates such as appstore and adhoc
sync_code_signing(
type: "adhoc",
app_identifier: ENV["APP_ID"],
readonly: true
)
end
desc "Generate new certificates"
lane :generate_new_certificates do
sync_code_signing(
type: "development",
app_identifier: ENV["APP_ID"],
force_for_new_devices: true,
readonly: false
)
# You can repeate the sync_code_signing with other types of certificates such as appstore and adhoc
end
desc "Description of what the lane does"
lane :testandbuild do
setup_ci
# create_keychain(
# name: "login_keychain",
# password: "12345678",
# default_keychain: true,
# unlock: true,
# timeout: 3600,
# lock_when_sleeps: false
# )
# disable_automatic_code_signing(
# team_id: "",
# profile_name: "",
# code_sign_identity: ''
# )
# manual code signing
update_code_signing_settings(
use_automatic_signing: false,
path: "./nativeIntegration.xcodeproj"
)
match(
type: "adhoc",
readonly: is_ci,
git_basic_authorization: ENV["MATCH_GIT_BASIC_AUTHORIZATION"],
app_identifier: ENV["APP_ID"],
generate_apple_certs: false,
skip_certificate_matching: 'true'
)
gym(
export_method: "ad-hoc",
scheme: "nativeIntegration",
xcargs: "-allowProvisioningUpdates",
codesigning_identity: "Apple Distribution: LayMui Toh",
export_options: {
signingStyle: "manual",
provisioningProfiles: {
"com.xxx.usermanagement.testapp" => "The name of the provisioning profile",
}
}
)
end
end
`./Appfile`
app_identifier ENV["APP_ID"]
apple_id ENV["APPLE_ID"] # Apple Developer Account
team_id ENV["TEAM_ID"] # Developer Portal Team ID
itc_team_id ENV["TEAM_ID"] # App Store Connect Team ID
# For more information about the Appfile, see:
# https://docs.fastlane.tools/advanced/#appfile
fastlane gems
Gem | Version | Update-Status |
---|---|---|
fastlane | 2.219.0 | ✅ Up-To-Date |
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
Gem | Version |
---|---|
error_highlight | 0.6.0 |
did_you_mean | 1.6.3 |
syntax_suggest | 2.0.0 |
public_suffix | 5.0.4 |
addressable | 2.8.6 |
artifactory | 3.0.15 |
jmespath | 1.6.2 |
aws-partitions | 1.877.0 |
aws-eventstream | 1.3.0 |
aws-sigv4 | 1.8.0 |
aws-sdk-core | 3.190.1 |
aws-sdk-kms | 1.76.0 |
aws-sdk-s3 | 1.142.0 |
babosa | 1.0.4 |
bundler | 2.5.4 |
rexml | 3.2.6 |
CFPropertyList | 3.0.6 |
colored | 1.2 |
highline | 2.0.3 |
commander | 4.6.0 |
dotenv | 2.8.1 |
emoji_regex | 3.2.3 |
excon | 0.109.0 |
faraday-em_http | 1.0.0 |
faraday-em_synchrony | 1.0.0 |
faraday-excon | 1.1.0 |
faraday-httpclient | 1.0.1 |
multipart-post | 2.3.0 |
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.3 |
faraday_middleware | 1.2.0 |
domain_name | 0.6.20240107 |
http-cookie | 1.0.5 |
faraday-cookie_jar | 0.0.7 |
fastimage | 2.3.0 |
gh_inspector | 1.1.3 |
uber | 0.1.0 |
declarative | 0.0.20 |
trailblazer-option | 0.1.2 |
representable | 3.2.0 |
retriable | 3.1.2 |
mini_mime | 1.1.5 |
jwt | 2.7.1 |
multi_json | 1.15.0 |
os | 1.1.4 |
signet | 0.18.0 |
googleauth | 1.8.1 |
httpclient | 2.8.3 |
webrick | 1.8.1 |
google-apis-core | 0.11.2 |
google-apis-androidpublisher_v3 | 0.54.0 |
google-apis-playcustomapp_v1 | 0.13.0 |
google-cloud-env | 1.6.0 |
google-cloud-errors | 1.3.1 |
google-cloud-core | 1.6.1 |
google-apis-iamcredentials_v1 | 0.17.0 |
google-apis-storage_v1 | 0.31.0 |
rake | 13.1.0 |
digest-crc | 0.6.5 |
google-cloud-storage | 1.47.0 |
json | 2.7.1 |
mini_magick | 4.12.0 |
naturally | 2.2.1 |
optparse | 0.4.0 |
plist | 3.7.1 |
rubyzip | 2.3.2 |
security | 0.1.3 |
simctl | 1.6.10 |
terminal-notifier | 2.0.0 |
unicode-display_width | 2.5.0 |
terminal-table | 3.0.2 |
tty-screen | 0.8.2 |
tty-cursor | 0.7.1 |
tty-spinner | 0.9.3 |
word_wrap | 1.0.0 |
atomos | 0.1.3 |
claide | 1.1.0 |
colored2 | 3.1.2 |
nanaimo | 0.3.0 |
xcodeproj | 1.23.0 |
rouge | 2.0.7 |
xcpretty | 0.3.0 |
xcpretty-travis-formatter | 1.0.1 |
set | 1.1.0 |
forwardable | 1.3.3 |
logger | 1.6.0 |
pathname | 0.3.0 |
shellwords | 0.2.0 |
cgi | 0.4.1 |
date | 3.3.4 |
timeout | 0.4.1 |
securerandom | 0.3.1 |
uri | 0.13.0 |
openssl | 3.2.0 |
digest | 3.1.1 |
ipaddr | 1.2.6 |
resolv | 0.3.0 |
time | 0.3.0 |
stringio | 3.1.0 |
open-uri | 0.4.1 |
mutex_m | 0.2.0 |
net-http | 0.4.0 |
net-protocol | 0.2.2 |
ostruct | 0.6.0 |
english | 0.8.0 |
erb | 4.0.3 |
abbrev | 0.1.2 |
tempfile | 0.2.1 |
delegate | 0.3.1 |
fileutils | 1.7.2 |
tmpdir | 0.2.0 |
base64 | 0.2.0 |
singleton | 0.2.0 |
open3 | 0.2.1 |
nkf | 0.1.3 |
prettyprint | 0.2.0 |
pp | 0.5.0 |
find | 0.2.0 |
yaml | 0.3.0 |
psych | 5.1.2 |
generated on: 2024-02-29
```from fastlane.
@lacostej lacostej I am able to build using the fastlane testandbuild in my local mac machine
but on the github actions CI, the gym failed
with this error
[06:36:04]: $ set -o pipefail && xcodebuild -workspace ./nativeIntegration.xcworkspace -scheme nativeIntegration -destination 'generic/platform=iOS' -archivePath /Users/runner/Library/Developer/Xcode/Archives/2024-02-28/nativeIntegration\ 2024-02-28\ 06.36.04.xcarchive -allowProvisioningUpdates archive CODE_SIGN_IDENTITY=Apple\ Distribution:\ LayMui\ Toh | tee /Users/runner/Library/Logs/gym/nativeIntegration-nativeIntegration.log | xcbeautify
[06:36:12]: ▸ ** ARCHIVE FAILED **
[06:36:12]: ▸ The following build commands failed:
[06:36:12]: ▸ PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/runner/Library/Developer/Xcode/DerivedData/nativeIntegration-alcotxzqppddyafffyjrvyvguhfw/Build/Intermediates.noindex/ArchiveIntermediates/nativeIntegration/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/React-rncore.build/Script-46EB2E000221E0.sh (in target 'React-rncore' from project 'Pods')
from fastlane.
[07:42:45]: ▸ ** ARCHIVE FAILED **
[07:42:45]: ▸ The following build commands failed:
[07:42:45]: ▸ PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/runner/Library/Developer/Xcode/DerivedData/nativeIntegration-alcotxzqppddyafffyjrvyvguhfw/Build/Intermediates.noindex/ArchiveIntermediates/nativeIntegration/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/React-rncore.build/Script-46EB2E000221E0.sh (in target 'React-rncore' from project 'Pods')
[07:42:45]: ▸ (1 failure)
[07:42:45]: ▸ [React-rncore] Running script [CP-User] Generate Specs
[07:42:46]: ▸ [OpenSSL-Universal] Running script [CP] Copy XCFrameworks
[07:42:46]: ▸ [Flipper-Glog] Running script [CP] Copy XCFrameworks
[07:42:46]: ▸ ::warning ::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 'nativeIntegration' from project 'nativeIntegration')
[07:42:46]: ▸ ::warning ::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 'nativeIntegration' from project 'nativeIntegration')
[07:42:46]: ▸ ::warning ::Run script build phase '[CP] Embed Pods Frameworks' 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 'nativeIntegration' from project 'nativeIntegration')
[07:42:46]: ▸ ::warning ::Run script build phase '[CP-User] [RNFB] Core Configuration' 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 'nativeIntegration' from project 'nativeIntegration')
[07:42:46]: ▸ ::warning file=/Users/runner/work/sh-usermanagement-native-app/sh-usermanagement-native-app/ios/Pods/Pods.xcodeproj::The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 17.2.99. (in target 'PromisesObjC-FBLPromises_Privacy' from project 'Pods')
** ARCHIVE FAILED **
The following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/runner/Library/Developer/Xcode/DerivedData/nativeIntegration-alcotxzqppddyafffyjrvyvguhfw/Build/Intermediates.noindex/ArchiveIntermediates/nativeIntegration/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/React-rncore.build/Script-46EB2E000221E0.sh (in target 'React-rncore' from project 'Pods')
(1 failure)
[React-rncore] Running script [CP-User] Generate Specs
[OpenSSL-Universal] Running script [CP] Copy XCFrameworks
[Flipper-Glog] Running script [CP] Copy XCFrameworks
Warning: 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 'nativeIntegration' from project 'nativeIntegration')
Warning: 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 'nativeIntegration' from project 'nativeIntegration')
Warning: Run script build phase '[CP] Embed Pods Frameworks' 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 'nativeIntegration' from project 'nativeIntegration')
Warning: Run script build phase '[CP-User] [RNFB] Core Configuration' 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 'nativeIntegration' from project 'nativeIntegration')
Warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 17.2.99. (in target 'PromisesObjC-FBLPromises_Privacy' from project 'Pods')
[07:42:46]: Exit status: 65
[07:42:46]:
[07:42:46]: Maybe the error shown is caused by using the wrong version of Xcode
[07:42:46]: Found multiple versions of Xcode in '/Applications/'
[07:42:46]: Make sure you selected the right version for your project
[07:42:46]: This build process was executed using '/Applications/Xcode_15.2.app'
[07:42:46]: If you want to update your Xcode path, either
[07:42:46]:
[07:42:46]: - Specify the Xcode version in your Fastfile
[07:42:46]: ▸ xcversion(version: "8.1") # Selects Xcode 8.1.0
[07:42:46]:
[07:42:46]: - Specify an absolute path to your Xcode installation in your Fastfile
[07:42:46]: ▸ xcode_select "/Applications/Xcode8.app"
[07:42:46]:
[07:42:46]: - Manually update the path using
[07:42:46]: ▸ sudo xcode-select -s /Applications/Xcode.app
[07:42:46]:
+----------------------------------------------+
| Build environment |
+---------------+------------------------------+
| xcode_path | /Applications/Xcode_15.2.app |
| gym_version | 2.219.0 |
| export_method | ad-hoc |
| sdk | iPhoneOS17.2.sdk |
+---------------+------------------------------+
[07:42:46]: ▸ warning: 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 'nativeIntegration' from project 'nativeIntegration')
[07:42:46]: ▸ warning: 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 'nativeIntegration' from project 'nativeIntegration')
[07:42:46]: ▸ warning: Run script build phase '[CP] Embed Pods Frameworks' 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 'nativeIntegration' from project 'nativeIntegration')
[07:42:46]: ▸ warning: Run script build phase '[CP-User] [RNFB] Core Configuration' 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 'nativeIntegration' from project 'nativeIntegration')
[07:42:46]: ▸ /Users/runner/work/sh-usermanagement-native-app/sh-usermanagement-native-app/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 17.2.99. (in target 'PromisesObjC-FBLPromises_Privacy' from project 'Pods')
[07:42:46]:
[07:42:46]: ⬆️ Check out the few lines of raw `xcodebuild` output above for potential hints on how to solve this error
[07:42:46]: 📋 For the complete and more detailed error log, check the full log at:
[07:42:46]: 📋 /Users/runner/Library/Logs/gym/nativeIntegration-nativeIntegration.log
[07:42:46]:
[07:42:46]: Looks like fastlane ran into a build/archive error with your project
[07:42:46]: It's hard to tell what's causing the error, so we wrote some guides on how
[07:42:46]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[07:42:46]: Before submitting an issue on GitHub, please follow the guide above and make
[07:42:46]: sure your project is set up correctly.
[07:42:46]: fastlane uses `xcodebuild` commands to generate your binary, you can see the
[07:42:46]: the full commands printed out in yellow in the above log.
[07:42:46]: Make sure to inspect the output above, as usually you'll find more error information there
[07:42:46]:
from fastlane.
running in the GH actions CI:
Run security find-identity -v -p codesigning fastlane_tmp_keychain
0 valid identities found
from fastlane.
i am able to build locally with fastlane testandbuild
but it break on the GH actions CI. what are the possible cause?
in Nov 2023, it was running fine but out of the sudden,the fastlane build will fail.
from fastlane.
here is my podfile
use_modular_headers!
# Resolve react_native_pods.rb with node to allow for hoisting
require Pod::Executable.execute_command('node', ['-p',
'require.resolve(
"react-native/scripts/react_native_pods.rb",
{paths: [process.argv[1]]},
)', __dir__]).strip
platform :ios, min_ios_version_supported
prepare_react_native_project!
# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
#
# To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
# ```js
# module.exports = {
# dependencies: {
# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
# ```
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
use_frameworks! :linkage => linkage.to_sym
# use_frameworks! :linkage => :static
end
target 'nativeIntegration' do
config = use_native_modules!
# Flags change depending on the env values.
flags = get_default_flags()
use_react_native!(
:path => config[:reactNativePath],
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
:flipper_configuration => flipper_config,
:hermes_enabled => false,
# :hermes_enabled => flags[:hermes_enabled],
:fabric_enabled => flags[:fabric_enabled],
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
# pod 'Firebase', :modular_headers => true
# pod 'FirebaseCore', :modular_headers => true
# pod 'FirebaseCoreInternal', :modular_headers => true
# pod 'GoogleUtilities', :modular_headers => true
# pod 'GoogleUtilities/Environment', :modular_headers => true
target 'nativeIntegrationTests' do
inherit! :complete
# Pods for testing
end
post_install do |installer|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false
)
end
end
package.json is using
"react-native": "0.73.5",
from fastlane.
the fastlane CI log message:
the following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/runner/Library/Developer/Xcode/DerivedData/nativeIntegration-alcotxzqppddyafffyjrvyvguhfw/Build/Intermediates.noindex/ArchiveIntermediates/nativeIntegration/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/React-rncore.build/Script-46EB2E000206D0.sh (in target 'React-rncore' from project 'Pods')
(1 failure)
[React-rncore] Running script [CP-User] Generate Specs
[OpenSSL-Universal] Running script [CP] Copy XCFrameworks
[Flipper-Glog] Running script [CP] Copy XCFrameworks
any update on this issue?
from fastlane.
locally, I was able to compile without any failure
[14:30:50]: $ set -o pipefail && xcodebuild -workspace ./nativeIntegration.xcworkspace -scheme nativeIntegration -destination 'generic/platform=iOS' -archivePath /Users/mui/Library/Developer/Xcode/Archives/2024-03-02/nativeIntegration\ 2024-03-02\ 14.30.50.xcarchive -allowProvisioningUpdates archive CODE_SIGN_IDENTITY=Apple\ Distribution:\ LayMui\ Toh | tee /Users/mui/Library/Logs/gym/nativeIntegration-nativeIntegration.log | xcpretty
[14:31:05]: ▸ Running script '[CP-User] Generate Specs'
[14:31:11]: ▸ Running script '[CP] Copy XCFrameworks'
[14:31:11]: ▸ Running script '[CP] Copy XCFrameworks'
[14:31:11]: ▸ Running script '[CP] Copy XCFrameworks'
[14:31:11]: ▸ Compiling vlog_is_on.cc
[14:31:11]: ▸ Compiling utilities.cc
[14:31:11]: ▸ ⚠️ /Users/mui/dev/sh-usermanagement-native-app/ios/Pods/glog/src/utilities.cc:254:17: 'syscall' is deprecated: first deprecated in iOS 10.0 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
[14:31:11]: ▸ pid_t tid = syscall(__NR_gettid);
[14:31:11]: ▸ ^
[14:31:11]: ▸ Compiling symbolize.cc
[14:31:11]: ▸ Compiling signalhandler.cc
[14:31:12]: ▸ Compiling raw_logging.cc
[
from fastlane.
on the github actions CI,
[06:18:18]: $ set -o pipefail && xcodebuild -workspace ./nativeIntegration.xcworkspace -scheme nativeIntegration -destination 'generic/platform=iOS' -archivePath /Users/runner/Library/Developer/Xcode/Archives/2024-03-02/nativeIntegration\ 2024-03-02\ 06.18.18.xcarchive -allowProvisioningUpdates archive CODE_SIGN_IDENTITY=Apple\ Distribution:\ LayMui\ Toh | tee /Users/runner/Library/Logs/gym/nativeIntegration-nativeIntegration.log | xcbeautify
[06:18:26]: ▸ [React-rncore] Running script [CP-User] Generate Specs
[06:18:26]: ▸ ** ARCHIVE FAILED **
[06:18:26]: ▸ The following build commands failed:
[06:18:26]: ▸ PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/runner/Library/Developer/Xcode/DerivedData/nativeIntegration-alcotxzqppddyafffyjrvyvguhfw/Build/Intermediates.noindex/ArchiveIntermediates/nativeIntegration/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/React-rncore.build/Script-46EB2E000206D0.sh (in target 'React-rncore' from project 'Pods')
[06:18:26]: ▸ (1 failure)
[06:18:27]: ▸ [OpenSSL-Universal] Running script [CP] Copy XCFrameworks
[06:18:27]: ▸ ::warning file=/Users/runner/work/sh-usermanagement-native-app/sh-usermanagement-native-app/ios/Pods/Pods.xcodeproj::The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 17.2.99. (in target 'PromisesObjC-FBLPromises_Privacy' from project 'Pods')
[06:18:27]: ▸ /Users/runner/work/sh-usermanagement-native-app/sh-usermanagement-native-app/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 17.2.99. (in target 'GoogleUtilities-GoogleUtilities_Privacy' from project 'Pods')
[06:18:27]: ▸ warning: 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 'nativeIntegration' from project 'nativeIntegration')
[06:18:27]: ▸ ::warning ::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 'nativeIntegration' from project 'nativeIntegration')
[06:18:27]: ▸ ::warning ::Run script build phase '[CP] Embed Pods Frameworks' 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 'nativeIntegration' from project 'nativeIntegration')
[06:18:27]: ▸ ::warning ::Run script build phase '[CP-User] [RNFB] Core Configuration' 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 'nativeIntegration' from project 'nativeIntegration')
[!] Error building the application - see the log above
[React-rncore] Running script [CP-User] Generate Specs
** ARCHIVE FAILED **
The following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/runner/Library/Developer/Xcode/DerivedData/nativeIntegration-alcotxzqppddyafffyjrvyvguhfw/Build/Intermediates.noindex/ArchiveIntermediates/nativeIntegration/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/React-rncore.build/Script-46EB2E000206D0.sh (in target 'React-rncore' from project 'Pods')
(1 failure)
[OpenSSL-Universal] Running script [CP] Copy XCFrameworks
Warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 17.2.99. (in target 'PromisesObjC-FBLPromises_Privacy' from project 'Pods')
/Users/runner/work/sh-usermanagement-native-app/sh-usermanagement-native-app/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 17.2.99. (in target 'GoogleUtilities-GoogleUtilities_Privacy' from project 'Pods')
warning: 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 'nativeIntegration' from project 'nativeIntegration')
Warning: 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 'nativeIntegration' from project 'nativeIntegration')
Warning: Run script build phase '[CP] Embed Pods Frameworks' 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 'nativeIntegration' from project 'nativeIntegration')
Warning: Run script build phase '[CP-User] [RNFB] Core Configuration' 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 'nativeIntegration' from project 'nativeIntegration')
[06:18:27]: Exit status: 65
[06:18:27]:
from fastlane.
Related Issues (20)
- fastlane sigh download_all and "Error parsing provisioning profile at path..."
- fastlane match HOT 4
- bundler: command not found: fastlane
- Individual API Key not supported HOT 3
- fastlane deliver init is not working in CLI
- JEG2/highline should be updated to avoid warning of abbrev missing in standard lib for ruby 3.3.0
- How to get raw exit code from Fastlane HOT 1
- Match import to s3 Crash on encrypting. HOT 2
- Provisioning profile expiration comparison compares Time and DateTime
- AvailableTerritories is deprecated and fastlane is not upgraded to new api endpoints HOT 5
- Match managing provisioning profiles for DriverKit
- curb-1.0.0/lib/curl/easy.rb - Failed to read/open file
- `match` behaves differently in v2.220.0: `wrong final block length` HOT 12
- Can't upload build to Test Flight; [!] undefined method `refresh!' HOT 2
- A parameter has an invalid value - 'prices' is not a valid relationship name HOT 9
- I run the command 'fastlane match development'. and i got the following error: Looking for related GitHub issues on fastlane/fastlane... Found no similar issues. To create a new issue, please visit: https://github.com/fastlane/fastlane/issues/new Run fastlane env to append the fastlane environment to your issue [!] The request could not be completed because: This request is forbidden for security reasons - You currently don't have access to this membership resource. Contact your team's Account Holder, or an Admin.
- Build_for_testing fails sporadically with error 'Could not find or use auto-linked framework' HOT 2
- Can fastlane support filling in China’s ICP registration number?
- [match] provisioning profile generated via match blocks release installation on TestFlight (or on device) HOT 1
- if and switch expressions Swift HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane.