From 11890f771af26d173882342319b08fcc60924128 Mon Sep 17 00:00:00 2001 From: laiiihz Date: Tue, 27 Apr 2021 13:09:39 +0800 Subject: [PATCH] update pod --- ios/GoogleService-Info.plist | 34 ++++++++++ ios/Podfile | 2 +- ios/Podfile.lock | 98 ++++++++++++++++++++++++---- ios/Runner.xcodeproj/project.pbxproj | 10 ++- pubspec.yaml | 1 - tool/grind.dart | 13 +++- 6 files changed, 139 insertions(+), 19 deletions(-) create mode 100644 ios/GoogleService-Info.plist diff --git a/ios/GoogleService-Info.plist b/ios/GoogleService-Info.plist new file mode 100644 index 00000000..674f7f5a --- /dev/null +++ b/ios/GoogleService-Info.plist @@ -0,0 +1,34 @@ + + + + + CLIENT_ID + 31019322455-3v2at9q97ocfbf5tf5jpg1f4alfiff0q.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.31019322455-3v2at9q97ocfbf5tf5jpg1f4alfiff0q + API_KEY + AIzaSyAfHxfFe5tXtGr-ej0I40vOByGLk7JsdZ8 + GCM_SENDER_ID + 31019322455 + PLIST_VERSION + 1 + BUNDLE_ID + com.aku.ansu + PROJECT_ID + ansu-cc42b + STORAGE_BUCKET + ansu-cc42b.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:31019322455:ios:127cdfa6a1144ac7632712 + + \ No newline at end of file diff --git a/ios/Podfile b/ios/Podfile index 252d9ec7..9411102b 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -platform :ios, '9.0' +platform :ios, '10.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/ios/Podfile.lock b/ios/Podfile.lock index dd7973e7..37b0886b 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -12,13 +12,50 @@ PODS: - AMapFoundation (~> 1.6.4) - device_info (0.0.1): - Flutter + - Firebase/CoreOnly (7.3.0): + - FirebaseCore (= 7.3.0) + - Firebase/Crashlytics (7.3.0): + - Firebase/CoreOnly + - FirebaseCrashlytics (~> 7.3.0) + - firebase_core (1.0.3): + - Firebase/CoreOnly (= 7.3.0) + - Flutter + - firebase_crashlytics (2.0.0): + - Firebase/Crashlytics (= 7.3.0) + - firebase_core + - Flutter + - FirebaseCore (7.3.0): + - FirebaseCoreDiagnostics (~> 7.0) + - GoogleUtilities/Environment (~> 7.0) + - GoogleUtilities/Logger (~> 7.0) + - FirebaseCoreDiagnostics (7.3.0): + - GoogleDataTransport (~> 8.0) + - GoogleUtilities/Environment (~> 7.0) + - GoogleUtilities/Logger (~> 7.0) + - nanopb (~> 2.30906.0) + - FirebaseCrashlytics (7.3.0): + - FirebaseCore (~> 7.0) + - FirebaseInstallations (~> 7.0) + - GoogleDataTransport (~> 8.0) + - nanopb (~> 2.30906.0) + - PromisesObjC (~> 1.2) + - FirebaseInstallations (7.11.0): + - FirebaseCore (~> 7.0) + - GoogleUtilities/Environment (~> 7.0) + - GoogleUtilities/UserDefaults (~> 7.0) + - PromisesObjC (~> 1.2) - Flutter (1.0.0) - fluwx (0.0.1): - Flutter - WechatOpenSDK (= 1.8.7.1) - - FMDB (2.7.5): - - FMDB/standard (= 2.7.5) - - FMDB/standard (2.7.5) + - GoogleDataTransport (8.1.0): + - nanopb (~> 2.30906.0) + - GoogleUtilities/Environment (7.3.1): + - PromisesObjC (~> 1.2) + - GoogleUtilities/Logger (7.3.1): + - GoogleUtilities/Environment + - GoogleUtilities/UserDefaults (7.3.1): + - GoogleUtilities/Logger - image_picker (0.0.1): - Flutter - JCore (2.4.0) @@ -28,17 +65,24 @@ PODS: - Flutter - JCore (= 2.4.0) - JPush (= 3.4.0) + - nanopb (2.30906.0): + - nanopb/decode (= 2.30906.0) + - nanopb/encode (= 2.30906.0) + - nanopb/decode (2.30906.0) + - nanopb/encode (2.30906.0) + - open_file (0.0.1): + - Flutter - package_info (0.0.1): - Flutter - path_provider (0.0.1): - Flutter - "permission_handler (5.1.0+2)": - Flutter - - shared_preferences (0.0.1): + - PromisesObjC (1.2.12) + - share (0.0.1): - Flutter - - sqflite (0.0.2): + - shared_preferences (0.0.1): - Flutter - - FMDB (>= 2.7.5) - url_launcher (0.0.1): - Flutter - WechatOpenSDK (1.8.7.1) @@ -47,15 +91,18 @@ DEPENDENCIES: - amap_flutter_location (from `.symlinks/plugins/amap_flutter_location/ios`) - amap_flutter_map (from `.symlinks/plugins/amap_flutter_map/ios`) - device_info (from `.symlinks/plugins/device_info/ios`) + - firebase_core (from `.symlinks/plugins/firebase_core/ios`) + - firebase_crashlytics (from `.symlinks/plugins/firebase_crashlytics/ios`) - Flutter (from `Flutter`) - fluwx (from `.symlinks/plugins/fluwx/ios`) - image_picker (from `.symlinks/plugins/image_picker/ios`) - jpush_flutter (from `.symlinks/plugins/jpush_flutter/ios`) + - open_file (from `.symlinks/plugins/open_file/ios`) - package_info (from `.symlinks/plugins/package_info/ios`) - path_provider (from `.symlinks/plugins/path_provider/ios`) - permission_handler (from `.symlinks/plugins/permission_handler/ios`) + - share (from `.symlinks/plugins/share/ios`) - shared_preferences (from `.symlinks/plugins/shared_preferences/ios`) - - sqflite (from `.symlinks/plugins/sqflite/ios`) - url_launcher (from `.symlinks/plugins/url_launcher/ios`) SPEC REPOS: @@ -63,9 +110,17 @@ SPEC REPOS: - AMap3DMap - AMapFoundation - AMapLocation - - FMDB + - Firebase + - FirebaseCore + - FirebaseCoreDiagnostics + - FirebaseCrashlytics + - FirebaseInstallations + - GoogleDataTransport + - GoogleUtilities - JCore - JPush + - nanopb + - PromisesObjC - WechatOpenSDK EXTERNAL SOURCES: @@ -75,6 +130,10 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/amap_flutter_map/ios" device_info: :path: ".symlinks/plugins/device_info/ios" + firebase_core: + :path: ".symlinks/plugins/firebase_core/ios" + firebase_crashlytics: + :path: ".symlinks/plugins/firebase_crashlytics/ios" Flutter: :path: Flutter fluwx: @@ -83,16 +142,18 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/image_picker/ios" jpush_flutter: :path: ".symlinks/plugins/jpush_flutter/ios" + open_file: + :path: ".symlinks/plugins/open_file/ios" package_info: :path: ".symlinks/plugins/package_info/ios" path_provider: :path: ".symlinks/plugins/path_provider/ios" permission_handler: :path: ".symlinks/plugins/permission_handler/ios" + share: + :path: ".symlinks/plugins/share/ios" shared_preferences: :path: ".symlinks/plugins/shared_preferences/ios" - sqflite: - :path: ".symlinks/plugins/sqflite/ios" url_launcher: :path: ".symlinks/plugins/url_launcher/ios" @@ -103,21 +164,32 @@ SPEC CHECKSUMS: AMapFoundation: b67560a6f21aab81c8c12f84616b55a3833b6253 AMapLocation: a46c30d9930d0f3a3bd21139d8f845d10ac3f01d device_info: d7d233b645a32c40dfdc212de5cf646ca482f175 + Firebase: 26223c695fe322633274198cb19dca8cb7e54416 + firebase_core: b5d81dfd4fb2d6f700e67de34d9a633ae325c4e9 + firebase_crashlytics: 3b8018f6c88a59be95f9e2f38f04e5c0f05e0c6a + FirebaseCore: 4d3c72622ce0e2106aaa07bb4b2935ba2c370972 + FirebaseCoreDiagnostics: d50e11039e5984d92c8a512be2395f13df747350 + FirebaseCrashlytics: d31325312c92e2cb2f0386d589b9aa44e303d99b + FirebaseInstallations: a58d4f72ec5861840b84df489f2668d970df558a Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c fluwx: 07a55ed66bf3a4961e836a2a411b02dcada32902 - FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a + GoogleDataTransport: 116c84c4bdeb76be2a7a46de51244368f9794eab + GoogleUtilities: e1d9ed4e544fc32a93e00e721400cbc3f377200d image_picker: 50e7c7ff960e5f58faa4d1f4af84a771c671bc4a JCore: a29e4b0ee54e1301446dc02d8e1c350404108b34 JPush: defaa108c38806f6efdcfaf4c416854d25fca8e5 jpush_flutter: 364b245849348e05377d67295d0896ddd664a896 + nanopb: 1bf24dd71191072e120b83dd02d08f3da0d65e53 + open_file: 02eb5cb6b21264bd3a696876f5afbfb7ca4f4b7d package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62 path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c permission_handler: ccb20a9fad0ee9b1314a52b70b76b473c5f8dab0 + PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97 + share: 0b2c3e82132f5888bccca3351c504d0003b3b410 shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d - sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904 url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef WechatOpenSDK: 6a4d1436c15b3b5fe2a0bd383f3046010186da44 -PODFILE CHECKSUM: a75497545d4391e2d394c3668e20cfb1c2bbd4aa +PODFILE CHECKSUM: fe0e1ee7f3d1f7d00b11b474b62dd62134535aea COCOAPODS: 1.10.1 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 9b14e746..8d027adc 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -14,6 +14,7 @@ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; + D39146D92637D38400A9EC6E /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = D39146D82637D38400A9EC6E /* GoogleService-Info.plist */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -48,6 +49,7 @@ 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; D3872BA325F75CFC0069AC63 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; }; + D39146D82637D38400A9EC6E /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -94,6 +96,7 @@ 97C146E51CF9000F007C117D = { isa = PBXGroup; children = ( + D39146D82637D38400A9EC6E /* GoogleService-Info.plist */, 9740EEB11CF90186004384FC /* Flutter */, 97C146F01CF9000F007C117D /* Runner */, 97C146EF1CF9000F007C117D /* Products */, @@ -192,6 +195,7 @@ files = ( 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, + D39146D92637D38400A9EC6E /* GoogleService-Info.plist in Resources */, 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, ); @@ -359,7 +363,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -452,7 +456,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -501,7 +505,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; diff --git a/pubspec.yaml b/pubspec.yaml index 497db793..b6b655b8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -65,7 +65,6 @@ dependencies: firebase_core: ^1.0.3 firebase_crashlytics: ^2.0.0 share: ^2.0.1 - dev_dependencies: flutter_test: diff --git a/tool/grind.dart b/tool/grind.dart index 9d1ece0a..35be28bf 100644 --- a/tool/grind.dart +++ b/tool/grind.dart @@ -5,7 +5,7 @@ main(args) => grind(args); @Task() test() => new TestRunner().testAsync(); -@DefaultTask() +@Task() buildApk() async { await runAsync( 'flutter', @@ -17,6 +17,17 @@ buildApk() async { ); } +@Task('build ios') +buildIos() async { + await runAsync( + 'flutter', + arguments: [ + 'build', + 'ios', + ], + ); +} + @Task() clean() => defaultClean();