From d6d6578f96251933eeedbb8a2b9bb4d9c38e5df8 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Tue, 2 Jul 2019 20:16:35 -0300 Subject: [PATCH] [FIX] iOS share credentials build (#1028) * [FIX] iOS share credentials build * Use `hasMigration` as a string --- app/sagas/init.js | 2 +- ios/RocketChatRN.xcodeproj/project.pbxproj | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app/sagas/init.js b/app/sagas/init.js index 5218de5f..e333cee6 100644 --- a/app/sagas/init.js +++ b/app/sagas/init.js @@ -50,7 +50,7 @@ const restore = function* restore() { } }); }); - yield AsyncStorage.setItem('hasMigration', true); + yield AsyncStorage.setItem('hasMigration', '1'); } // if not have current diff --git a/ios/RocketChatRN.xcodeproj/project.pbxproj b/ios/RocketChatRN.xcodeproj/project.pbxproj index 4e231957..48374fb9 100644 --- a/ios/RocketChatRN.xcodeproj/project.pbxproj +++ b/ios/RocketChatRN.xcodeproj/project.pbxproj @@ -5,6 +5,7 @@ }; objectVersion = 46; objects = { + /* Begin PBXBuildFile section */ 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; @@ -827,7 +828,6 @@ children = ( DF26CC845883492D8AC8869B /* libRealmReact.a */, BAAE4B947F5D44959F0A9D5A /* libRNZeroconf.a */, - 6533FB90166345D29F1B91C0 /* libRNFetchBlob.a */, 5A0EEFAF8AB14F5B9E796CDD /* libRNVectorIcons.a */, DA50CE47374C4C35BE6D9D58 /* libRNSVG.a */, 3B696712EE2345A59F007A88 /* libRNImagePicker.a */, @@ -902,6 +902,9 @@ DevelopmentTeam = S6UPZG7ZR3; ProvisioningStyle = Manual; SystemCapabilities = { + com.apple.ApplicationGroups.iOS = { + enabled = 1; + }; com.apple.Push = { enabled = 1; }; @@ -1534,9 +1537,7 @@ ); INFOPLIST_FILE = RocketChatRN/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - ); + LIBRARY_SEARCH_PATHS = "$(inherited)"; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", @@ -1583,9 +1584,7 @@ ); INFOPLIST_FILE = RocketChatRN/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - ); + LIBRARY_SEARCH_PATHS = "$(inherited)"; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC",