do the ios setup for plist support

This commit is contained in:
Pedro Belo 2016-12-07 11:23:26 -08:00
parent 333a1a2651
commit fe8c15c06d
2 changed files with 113 additions and 1 deletions

View File

@ -104,6 +104,55 @@
remoteGlobalIDString = 58B5119B1A9E6C1200147676;
remoteInfo = RCTText;
};
EB80D3A01DF8980300AA0521 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
remoteInfo = "RCTImage-tvOS";
};
EB80D3A41DF8980300AA0521 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 2D2A28471D9B043800D4039D;
remoteInfo = "RCTLinking-tvOS";
};
EB80D3A81DF8980300AA0521 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
remoteInfo = "RCTNetwork-tvOS";
};
EB80D3AC1DF8980300AA0521 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 2D2A28611D9B046600D4039D;
remoteInfo = "RCTSettings-tvOS";
};
EB80D3B01DF8980300AA0521 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
remoteInfo = "RCTText-tvOS";
};
EB80D3B51DF8980300AA0521 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 2D2A28881D9B049200D4039D;
remoteInfo = "RCTWebSocket-tvOS";
};
EB80D3B91DF8980300AA0521 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
remoteInfo = "React-tvOS";
};
EBBF70DA1D88E0CD00D56BEF /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 2C6018DE440D4652A9B59EA5 /* ReactNativeConfig.xcodeproj */;
@ -189,6 +238,7 @@
isa = PBXGroup;
children = (
00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
EB80D3A11DF8980300AA0521 /* libRCTImage-tvOS.a */,
);
name = Products;
sourceTree = "<group>";
@ -197,6 +247,7 @@
isa = PBXGroup;
children = (
00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
EB80D3A91DF8980300AA0521 /* libRCTNetwork-tvOS.a */,
);
name = Products;
sourceTree = "<group>";
@ -230,6 +281,7 @@
isa = PBXGroup;
children = (
139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
EB80D3AD1DF8980300AA0521 /* libRCTSettings-tvOS.a */,
);
name = Products;
sourceTree = "<group>";
@ -238,6 +290,7 @@
isa = PBXGroup;
children = (
139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
EB80D3B61DF8980300AA0521 /* libRCTWebSocket-tvOS.a */,
);
name = Products;
sourceTree = "<group>";
@ -260,6 +313,7 @@
isa = PBXGroup;
children = (
146834041AC3E56700842450 /* libReact.a */,
EB80D3BA1DF8980300AA0521 /* libReact-tvOS.a */,
);
name = Products;
sourceTree = "<group>";
@ -268,6 +322,7 @@
isa = PBXGroup;
children = (
78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
EB80D3A51DF8980300AA0521 /* libRCTLinking-tvOS.a */,
);
name = Products;
sourceTree = "<group>";
@ -294,6 +349,7 @@
isa = PBXGroup;
children = (
832341B51AAA6A8300B99B32 /* libRCTText.a */,
EB80D3B11DF8980300AA0521 /* libRCTText-tvOS.a */,
);
name = Products;
sourceTree = "<group>";
@ -517,6 +573,55 @@
remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
EB80D3A11DF8980300AA0521 /* libRCTImage-tvOS.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = "libRCTImage-tvOS.a";
remoteRef = EB80D3A01DF8980300AA0521 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
EB80D3A51DF8980300AA0521 /* libRCTLinking-tvOS.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = "libRCTLinking-tvOS.a";
remoteRef = EB80D3A41DF8980300AA0521 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
EB80D3A91DF8980300AA0521 /* libRCTNetwork-tvOS.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = "libRCTNetwork-tvOS.a";
remoteRef = EB80D3A81DF8980300AA0521 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
EB80D3AD1DF8980300AA0521 /* libRCTSettings-tvOS.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = "libRCTSettings-tvOS.a";
remoteRef = EB80D3AC1DF8980300AA0521 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
EB80D3B11DF8980300AA0521 /* libRCTText-tvOS.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = "libRCTText-tvOS.a";
remoteRef = EB80D3B01DF8980300AA0521 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
EB80D3B61DF8980300AA0521 /* libRCTWebSocket-tvOS.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = "libRCTWebSocket-tvOS.a";
remoteRef = EB80D3B51DF8980300AA0521 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
EB80D3BA1DF8980300AA0521 /* libReact-tvOS.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = "libReact-tvOS.a";
remoteRef = EB80D3B91DF8980300AA0521 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
EBBF70DB1D88E0CD00D56BEF /* libReactNativeConfig.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
@ -723,6 +828,9 @@
"$(SRCROOT)/../node_modules/react-native/React/**",
"$(SRCROOT)/../node_modules/react-native-config/ios/ReactNativeConfig",
);
INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "-traditional";
INFOPLIST_PREFIX_HEADER = "${CONFIGURATION_BUILD_DIR}/GeneratedInfoPlistDotEnv.h";
INFOPLIST_PREPROCESS = YES;
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
@ -764,6 +872,9 @@
"$(SRCROOT)/../node_modules/react-native/React/**",
"$(SRCROOT)/../node_modules/react-native-config/ios/ReactNativeConfig",
);
INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "-traditional";
INFOPLIST_PREFIX_HEADER = "${CONFIGURATION_BUILD_DIR}/GeneratedInfoPlistDotEnv.h";
INFOPLIST_PREPROCESS = YES;
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;

View File

@ -39,7 +39,6 @@
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
<key>NSAppTransportSecurity</key>
<!--See http://ste.vn/2015/06/10/configuring-app-transport-security-ios-9-osx-10-11/ -->
<dict>
<key>NSExceptionDomains</key>
<dict>
@ -50,5 +49,7 @@
</dict>
</dict>
</dict>
<key>ApiUrl</key>
<string>__RN_CONFIG_API_URL</string>
</dict>
</plist>