Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ios deploy #2320

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches: [develop, master]
pull_request:
branches: [develop, master]
# branches: [develop, master]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -231,8 +231,8 @@ jobs:

ios-deploy:
runs-on: macos-latest
needs: [test, eslint, typescript, prettier]
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
# needs: [test, eslint, typescript, prettier]
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down Expand Up @@ -268,6 +268,8 @@ jobs:
run: echo -e "machine github.com\n login $CI_USER_TOKEN" >> ~/.netrc
env:
CI_USER_TOKEN: ${{ secrets.CI_USER_TOKEN}}
- name: 🔒 Set correct permissions for .netrc
run: chmod 0600 ~/.netrc
- name: Import App Store Connect API Key
env:
APP_STORE_CONNECT_API_JSON_PAYLOAD: ${{ secrets.APP_STORE_CONNECT_API_JSON_PAYLOAD }}
Expand All @@ -290,7 +292,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: fastlane-gym-logs
path: "/Users/runner/Library/Logs/gym/MissionHub-MissionHub.log"
path: '/Users/runner/Library/Logs/gym/MissionHub-MissionHub.log'

android-deploy:
runs-on: ubuntu-latest
Expand Down
38 changes: 38 additions & 0 deletions ios/MissionHub.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@
00E356EB1AD99517003FC87E /* Frameworks */,
00E356EC1AD99517003FC87E /* Resources */,
9E6394B9FB77F7CDA33D4878 /* [CP] Copy Pods Resources */,
F0E70892C3340E66C8F84CA2 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand All @@ -277,6 +278,7 @@
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
4DE63ACA3C7416807AC35BCC /* [CP] Copy Pods Resources */,
9D32FA8BFA035EF7E6CB28AD /* [CP-User] [RNFB] Core Configuration */,
A73FBA226F1B46FD15C92E78 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -580,6 +582,42 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-MissionHub-MissionHubTests/Pods-MissionHub-MissionHubTests-resources.sh\"\n";
showEnvVarsInLog = 0;
};
A73FBA226F1B46FD15C92E78 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-MissionHub/Pods-MissionHub-frameworks.sh",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-MissionHub/Pods-MissionHub-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
F0E70892C3340E66C8F84CA2 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-MissionHub-MissionHubTests/Pods-MissionHub-MissionHubTests-frameworks.sh",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-MissionHub-MissionHubTests/Pods-MissionHub-MissionHubTests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down
6 changes: 5 additions & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ target 'MissionHub' do
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable these next few lines.
use_flipper!
use_flipper!({ 'Flipper-Folly' => '2.5.3', 'Flipper' => '0.87.0', 'Flipper-RSocket' => '1.3.1' })

post_install do |installer|
flipper_post_install(installer)
Expand All @@ -44,6 +44,10 @@ target 'MissionHub' do
target.build_phases << phase
target.build_phases.move(phase,0)
end

target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end
Loading
Loading