Skip to content

Commit

Permalink
Use workspace file for fastlane builds
Browse files Browse the repository at this point in the history
  • Loading branch information
aravind-raveendran committed Jan 16, 2024
1 parent fd8ef33 commit f3c3c06
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions ios/TestApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
E805F8FC2B3258F6008FE2E4 /* iOSReleaseSettings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = iOSReleaseSettings.xcconfig; sourceTree = "<group>"; };
E805F8FD2B3258F6008FE2E4 /* tvOSDebugSettings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = tvOSDebugSettings.xcconfig; sourceTree = "<group>"; };
E805F8FE2B3258F6008FE2E4 /* tvOSReleaseSettings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = tvOSReleaseSettings.xcconfig; sourceTree = "<group>"; };
E878327E2B5660BB00FF9E84 /* fastlane */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fastlane; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
FB052B85A83A3969FB1387D9 /* libPods-TestApp-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-TestApp-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
Expand Down Expand Up @@ -167,6 +168,7 @@
83CBB9F61A601CBA00E9B192 = {
isa = PBXGroup;
children = (
E878327E2B5660BB00FF9E84 /* fastlane */,
E805F8FA2B3258F6008FE2E4 /* Configuration */,
13B07FAE1A68108700A75B9A /* TestApp */,
832341AE1AAA6A7D00B99B32 /* Libraries */,
Expand Down
2 changes: 1 addition & 1 deletion ios/fastlane/.env.default
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// .env.default
XCODE_SELECT_PATH = /Applications/Xcode_15.0.1.app
XCODE_SELECT_PATH = /Applications/Xcode_15.1.app

//
// Temp paths - Build artifacts
Expand Down
2 changes: 1 addition & 1 deletion ios/fastlane/.env.testapp-ios-appstore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
PLATFORM = ios

GYM_CONFIGURATION = "Release"
GYM_PROJECT = "TestApp.xcodeproj"
GYM_WORKSPACE = "TestApp.xcworkspace"
GYM_SCHEME = "TestApp"
GYM_OUTPUT_DIR = "Tmp/build/"
GYM_BUILD_PATH = "Tmp/build/"
Expand Down
2 changes: 1 addition & 1 deletion ios/fastlane/.env.testapp-tvos-appstore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
PLATFORM = appletvos

GYM_CONFIGURATION = "Release"
GYM_PROJECT = "TestApp.xcodeproj"
GYM_WORKSPACE = "TestApp.xcworkspace"
GYM_SCHEME = "TestApp-tvOS"
GYM_OUTPUT_DIR = "Tmp/build/"
GYM_BUILD_PATH = "Tmp/build/"
Expand Down
2 changes: 1 addition & 1 deletion ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lane :build_and_deploy_to_appstore do |options|

# Build and export
gym(
project: ENV['GYM_PROJECT'],
workspace: ENV['GYM_WORKSPACE'],
scheme: ENV['GYM_SCHEME'],
clean: true,
output_directory: ENV['GYM_OUTPUT_DIR'],
Expand Down

0 comments on commit f3c3c06

Please sign in to comment.