Skip to content

Commit

Permalink
chore(): build.yml save ios for later
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawqss committed Sep 26, 2024
1 parent a01f462 commit 7853c36
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 32 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,26 @@ jobs:
api-level: 29
script: cd ./android && ./gradlew assembleRelease

build-ios:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 22
- name: Install dependencies
run: |
npm install
npx pod-install
- name: Build iOS app
run: |
cd ios
xcodebuild \
-workspace CkOnboardinApp.xcworkspace \
-scheme CkOnboardinApp \
-configuration Release \
-sdk iphoneos \
-derivedDataPath build/ \
clean build
#build-ios:
# runs-on: macos-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# - name: Set up Node.js
# uses: actions/setup-node@v3
# with:
# node-version: 22
# - name: Install dependencies
# run: |
# npm install
# npx pod-install
# - name: Build iOS app
# run: |
# cd ios
# xcodebuild \
# -workspace CkOnboardinApp.xcworkspace \
# -scheme CkOnboardinApp \
# -configuration Release \
# -sdk iphoneos \
# -derivedDataPath build/ \
# clean build
14 changes: 5 additions & 9 deletions ios/CkOnboardinApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
5DCACB8F33CDC322A6C60F78 /* libPods-CkOnboardinApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-CkOnboardinApp.a"; sourceTree = BUILT_PRODUCTS_DIR; };
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = CkOnboardinApp/LaunchScreen.storyboard; sourceTree = "<group>"; };
89C6BE57DB24E9ADA2F236DE /* Pods-CkOnboardinApp-CkOnboardinAppTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CkOnboardinApp-CkOnboardinAppTests.release.xcconfig"; path = "Target Support Files/Pods-CkOnboardinApp-CkOnboardinAppTests/Pods-CkOnboardinApp-CkOnboardinAppTests.release.xcconfig"; sourceTree = "<group>"; };
92EBCBC4E074D74EB7E04980 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = CkOnboardinApp/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
92EBCBC4E074D74EB7E04980 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = CkOnboardinApp/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
/* End PBXFileReference section */

Expand Down Expand Up @@ -472,6 +472,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 5G4M55X26F;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = CkOnboardinApp/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand Down Expand Up @@ -499,6 +500,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 5G4M55X26F;
INFOPLIST_FILE = CkOnboardinApp/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -590,10 +592,7 @@
"-DFOLLY_CFG_NO_COROUTINES=1",
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
);
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited) ";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
Expand Down Expand Up @@ -666,10 +665,7 @@
"-DFOLLY_CFG_NO_COROUTINES=1",
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
);
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited) ";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
USE_HERMES = true;
Expand Down

0 comments on commit 7853c36

Please sign in to comment.