From 268ec10f8e86bc4f27cd811fedcda33558994388 Mon Sep 17 00:00:00 2001 From: CihanOezkan <52281510+CihanOezkan@users.noreply.github.com> Date: Wed, 30 Oct 2019 16:25:59 +0100 Subject: [PATCH] OT 485 prepare ios app package for release (#243) * OT-485 #234 Prepare iOS for release --- ios/OX Coi/GoogleService-Info.plist | 8 +- ios/OX Coi/Info.plist | 2 + ios/Podfile.lock | 4 +- ios/Runner.xcodeproj/project.pbxproj | 12 +-- .../xcshareddata/xcschemes/Runner.xcscheme | 8 +- pubspec.lock | 83 ++++++++++++++++--- 6 files changed, 89 insertions(+), 28 deletions(-) diff --git a/ios/OX Coi/GoogleService-Info.plist b/ios/OX Coi/GoogleService-Info.plist index 67b3786e..d525dcc8 100644 --- a/ios/OX Coi/GoogleService-Info.plist +++ b/ios/OX Coi/GoogleService-Info.plist @@ -3,9 +3,9 @@ CLIENT_ID - 106809038230-eirh2puc7d8ms6ajdk9goc4sk6uvd9ce.apps.googleusercontent.com + 106809038230-hpn6gf38qeedd6i2q99g6vblmcgjsbco.apps.googleusercontent.com REVERSED_CLIENT_ID - com.googleusercontent.apps.106809038230-eirh2puc7d8ms6ajdk9goc4sk6uvd9ce + com.googleusercontent.apps.106809038230-hpn6gf38qeedd6i2q99g6vblmcgjsbco API_KEY AIzaSyBl6Jsu-yY3L6fTI5WCVxkCmp9jCE6G7QU GCM_SENDER_ID @@ -13,7 +13,7 @@ PLIST_VERSION 1 BUNDLE_ID - com.openxchange.oxCoi + com.openxchange.oxcoi.dev PROJECT_ID ox-talk-testproject STORAGE_BUCKET @@ -29,7 +29,7 @@ IS_SIGNIN_ENABLED GOOGLE_APP_ID - 1:106809038230:ios:75ef4ad9030bf57c9ff9b7 + 1:106809038230:ios:2320d781ab289345 DATABASE_URL https://ox-talk-testproject.firebaseio.com diff --git a/ios/OX Coi/Info.plist b/ios/OX Coi/Info.plist index e6279745..1a7c12e8 100644 --- a/ios/OX Coi/Info.plist +++ b/ios/OX Coi/Info.plist @@ -4,6 +4,8 @@ CFBundleDevelopmentRegion en + CFBundleDisplayName + OX Coi CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 37769aec..f379e1fc 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -158,7 +158,7 @@ DEPENDENCIES: - device_info (from `.symlinks/plugins/device_info/ios`) - file_picker (from `.symlinks/plugins/file_picker/ios`) - firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`) - - Flutter (from `.symlinks/flutter/ios`) + - Flutter (from `.symlinks/flutter/ios-release`) - flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`) - flutter_sound (from `.symlinks/plugins/flutter_sound/ios`) - fluttertoast (from `.symlinks/plugins/fluttertoast/ios`) @@ -216,7 +216,7 @@ EXTERNAL SOURCES: firebase_messaging: :path: ".symlinks/plugins/firebase_messaging/ios" Flutter: - :path: ".symlinks/flutter/ios" + :path: ".symlinks/flutter/ios-release" flutter_local_notifications: :path: ".symlinks/plugins/flutter_local_notifications/ios" flutter_sound: diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 6734de5c..821a44f7 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -8,6 +8,7 @@ /* Begin PBXBuildFile section */ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; + 2487BC882369AD1800819871 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 2487BC872369AD1800819871 /* GoogleService-Info.plist */; }; 374E43D3FB49E295AE9799DD /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 899B7188477F2A02FA10829E /* Pods_Runner.framework */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; }; @@ -17,7 +18,6 @@ 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 */; }; - FD00B38B23225BF900B85B35 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = FD00B38A23225BF900B85B35 /* GoogleService-Info.plist */; }; FD2E2E22231FFEBB00ADF5C5 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD2E2E21231FFEBB00ADF5C5 /* AppDelegate.swift */; }; FD51737323266F05007458CC /* .swiftlint.yml in Resources */ = {isa = PBXBuildFile; fileRef = FD51737223266F04007458CC /* .swiftlint.yml */; }; FD51737623267295007458CC /* UIApplication+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD51737523267295007458CC /* UIApplication+Extensions.swift */; }; @@ -41,6 +41,7 @@ /* Begin PBXFileReference section */ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; + 2487BC872369AD1800819871 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; 24DD530523214B20005ED412 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; }; @@ -56,7 +57,6 @@ 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 = ""; }; 9810C5C2A61932B256D32535 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; - FD00B38A23225BF900B85B35 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; FD2E2E21231FFEBB00ADF5C5 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; FD2E2E23231FFF3C00ADF5C5 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; FD51737223266F04007458CC /* .swiftlint.yml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .swiftlint.yml; sourceTree = ""; }; @@ -136,7 +136,7 @@ children = ( 97C146FD1CF9000F007C117D /* Assets.xcassets */, 97C147021CF9000F007C117D /* Info.plist */, - FD00B38A23225BF900B85B35 /* GoogleService-Info.plist */, + 2487BC872369AD1800819871 /* GoogleService-Info.plist */, ); name = "Supporting Files"; sourceTree = ""; @@ -265,8 +265,8 @@ FD51737323266F05007458CC /* .swiftlint.yml in Resources */, 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - FD00B38B23225BF900B85B35 /* GoogleService-Info.plist in Resources */, 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, + 2487BC882369AD1800819871 /* GoogleService-Info.plist in Resources */, 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -528,7 +528,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - PRODUCT_BUNDLE_IDENTIFIER = com.openxchange.oxCoi; + PRODUCT_BUNDLE_IDENTIFIER = com.openxchange.oxcoi.dev; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "OX Coi/Application/Runner-Bridging-Header.h"; @@ -566,7 +566,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - PRODUCT_BUNDLE_IDENTIFIER = com.openxchange.oxCoi; + PRODUCT_BUNDLE_IDENTIFIER = com.openxchange.oxcoi.dev; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "OX Coi/Application/Runner-Bridging-Header.h"; diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 036fdb7b..f17c8359 100644 --- a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -27,8 +27,6 @@ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> - - - - + + - -