diff --git a/ios/ReactNativeConfig.xcodeproj/project.pbxproj b/ios/ReactNativeConfig.xcodeproj/project.pbxproj index 0f3fa0d..8ab1097 100644 --- a/ios/ReactNativeConfig.xcodeproj/project.pbxproj +++ b/ios/ReactNativeConfig.xcodeproj/project.pbxproj @@ -7,11 +7,32 @@ objects = { /* Begin PBXBuildFile section */ + 3DF7F6B6203AA0C200D0EAB7 /* ReactNativeConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = EBE4E8461C7D2456000F8875 /* ReactNativeConfig.m */; }; + 3DF7F6B7203AA0D600D0EAB7 /* ReactNativeConfig.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = EB2648E21C7BE17A00B8F155 /* ReactNativeConfig.h */; }; EB2648E31C7BE17A00B8F155 /* ReactNativeConfig.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = EB2648E21C7BE17A00B8F155 /* ReactNativeConfig.h */; }; EBE4E8471C7D2456000F8875 /* ReactNativeConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = EBE4E8461C7D2456000F8875 /* ReactNativeConfig.m */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ + 3DF7F6AA203AA09B00D0EAB7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "include/$(PRODUCT_NAME)"; + dstSubfolderSpec = 16; + files = ( + 3DF7F6B7203AA0D600D0EAB7 /* ReactNativeConfig.h in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3DF7F6B8203AA0D900D0EAB7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 7; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; EB2648DD1C7BE17A00B8F155 /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; @@ -35,6 +56,7 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 3DF7F6AC203AA09B00D0EAB7 /* libReactNativeConfig-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libReactNativeConfig-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; EB2648DF1C7BE17A00B8F155 /* libReactNativeConfig.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libReactNativeConfig.a; sourceTree = BUILT_PRODUCTS_DIR; }; EB2648E21C7BE17A00B8F155 /* ReactNativeConfig.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ReactNativeConfig.h; sourceTree = ""; }; EBE4E8291C7BF6DD000F8875 /* BuildDotenvConfig.ruby */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = BuildDotenvConfig.ruby; sourceTree = ""; }; @@ -42,6 +64,13 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 3DF7F6A9203AA09B00D0EAB7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; EB2648DC1C7BE17A00B8F155 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -64,6 +93,7 @@ isa = PBXGroup; children = ( EB2648DF1C7BE17A00B8F155 /* libReactNativeConfig.a */, + 3DF7F6AC203AA09B00D0EAB7 /* libReactNativeConfig-tvOS.a */, ); name = Products; sourceTree = ""; @@ -81,6 +111,25 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 3DF7F6AB203AA09B00D0EAB7 /* ReactNativeConfig-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3DF7F6B4203AA09B00D0EAB7 /* Build configuration list for PBXNativeTarget "ReactNativeConfig-tvOS" */; + buildPhases = ( + 3DF7F6B5203AA0A900D0EAB7 /* ShellScript */, + 3DF7F6A8203AA09B00D0EAB7 /* Sources */, + 3DF7F6A9203AA09B00D0EAB7 /* Frameworks */, + 3DF7F6AA203AA09B00D0EAB7 /* CopyFiles */, + 3DF7F6B8203AA0D900D0EAB7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "ReactNativeConfig-tvOS"; + productName = "ReactNativeConfig-tvOS"; + productReference = 3DF7F6AC203AA09B00D0EAB7 /* libReactNativeConfig-tvOS.a */; + productType = "com.apple.product-type.library.static"; + }; EB2648DE1C7BE17A00B8F155 /* ReactNativeConfig */ = { isa = PBXNativeTarget; buildConfigurationList = EB2648E81C7BE17A00B8F155 /* Build configuration list for PBXNativeTarget "ReactNativeConfig" */; @@ -109,6 +158,10 @@ LastUpgradeCheck = 0720; ORGANIZATIONNAME = "Pedro Belo"; TargetAttributes = { + 3DF7F6AB203AA09B00D0EAB7 = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Automatic; + }; EB2648DE1C7BE17A00B8F155 = { CreatedOnToolsVersion = 7.2.1; }; @@ -127,11 +180,26 @@ projectRoot = ""; targets = ( EB2648DE1C7BE17A00B8F155 /* ReactNativeConfig */, + 3DF7F6AB203AA09B00D0EAB7 /* ReactNativeConfig-tvOS */, ); }; /* End PBXProject section */ /* Begin PBXShellScriptBuildPhase section */ + 3DF7F6B5203AA0A900D0EAB7 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "$(SRCROOT)/ReactNativeConfig/BuildDotenvConfig.ruby", + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = ./ReactNativeConfig/BuildDotenvConfig.ruby; + }; EBE4E8281C7BF689000F8875 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 12; @@ -149,6 +217,14 @@ /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 3DF7F6A8203AA09B00D0EAB7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3DF7F6B6203AA0C200D0EAB7 /* ReactNativeConfig.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; EB2648DB1C7BE17A00B8F155 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -160,6 +236,70 @@ /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ + 3DF7F6B2203AA09B00D0EAB7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + GCC_C_LANGUAGE_STANDARD = gnu11; + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/../../react-native/React/**", + "${SYMROOT}", + "$(SRCROOT)/../../../ios/Pods/Headers/Public", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 11.2; + }; + name = Debug; + }; + 3DF7F6B3203AA09B00D0EAB7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + GCC_C_LANGUAGE_STANDARD = gnu11; + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/../../react-native/React/**", + "${SYMROOT}", + "$(SRCROOT)/../../../ios/Pods/Headers/Public", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 11.2; + }; + name = Release; + }; EB2648E61C7BE17A00B8F155 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -271,6 +411,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 3DF7F6B4203AA09B00D0EAB7 /* Build configuration list for PBXNativeTarget "ReactNativeConfig-tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3DF7F6B2203AA09B00D0EAB7 /* Debug */, + 3DF7F6B3203AA09B00D0EAB7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; EB2648DA1C7BE17A00B8F155 /* Build configuration list for PBXProject "ReactNativeConfig" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/react-native-config.podspec b/react-native-config.podspec index 8485976..7a0a789 100644 --- a/react-native-config.podspec +++ b/react-native-config.podspec @@ -11,7 +11,8 @@ Pod::Spec.new do |s| s.homepage = "https://github.com/luggit/react-native-config" s.license = "MIT" - s.platform = :ios, "7.0" + s.ios.deployment_target = "7.0" + s.tvos.deployment_target = "9.0" s.source = { :git => "https://github.com/luggit/react-native-config.git", :tag => "#{s.version}" }