Skip to content

Commit 0d2972f

Browse files
committed
#292: added build ipa to fastfile
1 parent 68f4327 commit 0d2972f

File tree

3 files changed

+23
-20
lines changed

3 files changed

+23
-20
lines changed

fastlane/Fastfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ end
222222
private_lane :buildAppIOSOnly do |options|
223223
Dir.chdir ".." do
224224
podRepoUpdate
225-
sh("fvm", "flutter", "build", "ios", "--release", "--flavor", options[:flavor], "-t" "lib/main_#{options[:flavor]}.dart", "--no-codesign", "--obfuscate", "--split-debug-info=./build/debug-info/#{options[:flavor]}", "--build-number=#{BUILD_NR}") # Build the application
225+
sh("fvm", "flutter", "build", "ipa", "--release", "--flavor", options[:flavor], "-t" "lib/main_#{options[:flavor]}.dart", "--no-codesign", "--obfuscate", "--split-debug-info=./build/debug-info/#{options[:flavor]}", "--build-number=#{BUILD_NR}") # Build the application
226226
convertAppToIpa(flavor: options[:flavor])
227227
end
228228
Dir.chdir "../build" do

ios/Podfile

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ end
3636

3737
post_install do |installer|
3838
installer.pods_project.targets.each do |target|
39+
target.build_configurations.each do |config|
40+
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
41+
end
3942
flutter_additional_ios_build_settings(target)
4043
end
4144
end

ios/Podfile.lock

+19-19
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ PODS:
4747
- FirebaseCoreInternal (~> 10.0)
4848
- GoogleUtilities/Environment (~> 7.8)
4949
- GoogleUtilities/Logger (~> 7.8)
50-
- FirebaseCoreInternal (10.3.0):
50+
- FirebaseCoreInternal (10.12.0):
5151
- "GoogleUtilities/NSData+zlib (~> 7.8)"
5252
- FirebaseCrashlytics (10.3.0):
5353
- FirebaseCore (~> 10.0)
@@ -56,7 +56,7 @@ PODS:
5656
- GoogleUtilities/Environment (~> 7.8)
5757
- nanopb (< 2.30910.0, >= 2.30908.0)
5858
- PromisesObjC (~> 2.1)
59-
- FirebaseInstallations (10.3.0):
59+
- FirebaseInstallations (10.12.0):
6060
- FirebaseCore (~> 10.0)
6161
- GoogleUtilities/Environment (~> 7.8)
6262
- GoogleUtilities/UserDefaults (~> 7.8)
@@ -87,28 +87,28 @@ PODS:
8787
- GoogleUtilities/Network (~> 7.8)
8888
- "GoogleUtilities/NSData+zlib (~> 7.8)"
8989
- nanopb (< 2.30910.0, >= 2.30908.0)
90-
- GoogleDataTransport (9.2.0):
90+
- GoogleDataTransport (9.2.3):
9191
- GoogleUtilities/Environment (~> 7.7)
9292
- nanopb (< 2.30910.0, >= 2.30908.0)
9393
- PromisesObjC (< 3.0, >= 1.2)
94-
- GoogleUtilities/AppDelegateSwizzler (7.11.0):
94+
- GoogleUtilities/AppDelegateSwizzler (7.11.1):
9595
- GoogleUtilities/Environment
9696
- GoogleUtilities/Logger
9797
- GoogleUtilities/Network
98-
- GoogleUtilities/Environment (7.11.0):
98+
- GoogleUtilities/Environment (7.11.1):
9999
- PromisesObjC (< 3.0, >= 1.2)
100-
- GoogleUtilities/Logger (7.11.0):
100+
- GoogleUtilities/Logger (7.11.1):
101101
- GoogleUtilities/Environment
102-
- GoogleUtilities/MethodSwizzler (7.11.0):
102+
- GoogleUtilities/MethodSwizzler (7.11.1):
103103
- GoogleUtilities/Logger
104-
- GoogleUtilities/Network (7.11.0):
104+
- GoogleUtilities/Network (7.11.1):
105105
- GoogleUtilities/Logger
106106
- "GoogleUtilities/NSData+zlib"
107107
- GoogleUtilities/Reachability
108-
- "GoogleUtilities/NSData+zlib (7.11.0)"
109-
- GoogleUtilities/Reachability (7.11.0):
108+
- "GoogleUtilities/NSData+zlib (7.11.1)"
109+
- GoogleUtilities/Reachability (7.11.1):
110110
- GoogleUtilities/Logger
111-
- GoogleUtilities/UserDefaults (7.11.0):
111+
- GoogleUtilities/UserDefaults (7.11.1):
112112
- GoogleUtilities/Logger
113113
- nanopb (2.30909.0):
114114
- nanopb/decode (= 2.30909.0)
@@ -117,7 +117,7 @@ PODS:
117117
- nanopb/encode (2.30909.0)
118118
- path_provider_ios (0.0.1):
119119
- Flutter
120-
- PromisesObjC (2.1.1)
120+
- PromisesObjC (2.2.0)
121121
- ReachabilitySwift (5.0.0)
122122
- shared_preferences_foundation (0.0.1):
123123
- Flutter
@@ -209,25 +209,25 @@ SPEC CHECKSUMS:
209209
firebase_crashlytics: 235f15b57f25c74e2c75a03a7fcb619695510857
210210
FirebaseAnalytics: 036232b6a1e2918e5f67572417be1173576245f3
211211
FirebaseCore: 988754646ab3bd4bdcb740f1bfe26b9f6c0d5f2a
212-
FirebaseCoreInternal: 29b76f784d607df8b2a1259d73c3f04f1210137b
212+
FirebaseCoreInternal: 950500ad8a08963657f6d8c67b579740c06d6aa1
213213
FirebaseCrashlytics: f20d956f8229010b645e534693c39e0b7843c268
214-
FirebaseInstallations: e2f26126089dcf41e215f7b8925af8d953c7d602
214+
FirebaseInstallations: 7b99ef103f013624444c614397038219c45f8e63
215215
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
216216
flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be
217217
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
218218
GoogleAppMeasurement: c7d6fff39bf2d829587d74088d582e32d75133c3
219-
GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f
220-
GoogleUtilities: c2bdc4cf2ce786c4d2e6b3bcfd599a25ca78f06f
219+
GoogleDataTransport: f0308f5905a745f94fb91fea9c6cbaf3831cb1bd
220+
GoogleUtilities: 9aa0ad5a7bc171f8bae016300bfcfa3fb8425749
221221
nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
222222
path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02
223-
PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb
223+
PromisesObjC: 09985d6d70fbe7878040aa746d78236e6946d2ef
224224
ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825
225225
shared_preferences_foundation: 297b3ebca31b34ec92be11acd7fb0ba932c822ca
226226
sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904
227227
sqlite3: 88dd99ef4ac3945f5a15facdd752933c52fd93bf
228228
sqlite3_flutter_libs: c00751e981228acb63595236703da79d31282b63
229229
url_launcher_ios: 839c58cdb4279282219f5e248c3321761ff3c4de
230230

231-
PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3
231+
PODFILE CHECKSUM: 260b571f0781349ea11428613b9390f4b458699b
232232

233-
COCOAPODS: 1.11.2
233+
COCOAPODS: 1.12.1

0 commit comments

Comments
 (0)