From 7795bc10ed396dd803da4416fe93a9781e073ead Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Thu, 3 Sep 2020 07:08:02 +0200 Subject: [PATCH] prepare iOS release --- mobile/ios/LessPass.xcodeproj/project.pbxproj | 15 +++++++-- .../xcshareddata/xcschemes/LessPass.xcscheme | 2 +- .../xcshareddata/IDEWorkspaceChecks.plist | 8 +++++ mobile/ios/LessPass/Info.plist | 38 +++++++++------------- 4 files changed, 38 insertions(+), 25 deletions(-) create mode 100644 mobile/ios/LessPass.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/mobile/ios/LessPass.xcodeproj/project.pbxproj b/mobile/ios/LessPass.xcodeproj/project.pbxproj index 6c273e3..1855786 100644 --- a/mobile/ios/LessPass.xcodeproj/project.pbxproj +++ b/mobile/ios/LessPass.xcodeproj/project.pbxproj @@ -294,7 +294,9 @@ TestTargetID = 13B07F861A680F5B00A75B9A; }; 13B07F861A680F5B00A75B9A = { + DevelopmentTeam = 5Y4MF2AT83; LastSwiftMigration = 1160; + ProvisioningStyle = Automatic; }; 2D02E47A1E0B4A5D006451C7 = { CreatedOnToolsVersion = 8.2.1; @@ -688,7 +690,11 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development"; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; GCC_PREPROCESSOR_DEFINITIONS = ( "$(inherited)", @@ -701,8 +707,9 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_BUNDLE_IDENTIFIER = com.lesspass.mobile; PRODUCT_NAME = LessPass; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "LessPass-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -716,7 +723,10 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = "iPhone Distribution"; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 5Y4MF2AT83; INFOPLIST_FILE = LessPass/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( @@ -724,8 +734,9 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_BUNDLE_IDENTIFIER = com.lesspass.mobile; PRODUCT_NAME = LessPass; + PROVISIONING_PROFILE_SPECIFIER = "LessPass AppStore"; SWIFT_OBJC_BRIDGING_HEADER = "LessPass-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; diff --git a/mobile/ios/LessPass.xcodeproj/xcshareddata/xcschemes/LessPass.xcscheme b/mobile/ios/LessPass.xcodeproj/xcshareddata/xcschemes/LessPass.xcscheme index c125f2e..0b962d5 100644 --- a/mobile/ios/LessPass.xcodeproj/xcshareddata/xcschemes/LessPass.xcscheme +++ b/mobile/ios/LessPass.xcodeproj/xcshareddata/xcschemes/LessPass.xcscheme @@ -41,7 +41,7 @@ + + + + IDEDidComputeMac32BitWarning + + + diff --git a/mobile/ios/LessPass/Info.plist b/mobile/ios/LessPass/Info.plist index 1a7e2cb..6e7c466 100644 --- a/mobile/ios/LessPass/Info.plist +++ b/mobile/ios/LessPass/Info.plist @@ -29,30 +29,10 @@ NSAllowsArbitraryLoads NSExceptionDomains - - localhost - - NSExceptionAllowsInsecureHTTPLoads - - - + NSLocationWhenInUseUsageDescription - - UILaunchStoryboardName - LaunchScreen - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UIViewControllerBasedStatusBarAppearance - + UIAppFonts AntDesign.ttf @@ -72,5 +52,19 @@ Octicons.ttf Zocial.ttf + UILaunchStoryboardName + LaunchScreen + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIViewControllerBasedStatusBarAppearance +