Skip to content

Commit d339f67

Browse files
committed
fix: stabilize ios archive build
1 parent 223da80 commit d339f67

3 files changed

Lines changed: 79 additions & 2 deletions

File tree

mobile/ios/App/App.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
CODE_SIGN_STYLE = Automatic;
351351
CURRENT_PROJECT_VERSION = 1;
352352
INFOPLIST_FILE = App/Info.plist;
353-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
353+
IPHONEOS_DEPLOYMENT_TARGET = 18.6;
354354
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
355355
MARKETING_VERSION = 1.0;
356356
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
@@ -370,7 +370,7 @@
370370
CODE_SIGN_STYLE = Automatic;
371371
CURRENT_PROJECT_VERSION = 1;
372372
INFOPLIST_FILE = App/Info.plist;
373-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
373+
IPHONEOS_DEPLOYMENT_TARGET = 18.6;
374374
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
375375
MARKETING_VERSION = 1.0;
376376
PRODUCT_BUNDLE_IDENTIFIER = com.monkeycode.mobile;
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "2600"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "504EC3031FED79650016851F"
18+
BuildableName = "App.app"
19+
BlueprintName = "App"
20+
ReferencedContainer = "container:App.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
</TestAction>
31+
<LaunchAction
32+
buildConfiguration = "Debug"
33+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
34+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
35+
launchStyle = "0"
36+
useCustomWorkingDirectory = "NO"
37+
ignoresPersistentStateOnLaunch = "NO"
38+
debugDocumentVersioning = "YES"
39+
debugServiceExtension = "internal"
40+
allowLocationSimulation = "YES">
41+
<BuildableProductRunnable
42+
runnableDebuggingMode = "0">
43+
<BuildableReference
44+
BuildableIdentifier = "primary"
45+
BlueprintIdentifier = "504EC3031FED79650016851F"
46+
BuildableName = "App.app"
47+
BlueprintName = "App"
48+
ReferencedContainer = "container:App.xcodeproj">
49+
</BuildableReference>
50+
</BuildableProductRunnable>
51+
</LaunchAction>
52+
<ProfileAction
53+
buildConfiguration = "Release"
54+
shouldUseLaunchSchemeArgsEnv = "YES"
55+
savedToolIdentifier = ""
56+
useCustomWorkingDirectory = "NO"
57+
debugDocumentVersioning = "YES">
58+
<BuildableProductRunnable
59+
runnableDebuggingMode = "0">
60+
<BuildableReference
61+
BuildableIdentifier = "primary"
62+
BlueprintIdentifier = "504EC3031FED79650016851F"
63+
BuildableName = "App.app"
64+
BlueprintName = "App"
65+
ReferencedContainer = "container:App.xcodeproj">
66+
</BuildableReference>
67+
</BuildableProductRunnable>
68+
</ProfileAction>
69+
<AnalyzeAction
70+
buildConfiguration = "Debug">
71+
</AnalyzeAction>
72+
<ArchiveAction
73+
buildConfiguration = "Release"
74+
revealArchiveInOrganizer = "YES">
75+
</ArchiveAction>
76+
</Scheme>

mobile/ios/fastlane/Fastfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ platform :ios do
9999
"-workspace", app_path("App.xcworkspace"),
100100
"-scheme", "App",
101101
"-configuration", "Release",
102+
"-destination", "generic/platform=iOS",
102103
"-archivePath", archive_path,
103104
"archive",
104105
].shelljoin

0 commit comments

Comments
 (0)