From 7bebdbed7f034378dd3e72080001812fbeae1230 Mon Sep 17 00:00:00 2001 From: Salakar Date: Sat, 18 Aug 2018 23:55:58 +0100 Subject: [PATCH] [tests] misc ios project --- bridge/ios/Podfile.lock | 6 ++--- bridge/ios/testing.xcodeproj/project.pbxproj | 21 +++++++++++++++ bridge/ios/testing/Info.plist | 28 ++++++++++++-------- bridge/ios/testing/testing.entitlements | 12 +++++++++ 4 files changed, 53 insertions(+), 14 deletions(-) create mode 100644 bridge/ios/testing/testing.entitlements diff --git a/bridge/ios/Podfile.lock b/bridge/ios/Podfile.lock index 5075d7d3..10c23d23 100644 --- a/bridge/ios/Podfile.lock +++ b/bridge/ios/Podfile.lock @@ -242,8 +242,8 @@ PODS: - yoga (0.56.0.React) DEPENDENCIES: - - Crashlytics - - Fabric + - Crashlytics (~> 3.10.7) + - Fabric (~> 1.7.11) - Firebase/AdMob (~> 5.6.0) - Firebase/Auth (~> 5.6.0) - Firebase/Core (~> 5.6.0) @@ -347,6 +347,6 @@ SPEC CHECKSUMS: RNFirebase: 2b25fd2e60269f26bb0a76c71dcc942b35a77df0 yoga: b1ce48b6cf950b98deae82838f5173ea7cf89e85 -PODFILE CHECKSUM: 1edf381d0411e539ac08abccf8b3c3b2b45a3fa6 +PODFILE CHECKSUM: 33388e8d8d1b7c967a58d636efdd0c9f4d74a9b5 COCOAPODS: 1.5.3 diff --git a/bridge/ios/testing.xcodeproj/project.pbxproj b/bridge/ios/testing.xcodeproj/project.pbxproj index 1b1112af..f748b536 100644 --- a/bridge/ios/testing.xcodeproj/project.pbxproj +++ b/bridge/ios/testing.xcodeproj/project.pbxproj @@ -315,6 +315,7 @@ 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = testing/main.m; sourceTree = ""; }; 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 192F58E8DACEAD066404F67A /* libPods-testing.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-testing.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 27034D93212869A1004B697E /* testing.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = testing.entitlements; path = testing/testing.entitlements; sourceTree = ""; }; 271CB184206AFCD300EBADF4 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; 271CB2D6206B12E600EBADF4 /* libRNFirebase.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libRNFirebase.a; sourceTree = BUILT_PRODUCTS_DIR; }; 30F8459A53F04DD0B22777D1 /* testing.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; path = testing.xcodeproj; sourceTree = ""; }; @@ -435,6 +436,7 @@ 13B07FAE1A68108700A75B9A /* testing */ = { isa = PBXGroup; children = ( + 27034D93212869A1004B697E /* testing.entitlements */, 271CB184206AFCD300EBADF4 /* GoogleService-Info.plist */, 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 13B07FB01A68108700A75B9A /* AppDelegate.m */, @@ -614,6 +616,21 @@ attributes = { LastUpgradeCheck = 910; ORGANIZATIONNAME = Facebook; + TargetAttributes = { + 13B07F861A680F5B00A75B9A = { + SystemCapabilities = { + com.apple.BackgroundModes = { + enabled = 1; + }; + com.apple.Keychain = { + enabled = 1; + }; + com.apple.Push = { + enabled = 1; + }; + }; + }; + }; }; buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "testing" */; compatibilityVersion = "Xcode 3.2"; @@ -1060,7 +1077,9 @@ baseConfigurationReference = 4C4B32475FBBBAC16708CB5B /* Pods-testing.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = testing/testing.entitlements; DEAD_CODE_STRIPPING = NO; + DEVELOPMENT_TEAM = ""; HEADER_SEARCH_PATHS = ( "$(inherited)", "$(SRCROOT)/../node_modules/react-native-firebase/Firebase.framework/Headers/**", @@ -1081,6 +1100,8 @@ baseConfigurationReference = 78B0E372306B6EFE53BFA0C5 /* Pods-testing.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = testing/testing.entitlements; + DEVELOPMENT_TEAM = ""; HEADER_SEARCH_PATHS = ( "$(inherited)", "$(SRCROOT)/../node_modules/react-native-firebase/Firebase.framework/Headers/**", diff --git a/bridge/ios/testing/Info.plist b/bridge/ios/testing/Info.plist index ea02931a..3160d6ea 100755 --- a/bridge/ios/testing/Info.plist +++ b/bridge/ios/testing/Info.plist @@ -18,17 +18,17 @@ 1.0 CFBundleSignature ???? - CFBundleURLTypes - - - CFBundleTypeRole - Editor - CFBundleURLSchemes - - com.googleusercontent.apps.17067372085-siujfe334vool17t2mtrmjrsgl81nhd9 - - - + CFBundleURLTypes + + + CFBundleTypeRole + Editor + CFBundleURLSchemes + + com.googleusercontent.apps.17067372085-siujfe334vool17t2mtrmjrsgl81nhd9 + + + CFBundleVersion 1 LSRequiresIPhoneOS @@ -40,6 +40,12 @@ NSLocationWhenInUseUsageDescription + UIBackgroundModes + + fetch + location + remote-notification + UILaunchStoryboardName LaunchScreen UIRequiredDeviceCapabilities diff --git a/bridge/ios/testing/testing.entitlements b/bridge/ios/testing/testing.entitlements new file mode 100644 index 00000000..583e8bcb --- /dev/null +++ b/bridge/ios/testing/testing.entitlements @@ -0,0 +1,12 @@ + + + + + aps-environment + development + keychain-access-groups + + $(AppIdentifierPrefix)com.testing + + +