[FIX] Failing iOS build on fork PR (#2558)
* Fix fastlane build for a fork PR * Change the iOS fastlane command to build_fork
This commit is contained in:
parent
52cfe079e8
commit
b8474286a8
|
@ -347,7 +347,7 @@ jobs:
|
||||||
echo $APP_STORE_CONNECT_API_KEY | base64 --decode > ./fastlane/app_store_connect_api_key.p8
|
echo $APP_STORE_CONNECT_API_KEY | base64 --decode > ./fastlane/app_store_connect_api_key.p8
|
||||||
bundle exec fastlane ios release
|
bundle exec fastlane ios release
|
||||||
else
|
else
|
||||||
bundle exec fastlane ios build
|
bundle exec fastlane ios build_fork
|
||||||
fi
|
fi
|
||||||
working_directory: ios
|
working_directory: ios
|
||||||
|
|
||||||
|
|
|
@ -59,20 +59,9 @@ platform :ios do
|
||||||
gym(scheme: "RocketChatRN", workspace: "RocketChatRN.xcworkspace")
|
gym(scheme: "RocketChatRN", workspace: "RocketChatRN.xcworkspace")
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Build App for development"
|
desc "Build fork app"
|
||||||
lane :build do |options|
|
lane :build_fork do
|
||||||
xcodebuild(
|
gym(scheme: "RocketChatRN", workspace: "RocketChatRN.xcworkspace", skip_codesigning: true, skip_archive: true)
|
||||||
workspace: "RocketChatRN.xcworkspace",
|
|
||||||
scheme: "RocketChatRN",
|
|
||||||
configuration: "Debug",
|
|
||||||
clean: options[:clean],
|
|
||||||
build: true,
|
|
||||||
destination: "generic/platform=iOS",
|
|
||||||
build_settings: {
|
|
||||||
"CODE_SIGNING_REQUIRED" => "NO",
|
|
||||||
"CODE_SIGN_IDENTITY" => ""
|
|
||||||
}
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
after_all do |lane|
|
after_all do |lane|
|
||||||
|
|
Loading…
Reference in New Issue