diff --git a/Examples/UIExplorer/UIExplorer-tvOS/Info.plist b/Examples/UIExplorer/UIExplorer-tvOS/Info.plist new file mode 100644 index 000000000..0afedbb81 --- /dev/null +++ b/Examples/UIExplorer/UIExplorer-tvOS/Info.plist @@ -0,0 +1,35 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UIRequiredDeviceCapabilities + + arm64 + + UIUserInterfaceStyle + Automatic + + diff --git a/Examples/UIExplorer/UIExplorer.xcodeproj/project.pbxproj b/Examples/UIExplorer/UIExplorer.xcodeproj/project.pbxproj index e4a33a8fe..67dff6a4d 100644 --- a/Examples/UIExplorer/UIExplorer.xcodeproj/project.pbxproj +++ b/Examples/UIExplorer/UIExplorer.xcodeproj/project.pbxproj @@ -58,6 +58,50 @@ 272E6B3F1BEA849E001FCF37 /* UpdatePropertiesExampleView.m in Sources */ = {isa = PBXBuildFile; fileRef = 272E6B3C1BEA849E001FCF37 /* UpdatePropertiesExampleView.m */; }; 27B885561BED29AF00008352 /* RCTRootViewIntegrationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 27B885551BED29AF00008352 /* RCTRootViewIntegrationTests.m */; }; 27F441EC1BEBE5030039B79C /* FlexibleSizeExampleView.m in Sources */ = {isa = PBXBuildFile; fileRef = 27F441E81BEBE5030039B79C /* FlexibleSizeExampleView.m */; }; + 2D4624FA1DA2EAC300C74D09 /* RCTLoggingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D299BAE1D33EBFA00FA1057 /* RCTLoggingTests.m */; }; + 2D4624FB1DA2EAC300C74D09 /* RCTRootViewIntegrationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 27B885551BED29AF00008352 /* RCTRootViewIntegrationTests.m */; }; + 2D4624FC1DA2EAC300C74D09 /* UIExplorerIntegrationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DB99D0B1BA0340600302749 /* UIExplorerIntegrationTests.m */; }; + 2D4624FD1DA2EAC300C74D09 /* UIExplorerSnapshotTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 143BC5A01B21E45C00462512 /* UIExplorerSnapshotTests.m */; }; + 2D4624FE1DA2EAC300C74D09 /* RCTUIManagerScenarioTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 83636F8E1B53F22C009F943E /* RCTUIManagerScenarioTests.m */; }; + 2D4625351DA2EBBE00C74D09 /* libRCTTest-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2DD323CC1DA2DD8B000FE1B8 /* libRCTTest-tvOS.a */; }; + 2D4BD8D21DA2E20D005AC8A8 /* RCTURLUtilsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B6C1A21C34225900D3FAF5 /* RCTURLUtilsTests.m */; }; + 2D4BD8D31DA2E20D005AC8A8 /* RCTBundleURLProviderTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 68FF44371CF6111500720EFD /* RCTBundleURLProviderTests.m */; }; + 2D4BD8D41DA2E20D005AC8A8 /* RCTAllocationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1497CFA41B21F5E400C1F8F2 /* RCTAllocationTests.m */; }; + 2D4BD8D51DA2E20D005AC8A8 /* RCTBridgeTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1497CFA51B21F5E400C1F8F2 /* RCTBridgeTests.m */; }; + 2D4BD8D61DA2E20D005AC8A8 /* RCTJSCExecutorTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1497CFA61B21F5E400C1F8F2 /* RCTJSCExecutorTests.m */; }; + 2D4BD8D71DA2E20D005AC8A8 /* RCTConvert_NSURLTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1497CFA71B21F5E400C1F8F2 /* RCTConvert_NSURLTests.m */; }; + 2D4BD8D81DA2E20D005AC8A8 /* RCTFontTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1497CFA81B21F5E400C1F8F2 /* RCTFontTests.m */; }; + 2D4BD8D91DA2E20D005AC8A8 /* RCTEventDispatcherTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1497CFA91B21F5E400C1F8F2 /* RCTEventDispatcherTests.m */; }; + 2D4BD8DA1DA2E20D005AC8A8 /* RCTGzipTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1300627E1B59179B0043FE5A /* RCTGzipTests.m */; }; + 2D4BD8DB1DA2E20D005AC8A8 /* RCTImageLoaderHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 8385CF031B87479200C6273E /* RCTImageLoaderHelpers.m */; }; + 2D4BD8DC1DA2E20D005AC8A8 /* RCTImageLoaderTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 8385CEF41B873B5C00C6273E /* RCTImageLoaderTests.m */; }; + 2D4BD8DD1DA2E20D005AC8A8 /* RCTImageUtilTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 144D21231B2204C5006DB32B /* RCTImageUtilTests.m */; }; + 2D4BD8DE1DA2E20D005AC8A8 /* RCTJSONTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 13DB03471B5D2ED500C27245 /* RCTJSONTests.m */; }; + 2D4BD8DF1DA2E20D005AC8A8 /* RCTMethodArgumentTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 13DF61B51B67A45000EDB188 /* RCTMethodArgumentTests.m */; }; + 2D4BD8E01DA2E20D005AC8A8 /* RCTModuleInitTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 134CB9291C85A38800265FA6 /* RCTModuleInitTests.m */; }; + 2D4BD8E11DA2E20D005AC8A8 /* RCTModuleInitNotificationRaceTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 13129DD31C85F87C007D611C /* RCTModuleInitNotificationRaceTests.m */; }; + 2D4BD8E21DA2E20D005AC8A8 /* RCTModuleMethodTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1393D0371B68CD1300E1B601 /* RCTModuleMethodTests.m */; }; + 2D4BD8E31DA2E20D005AC8A8 /* RCTShadowViewTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 138D6A161B53CD440074A87E /* RCTShadowViewTests.m */; }; + 2D4BD8E41DA2E20D005AC8A8 /* RCTUIManagerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1497CFAB1B21F5E400C1F8F2 /* RCTUIManagerTests.m */; }; + 2D4BD8E51DA2E20D005AC8A8 /* RCTComponentPropsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 13BCE84E1C9C209600DD7AAD /* RCTComponentPropsTests.m */; }; + 2D4BD8E61DA2E20D005AC8A8 /* TestBundle.js in Resources */ = {isa = PBXBuildFile; fileRef = 3DD981D51D33C6FB007DC7BE /* TestBundle.js */; }; + 2D4BD8E71DA2E20D005AC8A8 /* libOCMock.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 14D6D7101B220EB3001FB087 /* libOCMock.a */; }; + 2D8C2E321DA40403000EE098 /* RCTMultipartStreamReaderTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 001BFCE31D838343008E587E /* RCTMultipartStreamReaderTests.m */; }; + 2DD323DC1DA2DDBF000FE1B8 /* FlexibleSizeExampleView.m in Sources */ = {isa = PBXBuildFile; fileRef = 27F441E81BEBE5030039B79C /* FlexibleSizeExampleView.m */; }; + 2DD323DD1DA2DDBF000FE1B8 /* UpdatePropertiesExampleView.m in Sources */ = {isa = PBXBuildFile; fileRef = 272E6B3C1BEA849E001FCF37 /* UpdatePropertiesExampleView.m */; }; + 2DD323DE1DA2DDBF000FE1B8 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; + 2DD323DF1DA2DDBF000FE1B8 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; + 2DD323E01DA2DDBF000FE1B8 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; + 2DD323E11DA2DDBF000FE1B8 /* legacy_image@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D2AFAF41D646CF80089D1A3 /* legacy_image@2x.png */; }; + 2DD323E21DA2DDBF000FE1B8 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB61A68108700A75B9A /* Info.plist */; }; + 2DD323E31DA2DE3F000FE1B8 /* libRCTAnimation-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2DD323B51DA2DD8B000FE1B8 /* libRCTAnimation-tvOS.a */; }; + 2DD323E41DA2DE3F000FE1B8 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2DD323BB1DA2DD8B000FE1B8 /* libRCTImage-tvOS.a */; }; + 2DD323E51DA2DE3F000FE1B8 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2DD323BF1DA2DD8B000FE1B8 /* libRCTLinking-tvOS.a */; }; + 2DD323E61DA2DE3F000FE1B8 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2DD323C31DA2DD8B000FE1B8 /* libRCTNetwork-tvOS.a */; }; + 2DD323E71DA2DE3F000FE1B8 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2DD323C81DA2DD8B000FE1B8 /* libRCTSettings-tvOS.a */; }; + 2DD323E81DA2DE3F000FE1B8 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2DD323D01DA2DD8B000FE1B8 /* libRCTText-tvOS.a */; }; + 2DD323E91DA2DE3F000FE1B8 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2DD323D51DA2DD8B000FE1B8 /* libRCTWebSocket-tvOS.a */; }; + 2DD323EA1DA2DE3F000FE1B8 /* libReact-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2DD323D91DA2DD8B000FE1B8 /* libReact-tvOS.a */; }; 3578590A1B28D2CF00341EDB /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 357859011B28D2C500341EDB /* libRCTLinking.a */; }; 3D13F8481D6F6AF900E69E0E /* ImageInBundle.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D13F8441D6F6AF200E69E0E /* ImageInBundle.png */; }; 3D13F84A1D6F6AFD00E69E0E /* OtherImages.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3D13F8451D6F6AF200E69E0E /* OtherImages.xcassets */; }; @@ -159,6 +203,83 @@ remoteGlobalIDString = 134814201AA4EA6300B7C361; remoteInfo = RCTPushNotification; }; + 2D4624C31DA2EA6900C74D09 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2DD3238F1DA2DD8A000FE1B8; + remoteInfo = "UIExplorer-tvOS"; + }; + 2DD323A61DA2DD8B000FE1B8 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2DD3238F1DA2DD8A000FE1B8; + remoteInfo = "UIExplorer-tvOS"; + }; + 2DD323B41DA2DD8B000FE1B8 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 13E5019C1D07A502005F35D8 /* RCTAnimation.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 2D2A28201D9B03D100D4039D; + remoteInfo = "RCTAnimation-tvOS"; + }; + 2DD323BA1DA2DD8B000FE1B8 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 13417FE31AA91428003F314A /* RCTImage.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; + remoteInfo = "RCTImage-tvOS"; + }; + 2DD323BE1DA2DD8B000FE1B8 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 357858F81B28D2C400341EDB /* RCTLinking.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 2D2A28471D9B043800D4039D; + remoteInfo = "RCTLinking-tvOS"; + }; + 2DD323C21DA2DD8B000FE1B8 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 134180261AA91779003F314A /* RCTNetwork.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 2D2A28541D9B044C00D4039D; + remoteInfo = "RCTNetwork-tvOS"; + }; + 2DD323C71DA2DD8B000FE1B8 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 13CC9D481AEED2B90020D1C2 /* RCTSettings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 2D2A28611D9B046600D4039D; + remoteInfo = "RCTSettings-tvOS"; + }; + 2DD323CB1DA2DD8B000FE1B8 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 58005BE41ABA80530062E044 /* RCTTest.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 2D2A286E1D9B047700D4039D; + remoteInfo = "RCTTest-tvOS"; + }; + 2DD323CF1DA2DD8B000FE1B8 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 13417FEA1AA914B8003F314A /* RCTText.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 2D2A287B1D9B048500D4039D; + remoteInfo = "RCTText-tvOS"; + }; + 2DD323D41DA2DD8B000FE1B8 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 139FDECA1B0651EA00C62182 /* RCTWebSocket.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 2D2A28881D9B049200D4039D; + remoteInfo = "RCTWebSocket-tvOS"; + }; + 2DD323D81DA2DD8B000FE1B8 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 14AADEFF1AC3DB95002390C9 /* React.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 2D2A28131D9B038B00D4039D; + remoteInfo = "React-tvOS"; + }; 357859001B28D2C500341EDB /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 357858F81B28D2C400341EDB /* RCTLinking.xcodeproj */; @@ -254,6 +375,10 @@ 27B885551BED29AF00008352 /* RCTRootViewIntegrationTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTRootViewIntegrationTests.m; sourceTree = ""; }; 27F441E81BEBE5030039B79C /* FlexibleSizeExampleView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FlexibleSizeExampleView.m; path = UIExplorer/NativeExampleViews/FlexibleSizeExampleView.m; sourceTree = ""; }; 27F441EA1BEBE5030039B79C /* FlexibleSizeExampleView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FlexibleSizeExampleView.h; path = UIExplorer/NativeExampleViews/FlexibleSizeExampleView.h; sourceTree = ""; }; + 2D4624E01DA2EA6900C74D09 /* UIExplorer-tvOSIntegrationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "UIExplorer-tvOSIntegrationTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 2DD323901DA2DD8A000FE1B8 /* UIExplorer-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "UIExplorer-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 2DD323A01DA2DD8B000FE1B8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 2DD323A51DA2DD8B000FE1B8 /* UIExplorer-tvOSUnitTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "UIExplorer-tvOSUnitTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 357858F81B28D2C400341EDB /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = ../../Libraries/LinkingIOS/RCTLinking.xcodeproj; sourceTree = ""; }; 3D13F83E1D6F6AE000E69E0E /* UIExplorerBundle.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = UIExplorerBundle.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 3D13F8401D6F6AE000E69E0E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = ../Info.plist; sourceTree = ""; }; @@ -322,6 +447,37 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 2D4624D91DA2EA6900C74D09 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D4625351DA2EBBE00C74D09 /* libRCTTest-tvOS.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2DD3238D1DA2DD8A000FE1B8 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2DD323E31DA2DE3F000FE1B8 /* libRCTAnimation-tvOS.a in Frameworks */, + 2DD323E41DA2DE3F000FE1B8 /* libRCTImage-tvOS.a in Frameworks */, + 2DD323E51DA2DE3F000FE1B8 /* libRCTLinking-tvOS.a in Frameworks */, + 2DD323E61DA2DE3F000FE1B8 /* libRCTNetwork-tvOS.a in Frameworks */, + 2DD323E71DA2DE3F000FE1B8 /* libRCTSettings-tvOS.a in Frameworks */, + 2DD323E81DA2DE3F000FE1B8 /* libRCTText-tvOS.a in Frameworks */, + 2DD323E91DA2DE3F000FE1B8 /* libRCTWebSocket-tvOS.a in Frameworks */, + 2DD323EA1DA2DE3F000FE1B8 /* libReact-tvOS.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2DD323A21DA2DD8B000FE1B8 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D4BD8E71DA2E20D005AC8A8 /* libOCMock.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 3D13F83B1D6F6AE000E69E0E /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -367,6 +523,7 @@ isa = PBXGroup; children = ( 13417FE81AA91428003F314A /* libRCTImage.a */, + 2DD323BB1DA2DD8B000FE1B8 /* libRCTImage-tvOS.a */, ); name = Products; sourceTree = ""; @@ -375,6 +532,7 @@ isa = PBXGroup; children = ( 13417FEF1AA914B8003F314A /* libRCTText.a */, + 2DD323D01DA2DD8B000FE1B8 /* libRCTText-tvOS.a */, ); name = Products; sourceTree = ""; @@ -383,6 +541,7 @@ isa = PBXGroup; children = ( 1341802B1AA91779003F314A /* libRCTNetwork.a */, + 2DD323C31DA2DD8B000FE1B8 /* libRCTNetwork-tvOS.a */, ); name = Products; sourceTree = ""; @@ -415,6 +574,7 @@ isa = PBXGroup; children = ( 139FDED91B0651EA00C62182 /* libRCTWebSocket.a */, + 2DD323D51DA2DD8B000FE1B8 /* libRCTWebSocket-tvOS.a */, ); name = Products; sourceTree = ""; @@ -437,6 +597,7 @@ isa = PBXGroup; children = ( 13E501A31D07A502005F35D8 /* libRCTAnimation.a */, + 2DD323B51DA2DD8B000FE1B8 /* libRCTAnimation-tvOS.a */, ); name = Products; sourceTree = ""; @@ -507,6 +668,7 @@ isa = PBXGroup; children = ( 14AADF041AC3DB95002390C9 /* libReact.a */, + 2DD323D91DA2DD8B000FE1B8 /* libReact-tvOS.a */, ); name = Products; sourceTree = ""; @@ -553,10 +715,19 @@ name = NativeExampleViews; sourceTree = ""; }; + 2DD323911DA2DD8B000FE1B8 /* UIExplorer-tvOS */ = { + isa = PBXGroup; + children = ( + 2DD323A01DA2DD8B000FE1B8 /* Info.plist */, + ); + path = "UIExplorer-tvOS"; + sourceTree = ""; + }; 357858F91B28D2C400341EDB /* Products */ = { isa = PBXGroup; children = ( 357859011B28D2C500341EDB /* libRCTLinking.a */, + 2DD323BF1DA2DD8B000FE1B8 /* libRCTLinking-tvOS.a */, ); name = Products; sourceTree = ""; @@ -576,6 +747,7 @@ isa = PBXGroup; children = ( 58005BEE1ABA80530062E044 /* libRCTTest.a */, + 2DD323CC1DA2DD8B000FE1B8 /* libRCTTest-tvOS.a */, ); name = Products; sourceTree = ""; @@ -584,6 +756,7 @@ isa = PBXGroup; children = ( 834C36D21AF8DA610019C93C /* libRCTSettings.a */, + 2DD323C81DA2DD8B000FE1B8 /* libRCTSettings-tvOS.a */, ); name = Products; sourceTree = ""; @@ -597,6 +770,7 @@ 143BC5961B21E3E100462512 /* UIExplorerIntegrationTests */, 3D13F83F1D6F6AE000E69E0E /* UIExplorerBundle */, 14D6D6EA1B2205C0001FB087 /* OCMock */, + 2DD323911DA2DD8B000FE1B8 /* UIExplorer-tvOS */, 83CBBA001A601CBA00E9B192 /* Products */, ); indentWidth = 2; @@ -610,6 +784,9 @@ 004D289E1AAF61C70097A701 /* UIExplorerUnitTests.xctest */, 143BC5951B21E3E100462512 /* UIExplorerIntegrationTests.xctest */, 3D13F83E1D6F6AE000E69E0E /* UIExplorerBundle.bundle */, + 2DD323901DA2DD8A000FE1B8 /* UIExplorer-tvOS.app */, + 2DD323A51DA2DD8B000FE1B8 /* UIExplorer-tvOSUnitTests.xctest */, + 2D4624E01DA2EA6900C74D09 /* UIExplorer-tvOSIntegrationTests.xctest */, ); name = Products; sourceTree = ""; @@ -679,6 +856,60 @@ productReference = 143BC5951B21E3E100462512 /* UIExplorerIntegrationTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; + 2D4624C11DA2EA6900C74D09 /* UIExplorer-tvOSIntegrationTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2D4624DD1DA2EA6900C74D09 /* Build configuration list for PBXNativeTarget "UIExplorer-tvOSIntegrationTests" */; + buildPhases = ( + 2D4624C41DA2EA6900C74D09 /* Sources */, + 2D4624D91DA2EA6900C74D09 /* Frameworks */, + 2D4624DB1DA2EA6900C74D09 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 2D4624C21DA2EA6900C74D09 /* PBXTargetDependency */, + ); + name = "UIExplorer-tvOSIntegrationTests"; + productName = "UIExplorer-tvOSUnitTests"; + productReference = 2D4624E01DA2EA6900C74D09 /* UIExplorer-tvOSIntegrationTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 2DD3238F1DA2DD8A000FE1B8 /* UIExplorer-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2DD323DA1DA2DD8B000FE1B8 /* Build configuration list for PBXNativeTarget "UIExplorer-tvOS" */; + buildPhases = ( + 2DD3238C1DA2DD8A000FE1B8 /* Sources */, + 2DD3238D1DA2DD8A000FE1B8 /* Frameworks */, + 2DD3238E1DA2DD8A000FE1B8 /* Resources */, + 2DD323EB1DA2DEC1000FE1B8 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "UIExplorer-tvOS"; + productName = "UIExplorer-tvOS"; + productReference = 2DD323901DA2DD8A000FE1B8 /* UIExplorer-tvOS.app */; + productType = "com.apple.product-type.application"; + }; + 2DD323A41DA2DD8B000FE1B8 /* UIExplorer-tvOSUnitTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2DD323DB1DA2DD8B000FE1B8 /* Build configuration list for PBXNativeTarget "UIExplorer-tvOSUnitTests" */; + buildPhases = ( + 2DD323A11DA2DD8B000FE1B8 /* Sources */, + 2DD323A21DA2DD8B000FE1B8 /* Frameworks */, + 2DD323A31DA2DD8B000FE1B8 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 2DD323A71DA2DD8B000FE1B8 /* PBXTargetDependency */, + ); + name = "UIExplorer-tvOSUnitTests"; + productName = "UIExplorer-tvOSUnitTests"; + productReference = 2DD323A51DA2DD8B000FE1B8 /* UIExplorer-tvOSUnitTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; 3D13F83D1D6F6AE000E69E0E /* UIExplorerBundle */ = { isa = PBXNativeTarget; buildConfigurationList = 3D13F8411D6F6AE000E69E0E /* Build configuration list for PBXNativeTarget "UIExplorerBundle" */; @@ -712,6 +943,15 @@ CreatedOnToolsVersion = 6.3.2; TestTargetID = 13B07F861A680F5B00A75B9A; }; + 2DD3238F1DA2DD8A000FE1B8 = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + }; + 2DD323A41DA2DD8B000FE1B8 = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + TestTargetID = 2DD3238F1DA2DD8A000FE1B8; + }; 3D13F83D1D6F6AE000E69E0E = { CreatedOnToolsVersion = 7.3.1; }; @@ -796,6 +1036,9 @@ 004D289D1AAF61C70097A701 /* UIExplorerUnitTests */, 143BC5941B21E3E100462512 /* UIExplorerIntegrationTests */, 3D13F83D1D6F6AE000E69E0E /* UIExplorerBundle */, + 2DD3238F1DA2DD8A000FE1B8 /* UIExplorer-tvOS */, + 2DD323A41DA2DD8B000FE1B8 /* UIExplorer-tvOSUnitTests */, + 2D4624C11DA2EA6900C74D09 /* UIExplorer-tvOSIntegrationTests */, ); }; /* End PBXProject section */ @@ -878,6 +1121,69 @@ remoteRef = 14DC67F01AB71876001358AB /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; + 2DD323B51DA2DD8B000FE1B8 /* libRCTAnimation-tvOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libRCTAnimation-tvOS.a"; + remoteRef = 2DD323B41DA2DD8B000FE1B8 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 2DD323BB1DA2DD8B000FE1B8 /* libRCTImage-tvOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libRCTImage-tvOS.a"; + remoteRef = 2DD323BA1DA2DD8B000FE1B8 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 2DD323BF1DA2DD8B000FE1B8 /* libRCTLinking-tvOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libRCTLinking-tvOS.a"; + remoteRef = 2DD323BE1DA2DD8B000FE1B8 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 2DD323C31DA2DD8B000FE1B8 /* libRCTNetwork-tvOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libRCTNetwork-tvOS.a"; + remoteRef = 2DD323C21DA2DD8B000FE1B8 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 2DD323C81DA2DD8B000FE1B8 /* libRCTSettings-tvOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libRCTSettings-tvOS.a"; + remoteRef = 2DD323C71DA2DD8B000FE1B8 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 2DD323CC1DA2DD8B000FE1B8 /* libRCTTest-tvOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libRCTTest-tvOS.a"; + remoteRef = 2DD323CB1DA2DD8B000FE1B8 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 2DD323D01DA2DD8B000FE1B8 /* libRCTText-tvOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libRCTText-tvOS.a"; + remoteRef = 2DD323CF1DA2DD8B000FE1B8 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 2DD323D51DA2DD8B000FE1B8 /* libRCTWebSocket-tvOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libRCTWebSocket-tvOS.a"; + remoteRef = 2DD323D41DA2DD8B000FE1B8 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 2DD323D91DA2DD8B000FE1B8 /* libReact-tvOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libReact-tvOS.a"; + remoteRef = 2DD323D81DA2DD8B000FE1B8 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; 357859011B28D2C500341EDB /* libRCTLinking.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; @@ -935,6 +1241,31 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 2D4624DB1DA2EA6900C74D09 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2DD3238E1DA2DD8A000FE1B8 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2DD323DF1DA2DDBF000FE1B8 /* Images.xcassets in Resources */, + 2DD323E11DA2DDBF000FE1B8 /* legacy_image@2x.png in Resources */, + 2DD323E21DA2DDBF000FE1B8 /* Info.plist in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2DD323A31DA2DD8B000FE1B8 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D4BD8E61DA2E20D005AC8A8 /* TestBundle.js in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 3D13F83C1D6F6AE000E69E0E /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -947,6 +1278,19 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ + 2DD323EB1DA2DEC1000FE1B8 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "export NODE_BINARY=node\n$SRCROOT/../../packager/react-native-xcode.sh Examples/UIExplorer/js/UIExplorerApp.ios.js"; + }; 68CD48B71D2BCB2C007E06A9 /* Run Script */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -1015,6 +1359,57 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 2D4624C41DA2EA6900C74D09 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D4624FC1DA2EAC300C74D09 /* UIExplorerIntegrationTests.m in Sources */, + 2D4624FA1DA2EAC300C74D09 /* RCTLoggingTests.m in Sources */, + 2D4624FE1DA2EAC300C74D09 /* RCTUIManagerScenarioTests.m in Sources */, + 2D4624FD1DA2EAC300C74D09 /* UIExplorerSnapshotTests.m in Sources */, + 2D4624FB1DA2EAC300C74D09 /* RCTRootViewIntegrationTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2DD3238C1DA2DD8A000FE1B8 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2DD323DC1DA2DDBF000FE1B8 /* FlexibleSizeExampleView.m in Sources */, + 2DD323DD1DA2DDBF000FE1B8 /* UpdatePropertiesExampleView.m in Sources */, + 2DD323E01DA2DDBF000FE1B8 /* main.m in Sources */, + 2DD323DE1DA2DDBF000FE1B8 /* AppDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2DD323A11DA2DD8B000FE1B8 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D4BD8DC1DA2E20D005AC8A8 /* RCTImageLoaderTests.m in Sources */, + 2D4BD8D51DA2E20D005AC8A8 /* RCTBridgeTests.m in Sources */, + 2D4BD8D91DA2E20D005AC8A8 /* RCTEventDispatcherTests.m in Sources */, + 2D4BD8D41DA2E20D005AC8A8 /* RCTAllocationTests.m in Sources */, + 2D4BD8DA1DA2E20D005AC8A8 /* RCTGzipTests.m in Sources */, + 2D4BD8DB1DA2E20D005AC8A8 /* RCTImageLoaderHelpers.m in Sources */, + 2D4BD8E51DA2E20D005AC8A8 /* RCTComponentPropsTests.m in Sources */, + 2D4BD8D71DA2E20D005AC8A8 /* RCTConvert_NSURLTests.m in Sources */, + 2D4BD8E21DA2E20D005AC8A8 /* RCTModuleMethodTests.m in Sources */, + 2D4BD8E11DA2E20D005AC8A8 /* RCTModuleInitNotificationRaceTests.m in Sources */, + 2D4BD8DF1DA2E20D005AC8A8 /* RCTMethodArgumentTests.m in Sources */, + 2D4BD8D61DA2E20D005AC8A8 /* RCTJSCExecutorTests.m in Sources */, + 2D4BD8D31DA2E20D005AC8A8 /* RCTBundleURLProviderTests.m in Sources */, + 2D4BD8D21DA2E20D005AC8A8 /* RCTURLUtilsTests.m in Sources */, + 2D8C2E321DA40403000EE098 /* RCTMultipartStreamReaderTests.m in Sources */, + 2D4BD8DE1DA2E20D005AC8A8 /* RCTJSONTests.m in Sources */, + 2D4BD8E31DA2E20D005AC8A8 /* RCTShadowViewTests.m in Sources */, + 2D4BD8D81DA2E20D005AC8A8 /* RCTFontTests.m in Sources */, + 2D4BD8DD1DA2E20D005AC8A8 /* RCTImageUtilTests.m in Sources */, + 2D4BD8E41DA2E20D005AC8A8 /* RCTUIManagerTests.m in Sources */, + 2D4BD8E01DA2E20D005AC8A8 /* RCTModuleInitTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 3D13F83A1D6F6AE000E69E0E /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -1030,6 +1425,16 @@ target = 13B07F861A680F5B00A75B9A /* UIExplorer */; targetProxy = 143BC59B1B21E3E100462512 /* PBXContainerItemProxy */; }; + 2D4624C21DA2EA6900C74D09 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2DD3238F1DA2DD8A000FE1B8 /* UIExplorer-tvOS */; + targetProxy = 2D4624C31DA2EA6900C74D09 /* PBXContainerItemProxy */; + }; + 2DD323A71DA2DD8B000FE1B8 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2DD3238F1DA2DD8A000FE1B8 /* UIExplorer-tvOS */; + targetProxy = 2DD323A61DA2DD8B000FE1B8 /* PBXContainerItemProxy */; + }; 3D13F84C1D6F6B5F00E69E0E /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 3D13F83D1D6F6AE000E69E0E /* UIExplorerBundle */; @@ -1165,6 +1570,169 @@ }; name = Release; }; + 2D4624DE1DA2EA6900C74D09 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "FB_REFERENCE_IMAGE_DIR=\"\\\"$(SOURCE_ROOT)/$(PROJECT_NAME)IntegrationTests/ReferenceImages\\\"\"", + ); + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + "$(SRCROOT)/../../Libraries/**", + ); + INFOPLIST_FILE = UIExplorerIntegrationTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/UIExplorerUnitTests", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.UIExplorer-tvOSIntegrationTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/UIExplorer-tvOS.app/UIExplorer-tvOS"; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Debug; + }; + 2D4624DF1DA2EA6900C74D09 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + "$(SRCROOT)/../../Libraries/**", + ); + INFOPLIST_FILE = UIExplorerIntegrationTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/UIExplorerUnitTests", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.UIExplorer-tvOSIntegrationTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/UIExplorer-tvOS.app/UIExplorer-tvOS"; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Release; + }; + 2DD323AC1DA2DD8B000FE1B8 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "UIExplorer-tvOS/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.UIExplorer-tvOS"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Debug; + }; + 2DD323AD1DA2DD8B000FE1B8 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "UIExplorer-tvOS/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.UIExplorer-tvOS"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Release; + }; + 2DD323AE1DA2DD8B000FE1B8 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + "$(SRCROOT)/../../Libraries/**", + "$(SRCROOT)/UIExplorerUnitTests", + ); + INFOPLIST_FILE = UIExplorerUnitTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/UIExplorerUnitTests", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.UIExplorer-tvOSUnitTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/UIExplorer-tvOS.app/UIExplorer-tvOS"; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Debug; + }; + 2DD323AF1DA2DD8B000FE1B8 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + "$(SRCROOT)/../../Libraries/**", + "$(SRCROOT)/UIExplorerUnitTests", + ); + INFOPLIST_FILE = UIExplorerUnitTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/UIExplorerUnitTests", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.UIExplorer-tvOSUnitTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/UIExplorer-tvOS.app/UIExplorer-tvOS"; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Release; + }; 3D13F8421D6F6AE000E69E0E /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -1360,6 +1928,33 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 2D4624DD1DA2EA6900C74D09 /* Build configuration list for PBXNativeTarget "UIExplorer-tvOSIntegrationTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2D4624DE1DA2EA6900C74D09 /* Debug */, + 2D4624DF1DA2EA6900C74D09 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2DD323DA1DA2DD8B000FE1B8 /* Build configuration list for PBXNativeTarget "UIExplorer-tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2DD323AC1DA2DD8B000FE1B8 /* Debug */, + 2DD323AD1DA2DD8B000FE1B8 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2DD323DB1DA2DD8B000FE1B8 /* Build configuration list for PBXNativeTarget "UIExplorer-tvOSUnitTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2DD323AE1DA2DD8B000FE1B8 /* Debug */, + 2DD323AF1DA2DD8B000FE1B8 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 3D13F8411D6F6AE000E69E0E /* Build configuration list for PBXNativeTarget "UIExplorerBundle" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/Examples/UIExplorer/UIExplorer.xcodeproj/xcshareddata/xcschemes/UIExplorer-tvOS.xcscheme b/Examples/UIExplorer/UIExplorer.xcodeproj/xcshareddata/xcschemes/UIExplorer-tvOS.xcscheme new file mode 100644 index 000000000..86b08cc46 --- /dev/null +++ b/Examples/UIExplorer/UIExplorer.xcodeproj/xcshareddata/xcschemes/UIExplorer-tvOS.xcscheme @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Examples/UIExplorer/UIExplorer/Images.xcassets/AppIcon.appiconset/Contents.json b/Examples/UIExplorer/UIExplorer/Images.xcassets/AppIcon.appiconset/Contents.json index 6654cff6e..7accb5223 100644 --- a/Examples/UIExplorer/UIExplorer/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/Examples/UIExplorer/UIExplorer/Images.xcassets/AppIcon.appiconset/Contents.json @@ -1,5 +1,15 @@ { "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, { "size" : "29x29", "idiom" : "iphone", @@ -41,4 +51,4 @@ "version" : 1, "author" : "xcode" } -} +} \ No newline at end of file diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testSimpleSnapshotTest_1_tvOS.png b/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testSimpleSnapshotTest_1_tvOS.png new file mode 100644 index 000000000..9bf3fadcc Binary files /dev/null and b/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testSimpleSnapshotTest_1_tvOS.png differ diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerSnapshotTests.m b/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerSnapshotTests.m index d3a726338..e4122e0c1 100644 --- a/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerSnapshotTests.m +++ b/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerSnapshotTests.m @@ -45,12 +45,14 @@ [_runner runTest:_cmd module:@#name]; \ } +#if !TARGET_OS_TV // None of these will run in tvOS due to StatusBar not existing RCT_TEST(ViewExample) RCT_TEST(LayoutExample) RCT_TEST(TextExample) RCT_TEST(SwitchExample) RCT_TEST(SliderExample) RCT_TEST(TabBarExample) +#endif - (void)testZZZNotInRecordMode { diff --git a/Libraries/Image/RCTImage.xcodeproj/project.pbxproj b/Libraries/Image/RCTImage.xcodeproj/project.pbxproj index 14471f66f..f1398a13a 100644 --- a/Libraries/Image/RCTImage.xcodeproj/project.pbxproj +++ b/Libraries/Image/RCTImage.xcodeproj/project.pbxproj @@ -14,6 +14,17 @@ 139A38841C4D587C00862840 /* RCTResizeMode.m in Sources */ = {isa = PBXBuildFile; fileRef = 139A38831C4D587C00862840 /* RCTResizeMode.m */; }; 13EF7F7F1BC825B1003F47DD /* RCTLocalAssetImageLoader.m in Sources */ = {isa = PBXBuildFile; fileRef = 13EF7F7E1BC825B1003F47DD /* RCTLocalAssetImageLoader.m */; }; 143879381AAD32A300F088A5 /* RCTImageLoader.m in Sources */ = {isa = PBXBuildFile; fileRef = 143879371AAD32A300F088A5 /* RCTImageLoader.m */; }; + 2D3B5F1A1D9B0D0400451313 /* RCTImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = CCD34C261D4B8FE900268922 /* RCTImageCache.m */; }; + 2D3B5F1B1D9B0D0700451313 /* RCTImageBlurUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = EEF314711C9B0DD30049118E /* RCTImageBlurUtils.m */; }; + 2D3B5F1C1D9B0D1300451313 /* RCTResizeMode.m in Sources */ = {isa = PBXBuildFile; fileRef = 139A38831C4D587C00862840 /* RCTResizeMode.m */; }; + 2D3B5F1D1D9B0D1300451313 /* RCTLocalAssetImageLoader.m in Sources */ = {isa = PBXBuildFile; fileRef = 13EF7F7E1BC825B1003F47DD /* RCTLocalAssetImageLoader.m */; }; + 2D3B5F1E1D9B0D1300451313 /* RCTGIFImageDecoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 1304D5B11AA8C50D0002E2BE /* RCTGIFImageDecoder.m */; }; + 2D3B5F1F1D9B0D1300451313 /* RCTImageEditingManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 354631671B69857700AA0B86 /* RCTImageEditingManager.m */; }; + 2D3B5F201D9B0D1300451313 /* RCTImageLoader.m in Sources */ = {isa = PBXBuildFile; fileRef = 143879371AAD32A300F088A5 /* RCTImageLoader.m */; }; + 2D3B5F211D9B0D1300451313 /* RCTImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 1304D5A81AA8C4A30002E2BE /* RCTImageView.m */; }; + 2D3B5F221D9B0D1300451313 /* RCTImageViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 1304D5AA1AA8C4A30002E2BE /* RCTImageViewManager.m */; }; + 2D3B5F231D9B0D1300451313 /* RCTImageStoreManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 35123E6A1B59C99D00EBAD80 /* RCTImageStoreManager.m */; }; + 2D3B5F241D9B0D1300451313 /* RCTImageUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 134B00A11B54232B00EC8DFB /* RCTImageUtils.m */; }; 35123E6B1B59C99D00EBAD80 /* RCTImageStoreManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 35123E6A1B59C99D00EBAD80 /* RCTImageStoreManager.m */; }; 354631681B69857700AA0B86 /* RCTImageEditingManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 354631671B69857700AA0B86 /* RCTImageEditingManager.m */; }; CCD34C271D4B8FE900268922 /* RCTImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = CCD34C261D4B8FE900268922 /* RCTImageCache.m */; }; @@ -21,6 +32,15 @@ /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ + 2D2A28381D9B042B00D4039D /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "include/$(PRODUCT_NAME)"; + dstSubfolderSpec = 16; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B5115B1A9E6B3D00147676 /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; @@ -47,6 +67,7 @@ 13EF7F7E1BC825B1003F47DD /* RCTLocalAssetImageLoader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTLocalAssetImageLoader.m; sourceTree = ""; }; 143879361AAD32A300F088A5 /* RCTImageLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTImageLoader.h; sourceTree = ""; }; 143879371AAD32A300F088A5 /* RCTImageLoader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTImageLoader.m; sourceTree = ""; }; + 2D2A283A1D9B042B00D4039D /* libRCTImage-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libRCTImage-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 35123E691B59C99D00EBAD80 /* RCTImageStoreManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTImageStoreManager.h; sourceTree = ""; }; 35123E6A1B59C99D00EBAD80 /* RCTImageStoreManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTImageStoreManager.m; sourceTree = ""; }; 354631661B69857700AA0B86 /* RCTImageEditingManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTImageEditingManager.h; sourceTree = ""; }; @@ -59,6 +80,13 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 2D2A28371D9B042B00D4039D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B5115A1A9E6B3D00147676 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -104,6 +132,7 @@ isa = PBXGroup; children = ( 58B5115D1A9E6B3D00147676 /* libRCTImage.a */, + 2D2A283A1D9B042B00D4039D /* libRCTImage-tvOS.a */, ); name = Products; sourceTree = ""; @@ -111,6 +140,23 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 2D2A28391D9B042B00D4039D /* RCTImage-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2D2A28421D9B042B00D4039D /* Build configuration list for PBXNativeTarget "RCTImage-tvOS" */; + buildPhases = ( + 2D2A28361D9B042B00D4039D /* Sources */, + 2D2A28371D9B042B00D4039D /* Frameworks */, + 2D2A28381D9B042B00D4039D /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "RCTImage-tvOS"; + productName = "RCTImage-tvOS"; + productReference = 2D2A283A1D9B042B00D4039D /* libRCTImage-tvOS.a */; + productType = "com.apple.product-type.library.static"; + }; 58B5115C1A9E6B3D00147676 /* RCTImage */ = { isa = PBXNativeTarget; buildConfigurationList = 58B511711A9E6B3D00147676 /* Build configuration list for PBXNativeTarget "RCTImage" */; @@ -137,6 +183,10 @@ LastUpgradeCheck = 0610; ORGANIZATIONNAME = Facebook; TargetAttributes = { + 2D2A28391D9B042B00D4039D = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + }; 58B5115C1A9E6B3D00147676 = { CreatedOnToolsVersion = 6.1.1; }; @@ -155,11 +205,30 @@ projectRoot = ""; targets = ( 58B5115C1A9E6B3D00147676 /* RCTImage */, + 2D2A28391D9B042B00D4039D /* RCTImage-tvOS */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ + 2D2A28361D9B042B00D4039D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D3B5F231D9B0D1300451313 /* RCTImageStoreManager.m in Sources */, + 2D3B5F1A1D9B0D0400451313 /* RCTImageCache.m in Sources */, + 2D3B5F1D1D9B0D1300451313 /* RCTLocalAssetImageLoader.m in Sources */, + 2D3B5F1F1D9B0D1300451313 /* RCTImageEditingManager.m in Sources */, + 2D3B5F1E1D9B0D1300451313 /* RCTGIFImageDecoder.m in Sources */, + 2D3B5F1C1D9B0D1300451313 /* RCTResizeMode.m in Sources */, + 2D3B5F221D9B0D1300451313 /* RCTImageViewManager.m in Sources */, + 2D3B5F211D9B0D1300451313 /* RCTImageView.m in Sources */, + 2D3B5F201D9B0D1300451313 /* RCTImageLoader.m in Sources */, + 2D3B5F1B1D9B0D0700451313 /* RCTImageBlurUtils.m in Sources */, + 2D3B5F241D9B0D1300451313 /* RCTImageUtils.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511591A9E6B3D00147676 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -181,6 +250,54 @@ /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ + 2D2A28401D9B042B00D4039D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_TESTABILITY = YES; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + "$(SRCROOT)/../Network/**", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Debug; + }; + 2D2A28411D9B042B00D4039D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + "$(SRCROOT)/../Network/**", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Release; + }; 58B5116F1A9E6B3D00147676 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -312,6 +429,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 2D2A28421D9B042B00D4039D /* Build configuration list for PBXNativeTarget "RCTImage-tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2D2A28401D9B042B00D4039D /* Debug */, + 2D2A28411D9B042B00D4039D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 58B511581A9E6B3D00147676 /* Build configuration list for PBXProject "RCTImage" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/Libraries/LinkingIOS/RCTLinking.xcodeproj/project.pbxproj b/Libraries/LinkingIOS/RCTLinking.xcodeproj/project.pbxproj index 788fda101..dafbb18a9 100644 --- a/Libraries/LinkingIOS/RCTLinking.xcodeproj/project.pbxproj +++ b/Libraries/LinkingIOS/RCTLinking.xcodeproj/project.pbxproj @@ -8,9 +8,19 @@ /* Begin PBXBuildFile section */ 148699CF1ABD045300480536 /* RCTLinkingManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 148699CE1ABD045300480536 /* RCTLinkingManager.m */; }; + 2D3B5F251D9B0DE600451313 /* RCTLinkingManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 148699CE1ABD045300480536 /* RCTLinkingManager.m */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ + 2D2A28451D9B043800D4039D /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "include/$(PRODUCT_NAME)"; + dstSubfolderSpec = 16; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D91A9E6C8500147676 /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; @@ -26,9 +36,17 @@ 134814201AA4EA6300B7C361 /* libRCTLinking.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTLinking.a; sourceTree = BUILT_PRODUCTS_DIR; }; 148699CD1ABD045300480536 /* RCTLinkingManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTLinkingManager.h; sourceTree = ""; }; 148699CE1ABD045300480536 /* RCTLinkingManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTLinkingManager.m; sourceTree = ""; }; + 2D2A28471D9B043800D4039D /* libRCTLinking-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libRCTLinking-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 2D2A28441D9B043800D4039D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D81A9E6C8500147676 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -53,12 +71,30 @@ 148699CD1ABD045300480536 /* RCTLinkingManager.h */, 148699CE1ABD045300480536 /* RCTLinkingManager.m */, 134814211AA4EA7D00B7C361 /* Products */, + 2D2A28471D9B043800D4039D /* libRCTLinking-tvOS.a */, ); sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 2D2A28461D9B043800D4039D /* RCTLinking-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2D2A284F1D9B043800D4039D /* Build configuration list for PBXNativeTarget "RCTLinking-tvOS" */; + buildPhases = ( + 2D2A28431D9B043800D4039D /* Sources */, + 2D2A28441D9B043800D4039D /* Frameworks */, + 2D2A28451D9B043800D4039D /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "RCTLinking-tvOS"; + productName = "RCTLinking-tvOS"; + productReference = 2D2A28471D9B043800D4039D /* libRCTLinking-tvOS.a */; + productType = "com.apple.product-type.library.static"; + }; 58B511DA1A9E6C8500147676 /* RCTLinking */ = { isa = PBXNativeTarget; buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RCTLinking" */; @@ -85,6 +121,10 @@ LastUpgradeCheck = 0610; ORGANIZATIONNAME = Facebook; TargetAttributes = { + 2D2A28461D9B043800D4039D = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + }; 58B511DA1A9E6C8500147676 = { CreatedOnToolsVersion = 6.1.1; }; @@ -103,11 +143,20 @@ projectRoot = ""; targets = ( 58B511DA1A9E6C8500147676 /* RCTLinking */, + 2D2A28461D9B043800D4039D /* RCTLinking-tvOS */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ + 2D2A28431D9B043800D4039D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D3B5F251D9B0DE600451313 /* RCTLinkingManager.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D71A9E6C8500147676 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -119,6 +168,52 @@ /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ + 2D2A284D1D9B043800D4039D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_TESTABILITY = YES; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Debug; + }; + 2D2A284E1D9B043800D4039D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Release; + }; 58B511ED1A9E6C8500147676 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -236,6 +331,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 2D2A284F1D9B043800D4039D /* Build configuration list for PBXNativeTarget "RCTLinking-tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2D2A284D1D9B043800D4039D /* Debug */, + 2D2A284E1D9B043800D4039D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RCTLinking" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/Libraries/NativeAnimation/RCTAnimation.xcodeproj/project.pbxproj b/Libraries/NativeAnimation/RCTAnimation.xcodeproj/project.pbxproj index 7f6287106..b42e078f9 100644 --- a/Libraries/NativeAnimation/RCTAnimation.xcodeproj/project.pbxproj +++ b/Libraries/NativeAnimation/RCTAnimation.xcodeproj/project.pbxproj @@ -20,11 +20,35 @@ 13E501EF1D07A6C9005F35D8 /* RCTTransformAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E501E51D07A6C9005F35D8 /* RCTTransformAnimatedNode.m */; }; 13E501F01D07A6C9005F35D8 /* RCTValueAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E501E71D07A6C9005F35D8 /* RCTValueAnimatedNode.m */; }; 193F64F41D776EC6004D1CAA /* RCTDiffClampAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 193F64F31D776EC6004D1CAA /* RCTDiffClampAnimatedNode.m */; }; + 2D3B5EF21D9B0B3100451313 /* RCTAnimationUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E501B81D07A644005F35D8 /* RCTAnimationUtils.m */; }; + 2D3B5EF31D9B0B3400451313 /* RCTViewPropertyMapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E501C81D07A644005F35D8 /* RCTViewPropertyMapper.m */; }; + 2D3B5EF41D9B0B3700451313 /* RCTNativeAnimatedModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E501BE1D07A644005F35D8 /* RCTNativeAnimatedModule.m */; }; + 2D3B5EF51D9B0B4800451313 /* RCTDivisionAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 5C9894941D999639008027DB /* RCTDivisionAnimatedNode.m */; }; + 2D3B5EF61D9B0B4800451313 /* RCTDiffClampAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 193F64F31D776EC6004D1CAA /* RCTDiffClampAnimatedNode.m */; }; + 2D3B5EF71D9B0B4800451313 /* RCTAdditionAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E501D71D07A6C9005F35D8 /* RCTAdditionAnimatedNode.m */; }; + 2D3B5EF81D9B0B4800451313 /* RCTAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E501D91D07A6C9005F35D8 /* RCTAnimatedNode.m */; }; + 2D3B5EF91D9B0B4800451313 /* RCTAnimationDriverNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E501DB1D07A6C9005F35D8 /* RCTAnimationDriverNode.m */; }; + 2D3B5EFA1D9B0B4800451313 /* RCTInterpolationAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E501DD1D07A6C9005F35D8 /* RCTInterpolationAnimatedNode.m */; }; + 2D3B5EFB1D9B0B4800451313 /* RCTModuloAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 94DAE3F81D7334A70059942F /* RCTModuloAnimatedNode.m */; }; + 2D3B5EFC1D9B0B4800451313 /* RCTMultiplicationAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E501DF1D07A6C9005F35D8 /* RCTMultiplicationAnimatedNode.m */; }; + 2D3B5EFD1D9B0B4800451313 /* RCTPropsAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E501E11D07A6C9005F35D8 /* RCTPropsAnimatedNode.m */; }; + 2D3B5EFE1D9B0B4800451313 /* RCTStyleAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E501E31D07A6C9005F35D8 /* RCTStyleAnimatedNode.m */; }; + 2D3B5EFF1D9B0B4800451313 /* RCTTransformAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E501E51D07A6C9005F35D8 /* RCTTransformAnimatedNode.m */; }; + 2D3B5F001D9B0B4800451313 /* RCTValueAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E501E71D07A6C9005F35D8 /* RCTValueAnimatedNode.m */; }; 5C9894951D999639008027DB /* RCTDivisionAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 5C9894941D999639008027DB /* RCTDivisionAnimatedNode.m */; }; 94DAE3F91D7334A70059942F /* RCTModuloAnimatedNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 94DAE3F81D7334A70059942F /* RCTModuloAnimatedNode.m */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ + 2D2A281E1D9B03D100D4039D /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "include/$(PRODUCT_NAME)"; + dstSubfolderSpec = 16; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D91A9E6C8500147676 /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; @@ -64,6 +88,7 @@ 13E501E71D07A6C9005F35D8 /* RCTValueAnimatedNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTValueAnimatedNode.m; sourceTree = ""; }; 193F64F21D776EC6004D1CAA /* RCTDiffClampAnimatedNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTDiffClampAnimatedNode.h; sourceTree = ""; }; 193F64F31D776EC6004D1CAA /* RCTDiffClampAnimatedNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTDiffClampAnimatedNode.m; sourceTree = ""; }; + 2D2A28201D9B03D100D4039D /* libRCTAnimation-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libRCTAnimation-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 5C9894931D999639008027DB /* RCTDivisionAnimatedNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTDivisionAnimatedNode.h; sourceTree = ""; }; 5C9894941D999639008027DB /* RCTDivisionAnimatedNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTDivisionAnimatedNode.m; sourceTree = ""; }; 94DAE3F71D7334A70059942F /* RCTModuloAnimatedNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTModuloAnimatedNode.h; sourceTree = ""; }; @@ -71,6 +96,13 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 2D2A281D1D9B03D100D4039D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D81A9E6C8500147676 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -131,12 +163,30 @@ 13E501BE1D07A644005F35D8 /* RCTNativeAnimatedModule.m */, 13E501D51D07A6C9005F35D8 /* Nodes */, 134814211AA4EA7D00B7C361 /* Products */, + 2D2A28201D9B03D100D4039D /* libRCTAnimation-tvOS.a */, ); sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 2D2A281F1D9B03D100D4039D /* RCTAnimation-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2D2A28281D9B03D100D4039D /* Build configuration list for PBXNativeTarget "RCTAnimation-tvOS" */; + buildPhases = ( + 2D2A281C1D9B03D100D4039D /* Sources */, + 2D2A281D1D9B03D100D4039D /* Frameworks */, + 2D2A281E1D9B03D100D4039D /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "RCTAnimation-tvOS"; + productName = "RCTAnimation-tvOS"; + productReference = 2D2A28201D9B03D100D4039D /* libRCTAnimation-tvOS.a */; + productType = "com.apple.product-type.library.static"; + }; 58B511DA1A9E6C8500147676 /* RCTAnimation */ = { isa = PBXNativeTarget; buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RCTAnimation" */; @@ -163,6 +213,10 @@ LastUpgradeCheck = 0730; ORGANIZATIONNAME = Facebook; TargetAttributes = { + 2D2A281F1D9B03D100D4039D = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + }; 58B511DA1A9E6C8500147676 = { CreatedOnToolsVersion = 6.1.1; }; @@ -181,11 +235,34 @@ projectRoot = ""; targets = ( 58B511DA1A9E6C8500147676 /* RCTAnimation */, + 2D2A281F1D9B03D100D4039D /* RCTAnimation-tvOS */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ + 2D2A281C1D9B03D100D4039D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D3B5F001D9B0B4800451313 /* RCTValueAnimatedNode.m in Sources */, + 2D3B5EFB1D9B0B4800451313 /* RCTModuloAnimatedNode.m in Sources */, + 2D3B5EF21D9B0B3100451313 /* RCTAnimationUtils.m in Sources */, + 2D3B5EF51D9B0B4800451313 /* RCTDivisionAnimatedNode.m in Sources */, + 2D3B5EF71D9B0B4800451313 /* RCTAdditionAnimatedNode.m in Sources */, + 2D3B5EF41D9B0B3700451313 /* RCTNativeAnimatedModule.m in Sources */, + 2D3B5EF61D9B0B4800451313 /* RCTDiffClampAnimatedNode.m in Sources */, + 2D3B5EF81D9B0B4800451313 /* RCTAnimatedNode.m in Sources */, + 2D3B5EFE1D9B0B4800451313 /* RCTStyleAnimatedNode.m in Sources */, + 2D3B5EFA1D9B0B4800451313 /* RCTInterpolationAnimatedNode.m in Sources */, + 2D3B5EF91D9B0B4800451313 /* RCTAnimationDriverNode.m in Sources */, + 2D3B5EFF1D9B0B4800451313 /* RCTTransformAnimatedNode.m in Sources */, + 2D3B5EFC1D9B0B4800451313 /* RCTMultiplicationAnimatedNode.m in Sources */, + 2D3B5EFD1D9B0B4800451313 /* RCTPropsAnimatedNode.m in Sources */, + 2D3B5EF31D9B0B3400451313 /* RCTViewPropertyMapper.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D71A9E6C8500147676 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -211,6 +288,51 @@ /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ + 2D2A28261D9B03D100D4039D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Debug; + }; + 2D2A28271D9B03D100D4039D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Release; + }; 58B511ED1A9E6C8500147676 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -331,6 +453,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 2D2A28281D9B03D100D4039D /* Build configuration list for PBXNativeTarget "RCTAnimation-tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2D2A28261D9B03D100D4039D /* Debug */, + 2D2A28271D9B03D100D4039D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RCTAnimation" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/Libraries/Network/RCTNetwork.xcodeproj/project.pbxproj b/Libraries/Network/RCTNetwork.xcodeproj/project.pbxproj index 7a7a856d9..99228f683 100644 --- a/Libraries/Network/RCTNetwork.xcodeproj/project.pbxproj +++ b/Libraries/Network/RCTNetwork.xcodeproj/project.pbxproj @@ -11,11 +11,26 @@ 1372B7371AB03E7B00659ED6 /* RCTNetInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 1372B7361AB03E7B00659ED6 /* RCTNetInfo.m */; }; 13D6D66A1B5FCF8200883BE9 /* RCTNetworkTask.m in Sources */ = {isa = PBXBuildFile; fileRef = 13D6D6691B5FCF8200883BE9 /* RCTNetworkTask.m */; }; 13EF800E1BCBE015003F47DD /* RCTFileRequestHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 13EF800D1BCBE015003F47DD /* RCTFileRequestHandler.m */; }; + 2D3B5F261D9B0EAB00451313 /* RCTNetworkTask.m in Sources */ = {isa = PBXBuildFile; fileRef = 13D6D6691B5FCF8200883BE9 /* RCTNetworkTask.m */; }; + 2D3B5F271D9B0EB400451313 /* RCTHTTPRequestHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 352DA0B81B17855800AA15A8 /* RCTHTTPRequestHandler.m */; }; + 2D3B5F281D9B0EB400451313 /* RCTFileRequestHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 13EF800D1BCBE015003F47DD /* RCTFileRequestHandler.m */; }; + 2D3B5F291D9B0EB400451313 /* RCTDataRequestHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 134E96991BCEB7F800AFFDA1 /* RCTDataRequestHandler.m */; }; + 2D3B5F2A1D9B0EB400451313 /* RCTNetInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 1372B7361AB03E7B00659ED6 /* RCTNetInfo.m */; }; + 2D3B5F2B1D9B0EB400451313 /* RCTNetworking.mm in Sources */ = {isa = PBXBuildFile; fileRef = 58B512071A9E6CE300147676 /* RCTNetworking.mm */; }; 352DA0BA1B17855800AA15A8 /* RCTHTTPRequestHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 352DA0B81B17855800AA15A8 /* RCTHTTPRequestHandler.m */; }; 58B512081A9E6CE300147676 /* RCTNetworking.mm in Sources */ = {isa = PBXBuildFile; fileRef = 58B512071A9E6CE300147676 /* RCTNetworking.mm */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ + 2D2A28521D9B044C00D4039D /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "include/$(PRODUCT_NAME)"; + dstSubfolderSpec = 16; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D91A9E6C8500147676 /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; @@ -36,6 +51,7 @@ 13D6D6691B5FCF8200883BE9 /* RCTNetworkTask.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTNetworkTask.m; sourceTree = ""; }; 13EF800C1BCBE015003F47DD /* RCTFileRequestHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTFileRequestHandler.h; sourceTree = ""; }; 13EF800D1BCBE015003F47DD /* RCTFileRequestHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTFileRequestHandler.m; sourceTree = ""; }; + 2D2A28541D9B044C00D4039D /* libRCTNetwork-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libRCTNetwork-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 352DA0B71B17855800AA15A8 /* RCTHTTPRequestHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTHTTPRequestHandler.h; sourceTree = ""; }; 352DA0B81B17855800AA15A8 /* RCTHTTPRequestHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTHTTPRequestHandler.m; sourceTree = ""; }; 58B511DB1A9E6C8500147676 /* libRCTNetwork.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTNetwork.a; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -44,6 +60,13 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 2D2A28511D9B044C00D4039D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D81A9E6C8500147676 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -79,6 +102,7 @@ isa = PBXGroup; children = ( 58B511DB1A9E6C8500147676 /* libRCTNetwork.a */, + 2D2A28541D9B044C00D4039D /* libRCTNetwork-tvOS.a */, ); name = Products; sourceTree = ""; @@ -86,6 +110,23 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 2D2A28531D9B044C00D4039D /* RCTNetwork-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2D2A285C1D9B044C00D4039D /* Build configuration list for PBXNativeTarget "RCTNetwork-tvOS" */; + buildPhases = ( + 2D2A28501D9B044C00D4039D /* Sources */, + 2D2A28511D9B044C00D4039D /* Frameworks */, + 2D2A28521D9B044C00D4039D /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "RCTNetwork-tvOS"; + productName = "RCTNetwork-tvOS"; + productReference = 2D2A28541D9B044C00D4039D /* libRCTNetwork-tvOS.a */; + productType = "com.apple.product-type.library.static"; + }; 58B511DA1A9E6C8500147676 /* RCTNetwork */ = { isa = PBXNativeTarget; buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RCTNetwork" */; @@ -112,6 +153,10 @@ LastUpgradeCheck = 0610; ORGANIZATIONNAME = Facebook; TargetAttributes = { + 2D2A28531D9B044C00D4039D = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + }; 58B511DA1A9E6C8500147676 = { CreatedOnToolsVersion = 6.1.1; }; @@ -130,11 +175,25 @@ projectRoot = ""; targets = ( 58B511DA1A9E6C8500147676 /* RCTNetwork */, + 2D2A28531D9B044C00D4039D /* RCTNetwork-tvOS */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ + 2D2A28501D9B044C00D4039D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D3B5F2A1D9B0EB400451313 /* RCTNetInfo.m in Sources */, + 2D3B5F261D9B0EAB00451313 /* RCTNetworkTask.m in Sources */, + 2D3B5F281D9B0EB400451313 /* RCTFileRequestHandler.m in Sources */, + 2D3B5F271D9B0EB400451313 /* RCTHTTPRequestHandler.m in Sources */, + 2D3B5F2B1D9B0EB400451313 /* RCTNetworking.mm in Sources */, + 2D3B5F291D9B0EB400451313 /* RCTDataRequestHandler.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D71A9E6C8500147676 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -151,6 +210,52 @@ /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ + 2D2A285A1D9B044C00D4039D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_TESTABILITY = YES; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Debug; + }; + 2D2A285B1D9B044C00D4039D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Release; + }; 58B511ED1A9E6C8500147676 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -275,6 +380,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 2D2A285C1D9B044C00D4039D /* Build configuration list for PBXNativeTarget "RCTNetwork-tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2D2A285A1D9B044C00D4039D /* Debug */, + 2D2A285B1D9B044C00D4039D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RCTNetwork" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/Libraries/RCTTest/FBSnapshotTestCase/FBSnapshotTestController.h b/Libraries/RCTTest/FBSnapshotTestCase/FBSnapshotTestController.h index 449e3983a..cb22ac049 100644 --- a/Libraries/RCTTest/FBSnapshotTestCase/FBSnapshotTestController.h +++ b/Libraries/RCTTest/FBSnapshotTestCase/FBSnapshotTestController.h @@ -41,8 +41,7 @@ extern NSString *const FBReferenceImageFilePathKey; @property(readwrite, nonatomic, assign) BOOL recordMode; /** - @param testClass The subclass of FBSnapshotTestCase that is using this controller. - @param referenceImagesDirectory The directory where the reference images are stored. + @param testClass The subclass of FBSnapshotTestCase that is using this controller.d. @returns An instance of FBSnapshotTestController. */ - (id)initWithTestClass:(Class)testClass; @@ -50,7 +49,6 @@ extern NSString *const FBReferenceImageFilePathKey; /** Designated initializer. @param testName The name of the tests. - @param referenceImagesDirectory The directory where the reference images are stored. @returns An instance of FBSnapshotTestController. */ - (id)initWithTestName:(NSString *)testName; @@ -59,9 +57,8 @@ extern NSString *const FBReferenceImageFilePathKey; /** Performs the comparison of the layer. @param layer The Layer to snapshot. - @param referenceImagesDirectory The directory in which reference images are stored. @param identifier An optional identifier, used is there are muliptle snapshot tests in a given -test method. - @param error An error to log in an XCTAssert() macro if the method fails (missing reference image, images differ, etc). + @param errorPtr An error to log in an XCTAssert() macro if the method fails (missing reference image, images differ, etc). @returns YES if the comparison (or saving of the reference image) succeeded. */ - (BOOL)compareSnapshotOfLayer:(CALayer *)layer @@ -72,9 +69,9 @@ extern NSString *const FBReferenceImageFilePathKey; /** Performs the comparison of the view. @param view The view to snapshot. - @param referenceImagesDirectory The directory in which reference images are stored. + @param selector selector @param identifier An optional identifier, used is there are muliptle snapshot tests in a given -test method. - @param error An error to log in an XCTAssert() macro if the method fails (missing reference image, images differ, etc). + @param errorPtr An error to log in an XCTAssert() macro if the method fails (missing reference image, images differ, etc). @returns YES if the comparison (or saving of the reference image) succeeded. */ - (BOOL)compareSnapshotOfView:(UIView *)view @@ -84,10 +81,10 @@ extern NSString *const FBReferenceImageFilePathKey; /** Performs the comparison of a view or layer. - @param view The view or layer to snapshot. - @param referenceImagesDirectory The directory in which reference images are stored. + @param viewOrLayer The view or layer to snapshot. + @param selector selector @param identifier An optional identifier, used is there are muliptle snapshot tests in a given -test method. - @param error An error to log in an XCTAssert() macro if the method fails (missing reference image, images differ, etc). + @param errorPtr An error to log in an XCTAssert() macro if the method fails (missing reference image, images differ, etc). @returns YES if the comparison (or saving of the reference image) succeeded. */ - (BOOL)compareSnapshotOfViewOrLayer:(id)viewOrLayer @@ -116,7 +113,7 @@ extern NSString *const FBReferenceImageFilePathKey; Saves a reference image. @param selector The test method being run. @param identifier The optional identifier, used when multiple images are tested in a single -test method. - @param error An error, if this methods returns NO, the error will be something useful. + @param errorPtr An error, if this methods returns NO, the error will be something useful. @returns An image. */ - (BOOL)saveReferenceImage:(UIImage *)image @@ -128,8 +125,8 @@ extern NSString *const FBReferenceImageFilePathKey; Performs a pixel-by-pixel comparison of the two images. @param referenceImage The reference (correct) image. @param image The image to test against the reference. - @param error An error that indicates why the comparison failed if it does. - @param YES if the comparison succeeded and the images are the same. + @param errorPtr An error that indicates why the comparison failed if it does. + @returns YES if the comparison succeeded and the images are the same. */ - (BOOL)compareReferenceImage:(UIImage *)referenceImage toImage:(UIImage *)image @@ -141,8 +138,8 @@ extern NSString *const FBReferenceImageFilePathKey; @param testImage The image to test against the reference. @param selector The test method being run. @param identifier The optional identifier, used when multiple images are tested in a single -test method. - @param error An error that indicates why the comparison failed if it does. - @param YES if the save succeeded. + @param errorPtr An error that indicates why the comparison failed if it does. + @returns YES if the save succeeded. */ - (BOOL)saveFailedReferenceImage:(UIImage *)referenceImage testImage:(UIImage *)testImage diff --git a/Libraries/RCTTest/FBSnapshotTestCase/FBSnapshotTestController.m b/Libraries/RCTTest/FBSnapshotTestCase/FBSnapshotTestController.m index 3cf539c95..6dc3cd0d4 100644 --- a/Libraries/RCTTest/FBSnapshotTestCase/FBSnapshotTestController.m +++ b/Libraries/RCTTest/FBSnapshotTestCase/FBSnapshotTestController.m @@ -247,6 +247,9 @@ typedef NS_ENUM(NSUInteger, FBTestSnapshotFileNameType) { if ([[UIScreen mainScreen] scale] > 1.0) { fileName = [fileName stringByAppendingFormat:@"@%.fx", [[UIScreen mainScreen] scale]]; } +#if TARGET_OS_TV + fileName = [fileName stringByAppendingString:@"_tvOS"]; +#endif fileName = [fileName stringByAppendingPathExtension:@"png"]; return fileName; } diff --git a/Libraries/RCTTest/RCTTest.xcodeproj/project.pbxproj b/Libraries/RCTTest/RCTTest.xcodeproj/project.pbxproj index a93c5c180..89f8464f5 100644 --- a/Libraries/RCTTest/RCTTest.xcodeproj/project.pbxproj +++ b/Libraries/RCTTest/RCTTest.xcodeproj/project.pbxproj @@ -7,6 +7,12 @@ objects = { /* Begin PBXBuildFile section */ + 2D3B5F2D1D9B0F2800451313 /* RCTSnapshotManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 9913A84A1BBE833400D70E66 /* RCTSnapshotManager.m */; }; + 2D3B5F2E1D9B0F2B00451313 /* RCTTestModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 585135341AB3C56F00882537 /* RCTTestModule.m */; }; + 2D3B5F2F1D9B0F2E00451313 /* RCTTestRunner.m in Sources */ = {isa = PBXBuildFile; fileRef = 585135361AB3C56F00882537 /* RCTTestRunner.m */; }; + 2D3B5F301D9B0F3D00451313 /* FBSnapshotTestController.m in Sources */ = {isa = PBXBuildFile; fileRef = 58E64FE71AB964CD007446E2 /* FBSnapshotTestController.m */; }; + 2D3B5F311D9B0F4200451313 /* UIImage+Compare.m in Sources */ = {isa = PBXBuildFile; fileRef = 58E64FE91AB964CD007446E2 /* UIImage+Compare.m */; }; + 2D3B5F321D9B0F4500451313 /* UIImage+Diff.m in Sources */ = {isa = PBXBuildFile; fileRef = 58E64FEB1AB964CD007446E2 /* UIImage+Diff.m */; }; 585135371AB3C56F00882537 /* RCTTestModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 585135341AB3C56F00882537 /* RCTTestModule.m */; }; 585135381AB3C57000882537 /* RCTTestRunner.m in Sources */ = {isa = PBXBuildFile; fileRef = 585135361AB3C56F00882537 /* RCTTestRunner.m */; }; 585135391AB3C59A00882537 /* RCTTestRunner.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 585135351AB3C56F00882537 /* RCTTestRunner.h */; }; @@ -17,6 +23,15 @@ /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ + 2D2A286C1D9B047700D4039D /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "include/$(PRODUCT_NAME)"; + dstSubfolderSpec = 16; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 580C376D1AB104AF0015E709 /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; @@ -30,6 +45,7 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 2D2A286E1D9B047700D4039D /* libRCTTest-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libRCTTest-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 580C376F1AB104AF0015E709 /* libRCTTest.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTTest.a; sourceTree = BUILT_PRODUCTS_DIR; }; 585135331AB3C56F00882537 /* RCTTestModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTTestModule.h; sourceTree = ""; }; 585135341AB3C56F00882537 /* RCTTestModule.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTTestModule.m; sourceTree = ""; }; @@ -48,6 +64,13 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 2D2A286B1D9B047700D4039D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 580C376C1AB104AF0015E709 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -78,6 +101,7 @@ isa = PBXGroup; children = ( 580C376F1AB104AF0015E709 /* libRCTTest.a */, + 2D2A286E1D9B047700D4039D /* libRCTTest-tvOS.a */, ); name = Products; sourceTree = ""; @@ -100,6 +124,23 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 2D2A286D1D9B047700D4039D /* RCTTest-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2D2A28761D9B047700D4039D /* Build configuration list for PBXNativeTarget "RCTTest-tvOS" */; + buildPhases = ( + 2D2A286A1D9B047700D4039D /* Sources */, + 2D2A286B1D9B047700D4039D /* Frameworks */, + 2D2A286C1D9B047700D4039D /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "RCTTest-tvOS"; + productName = "RCTTest-tvOS"; + productReference = 2D2A286E1D9B047700D4039D /* libRCTTest-tvOS.a */; + productType = "com.apple.product-type.library.static"; + }; 580C376E1AB104AF0015E709 /* RCTTest */ = { isa = PBXNativeTarget; buildConfigurationList = 580C37831AB104AF0015E709 /* Build configuration list for PBXNativeTarget "RCTTest" */; @@ -126,6 +167,10 @@ LastUpgradeCheck = 0610; ORGANIZATIONNAME = Facebook; TargetAttributes = { + 2D2A286D1D9B047700D4039D = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + }; 580C376E1AB104AF0015E709 = { CreatedOnToolsVersion = 6.1.1; }; @@ -144,11 +189,25 @@ projectRoot = ""; targets = ( 580C376E1AB104AF0015E709 /* RCTTest */, + 2D2A286D1D9B047700D4039D /* RCTTest-tvOS */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ + 2D2A286A1D9B047700D4039D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D3B5F311D9B0F4200451313 /* UIImage+Compare.m in Sources */, + 2D3B5F2F1D9B0F2E00451313 /* RCTTestRunner.m in Sources */, + 2D3B5F321D9B0F4500451313 /* UIImage+Diff.m in Sources */, + 2D3B5F301D9B0F3D00451313 /* FBSnapshotTestController.m in Sources */, + 2D3B5F2D1D9B0F2800451313 /* RCTSnapshotManager.m in Sources */, + 2D3B5F2E1D9B0F2B00451313 /* RCTTestModule.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 580C376B1AB104AF0015E709 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -165,6 +224,42 @@ /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ + 2D2A28741D9B047700D4039D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_TESTABILITY = YES; + GCC_NO_COMMON_BLOCKS = YES; + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Debug; + }; + 2D2A28751D9B047700D4039D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_NO_COMMON_BLOCKS = YES; + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Release; + }; 580C37811AB104AF0015E709 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -303,6 +398,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 2D2A28761D9B047700D4039D /* Build configuration list for PBXNativeTarget "RCTTest-tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2D2A28741D9B047700D4039D /* Debug */, + 2D2A28751D9B047700D4039D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 580C376A1AB104AF0015E709 /* Build configuration list for PBXProject "RCTTest" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/Libraries/Settings/RCTSettings.xcodeproj/project.pbxproj b/Libraries/Settings/RCTSettings.xcodeproj/project.pbxproj index 66ff08029..f938e4eb5 100644 --- a/Libraries/Settings/RCTSettings.xcodeproj/project.pbxproj +++ b/Libraries/Settings/RCTSettings.xcodeproj/project.pbxproj @@ -8,9 +8,19 @@ /* Begin PBXBuildFile section */ 13DBA45E1AEE749000A17CF8 /* RCTSettingsManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 13DBA45D1AEE749000A17CF8 /* RCTSettingsManager.m */; }; + 2D3B5F2C1D9B0ECA00451313 /* RCTSettingsManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 13DBA45D1AEE749000A17CF8 /* RCTSettingsManager.m */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ + 2D2A285F1D9B046600D4039D /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "include/$(PRODUCT_NAME)"; + dstSubfolderSpec = 16; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D91A9E6C8500147676 /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; @@ -26,9 +36,17 @@ 134814201AA4EA6300B7C361 /* libRCTSettings.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTSettings.a; sourceTree = BUILT_PRODUCTS_DIR; }; 13DBA45C1AEE749000A17CF8 /* RCTSettingsManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTSettingsManager.h; sourceTree = ""; }; 13DBA45D1AEE749000A17CF8 /* RCTSettingsManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTSettingsManager.m; sourceTree = ""; }; + 2D2A28611D9B046600D4039D /* libRCTSettings-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libRCTSettings-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 2D2A285E1D9B046600D4039D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D81A9E6C8500147676 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -53,12 +71,30 @@ 13DBA45C1AEE749000A17CF8 /* RCTSettingsManager.h */, 13DBA45D1AEE749000A17CF8 /* RCTSettingsManager.m */, 134814211AA4EA7D00B7C361 /* Products */, + 2D2A28611D9B046600D4039D /* libRCTSettings-tvOS.a */, ); sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 2D2A28601D9B046600D4039D /* RCTSettings-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2D2A28691D9B046600D4039D /* Build configuration list for PBXNativeTarget "RCTSettings-tvOS" */; + buildPhases = ( + 2D2A285D1D9B046600D4039D /* Sources */, + 2D2A285E1D9B046600D4039D /* Frameworks */, + 2D2A285F1D9B046600D4039D /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "RCTSettings-tvOS"; + productName = "RCTSettings-tvOS"; + productReference = 2D2A28611D9B046600D4039D /* libRCTSettings-tvOS.a */; + productType = "com.apple.product-type.library.static"; + }; 58B511DA1A9E6C8500147676 /* RCTSettings */ = { isa = PBXNativeTarget; buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RCTSettings" */; @@ -85,6 +121,10 @@ LastUpgradeCheck = 0610; ORGANIZATIONNAME = Facebook; TargetAttributes = { + 2D2A28601D9B046600D4039D = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + }; 58B511DA1A9E6C8500147676 = { CreatedOnToolsVersion = 6.1.1; }; @@ -103,11 +143,20 @@ projectRoot = ""; targets = ( 58B511DA1A9E6C8500147676 /* RCTSettings */, + 2D2A28601D9B046600D4039D /* RCTSettings-tvOS */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ + 2D2A285D1D9B046600D4039D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D3B5F2C1D9B0ECA00451313 /* RCTSettingsManager.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D71A9E6C8500147676 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -119,6 +168,52 @@ /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ + 2D2A28671D9B046600D4039D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_TESTABILITY = YES; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Debug; + }; + 2D2A28681D9B046600D4039D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Release; + }; 58B511ED1A9E6C8500147676 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -238,6 +333,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 2D2A28691D9B046600D4039D /* Build configuration list for PBXNativeTarget "RCTSettings-tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2D2A28671D9B046600D4039D /* Debug */, + 2D2A28681D9B046600D4039D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RCTSettings" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/Libraries/Text/RCTText.xcodeproj/project.pbxproj b/Libraries/Text/RCTText.xcodeproj/project.pbxproj index 47663672f..0ca907b1b 100644 --- a/Libraries/Text/RCTText.xcodeproj/project.pbxproj +++ b/Libraries/Text/RCTText.xcodeproj/project.pbxproj @@ -12,6 +12,16 @@ 1362F1001B4D51F400E06D8C /* RCTTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 1362F0FD1B4D51F400E06D8C /* RCTTextField.m */; }; 1362F1011B4D51F400E06D8C /* RCTTextFieldManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 1362F0FF1B4D51F400E06D8C /* RCTTextFieldManager.m */; }; 19FC5C851D41A4120090108F /* RCTTextSelection.m in Sources */ = {isa = PBXBuildFile; fileRef = 19FC5C841D41A4120090108F /* RCTTextSelection.m */; }; + 2D3B5F331D9B102D00451313 /* RCTTextSelection.m in Sources */ = {isa = PBXBuildFile; fileRef = 19FC5C841D41A4120090108F /* RCTTextSelection.m */; }; + 2D3B5F341D9B103100451313 /* RCTRawTextManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 58B511C71A9E6C5C00147676 /* RCTRawTextManager.m */; }; + 2D3B5F351D9B103300451313 /* RCTShadowRawText.m in Sources */ = {isa = PBXBuildFile; fileRef = 58B511C91A9E6C5C00147676 /* RCTShadowRawText.m */; }; + 2D3B5F361D9B106F00451313 /* RCTShadowText.m in Sources */ = {isa = PBXBuildFile; fileRef = 58B511CB1A9E6C5C00147676 /* RCTShadowText.m */; }; + 2D3B5F371D9B106F00451313 /* RCTText.m in Sources */ = {isa = PBXBuildFile; fileRef = 58B512141A9E6EFF00147676 /* RCTText.m */; }; + 2D3B5F381D9B106F00451313 /* RCTTextManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 58B511CD1A9E6C5C00147676 /* RCTTextManager.m */; }; + 2D3B5F391D9B106F00451313 /* RCTTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 1362F0FD1B4D51F400E06D8C /* RCTTextField.m */; }; + 2D3B5F3A1D9B106F00451313 /* RCTTextFieldManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 1362F0FF1B4D51F400E06D8C /* RCTTextFieldManager.m */; }; + 2D3B5F3B1D9B106F00451313 /* RCTTextView.m in Sources */ = {isa = PBXBuildFile; fileRef = 131B6ABD1AF0CD0600FFC3E0 /* RCTTextView.m */; }; + 2D3B5F3C1D9B106F00451313 /* RCTTextViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 131B6ABF1AF0CD0600FFC3E0 /* RCTTextViewManager.m */; }; 58B511CE1A9E6C5C00147676 /* RCTRawTextManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 58B511C71A9E6C5C00147676 /* RCTRawTextManager.m */; }; 58B511CF1A9E6C5C00147676 /* RCTShadowRawText.m in Sources */ = {isa = PBXBuildFile; fileRef = 58B511C91A9E6C5C00147676 /* RCTShadowRawText.m */; }; 58B511D01A9E6C5C00147676 /* RCTShadowText.m in Sources */ = {isa = PBXBuildFile; fileRef = 58B511CB1A9E6C5C00147676 /* RCTShadowText.m */; }; @@ -20,6 +30,15 @@ /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ + 2D2A28791D9B048500D4039D /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "include/$(PRODUCT_NAME)"; + dstSubfolderSpec = 16; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511991A9E6C1200147676 /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; @@ -42,6 +61,7 @@ 1362F0FF1B4D51F400E06D8C /* RCTTextFieldManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTTextFieldManager.m; sourceTree = ""; }; 19FC5C841D41A4120090108F /* RCTTextSelection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTTextSelection.m; sourceTree = ""; }; 19FC5C861D41A4220090108F /* RCTTextSelection.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTTextSelection.h; sourceTree = ""; }; + 2D2A287B1D9B048500D4039D /* libRCTText-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libRCTText-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 58B5119B1A9E6C1200147676 /* libRCTText.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTText.a; sourceTree = BUILT_PRODUCTS_DIR; }; 58B511C61A9E6C5C00147676 /* RCTRawTextManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTRawTextManager.h; sourceTree = ""; }; 58B511C71A9E6C5C00147676 /* RCTRawTextManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTRawTextManager.m; sourceTree = ""; }; @@ -56,6 +76,13 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 2D2A28781D9B048500D4039D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511981A9E6C1200147676 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -99,6 +126,7 @@ isa = PBXGroup; children = ( 58B5119B1A9E6C1200147676 /* libRCTText.a */, + 2D2A287B1D9B048500D4039D /* libRCTText-tvOS.a */, ); name = Products; sourceTree = ""; @@ -106,6 +134,23 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 2D2A287A1D9B048500D4039D /* RCTText-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2D2A28831D9B048500D4039D /* Build configuration list for PBXNativeTarget "RCTText-tvOS" */; + buildPhases = ( + 2D2A28771D9B048500D4039D /* Sources */, + 2D2A28781D9B048500D4039D /* Frameworks */, + 2D2A28791D9B048500D4039D /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "RCTText-tvOS"; + productName = "RCTText-tvOS"; + productReference = 2D2A287B1D9B048500D4039D /* libRCTText-tvOS.a */; + productType = "com.apple.product-type.library.static"; + }; 58B5119A1A9E6C1200147676 /* RCTText */ = { isa = PBXNativeTarget; buildConfigurationList = 58B511AF1A9E6C1300147676 /* Build configuration list for PBXNativeTarget "RCTText" */; @@ -132,6 +177,10 @@ LastUpgradeCheck = 0610; ORGANIZATIONNAME = Facebook; TargetAttributes = { + 2D2A287A1D9B048500D4039D = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + }; 58B5119A1A9E6C1200147676 = { CreatedOnToolsVersion = 6.1.1; }; @@ -150,11 +199,29 @@ projectRoot = ""; targets = ( 58B5119A1A9E6C1200147676 /* RCTText */, + 2D2A287A1D9B048500D4039D /* RCTText-tvOS */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ + 2D2A28771D9B048500D4039D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D3B5F371D9B106F00451313 /* RCTText.m in Sources */, + 2D3B5F381D9B106F00451313 /* RCTTextManager.m in Sources */, + 2D3B5F391D9B106F00451313 /* RCTTextField.m in Sources */, + 2D3B5F361D9B106F00451313 /* RCTShadowText.m in Sources */, + 2D3B5F3B1D9B106F00451313 /* RCTTextView.m in Sources */, + 2D3B5F3A1D9B106F00451313 /* RCTTextFieldManager.m in Sources */, + 2D3B5F341D9B103100451313 /* RCTRawTextManager.m in Sources */, + 2D3B5F3C1D9B106F00451313 /* RCTTextViewManager.m in Sources */, + 2D3B5F331D9B102D00451313 /* RCTTextSelection.m in Sources */, + 2D3B5F351D9B103300451313 /* RCTShadowRawText.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511971A9E6C1200147676 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -175,6 +242,52 @@ /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ + 2D2A28811D9B048500D4039D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_TESTABILITY = YES; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Debug; + }; + 2D2A28821D9B048500D4039D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_NO_COMMON_BLOCKS = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Release; + }; 58B511AD1A9E6C1300147676 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -295,6 +408,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 2D2A28831D9B048500D4039D /* Build configuration list for PBXNativeTarget "RCTText-tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2D2A28811D9B048500D4039D /* Debug */, + 2D2A28821D9B048500D4039D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 58B511961A9E6C1200147676 /* Build configuration list for PBXProject "RCTText" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/Libraries/WebSocket/RCTWebSocket.xcodeproj/project.pbxproj b/Libraries/WebSocket/RCTWebSocket.xcodeproj/project.pbxproj index 20bcddb68..d42ab553f 100644 --- a/Libraries/WebSocket/RCTWebSocket.xcodeproj/project.pbxproj +++ b/Libraries/WebSocket/RCTWebSocket.xcodeproj/project.pbxproj @@ -9,15 +9,32 @@ /* Begin PBXBuildFile section */ 1338BBE01B04ACC80064A9C9 /* RCTSRWebSocket.m in Sources */ = {isa = PBXBuildFile; fileRef = 1338BBDD1B04ACC80064A9C9 /* RCTSRWebSocket.m */; }; 1338BBE11B04ACC80064A9C9 /* RCTWebSocketExecutor.m in Sources */ = {isa = PBXBuildFile; fileRef = 1338BBDF1B04ACC80064A9C9 /* RCTWebSocketExecutor.m */; }; + 2D3B5F3D1D9B165B00451313 /* RCTSRWebSocket.m in Sources */ = {isa = PBXBuildFile; fileRef = 1338BBDD1B04ACC80064A9C9 /* RCTSRWebSocket.m */; }; + 2D3B5F3E1D9B165B00451313 /* RCTWebSocketExecutor.m in Sources */ = {isa = PBXBuildFile; fileRef = 1338BBDF1B04ACC80064A9C9 /* RCTWebSocketExecutor.m */; }; + 2D3B5F3F1D9B165B00451313 /* RCTWebSocketManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DB9106E1C74B1ED00838BBE /* RCTWebSocketManager.m */; }; + 2D3B5F401D9B165B00451313 /* RCTWebSocketModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C86DF7B1ADF695F0047B81A /* RCTWebSocketModule.m */; }; 3C86DF7C1ADF695F0047B81A /* RCTWebSocketModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C86DF7B1ADF695F0047B81A /* RCTWebSocketModule.m */; }; 3DB9106F1C74B1ED00838BBE /* RCTWebSocketManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DB9106E1C74B1ED00838BBE /* RCTWebSocketManager.m */; }; /* End PBXBuildFile section */ +/* Begin PBXCopyFilesBuildPhase section */ + 2D2A28861D9B049200D4039D /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "include/$(PRODUCT_NAME)"; + dstSubfolderSpec = 16; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + /* Begin PBXFileReference section */ 1338BBDC1B04ACC80064A9C9 /* RCTSRWebSocket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTSRWebSocket.h; sourceTree = ""; }; 1338BBDD1B04ACC80064A9C9 /* RCTSRWebSocket.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTSRWebSocket.m; sourceTree = ""; }; 1338BBDE1B04ACC80064A9C9 /* RCTWebSocketExecutor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTWebSocketExecutor.h; sourceTree = ""; }; 1338BBDF1B04ACC80064A9C9 /* RCTWebSocketExecutor.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTWebSocketExecutor.m; sourceTree = ""; }; + 2D2A28881D9B049200D4039D /* libRCTWebSocket-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libRCTWebSocket-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 3C86DF461ADF2C930047B81A /* libRCTWebSocket.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTWebSocket.a; sourceTree = BUILT_PRODUCTS_DIR; }; 3C86DF7A1ADF695F0047B81A /* RCTWebSocketModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTWebSocketModule.h; sourceTree = ""; }; 3C86DF7B1ADF695F0047B81A /* RCTWebSocketModule.m */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.objc; path = RCTWebSocketModule.m; sourceTree = ""; tabWidth = 2; }; @@ -26,6 +43,13 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 2D2A28851D9B049200D4039D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 3C86DF431ADF2C930047B81A /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -57,6 +81,7 @@ isa = PBXGroup; children = ( 3C86DF461ADF2C930047B81A /* libRCTWebSocket.a */, + 2D2A28881D9B049200D4039D /* libRCTWebSocket-tvOS.a */, ); name = Products; sourceTree = ""; @@ -64,6 +89,23 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 2D2A28871D9B049200D4039D /* RCTWebSocket-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2D2A28901D9B049200D4039D /* Build configuration list for PBXNativeTarget "RCTWebSocket-tvOS" */; + buildPhases = ( + 2D2A28841D9B049200D4039D /* Sources */, + 2D2A28851D9B049200D4039D /* Frameworks */, + 2D2A28861D9B049200D4039D /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "RCTWebSocket-tvOS"; + productName = "RCTWebSocket-tvOS"; + productReference = 2D2A28881D9B049200D4039D /* libRCTWebSocket-tvOS.a */; + productType = "com.apple.product-type.library.static"; + }; 3C86DF451ADF2C930047B81A /* RCTWebSocket */ = { isa = PBXNativeTarget; buildConfigurationList = 3C86DF5A1ADF2C930047B81A /* Build configuration list for PBXNativeTarget "RCTWebSocket" */; @@ -89,6 +131,10 @@ LastUpgradeCheck = 0630; ORGANIZATIONNAME = Facebook; TargetAttributes = { + 2D2A28871D9B049200D4039D = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + }; 3C86DF451ADF2C930047B81A = { CreatedOnToolsVersion = 6.3; }; @@ -107,11 +153,23 @@ projectRoot = ""; targets = ( 3C86DF451ADF2C930047B81A /* RCTWebSocket */, + 2D2A28871D9B049200D4039D /* RCTWebSocket-tvOS */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ + 2D2A28841D9B049200D4039D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D3B5F3E1D9B165B00451313 /* RCTWebSocketExecutor.m in Sources */, + 2D3B5F401D9B165B00451313 /* RCTWebSocketModule.m in Sources */, + 2D3B5F3D1D9B165B00451313 /* RCTSRWebSocket.m in Sources */, + 2D3B5F3F1D9B165B00451313 /* RCTWebSocketManager.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 3C86DF421ADF2C930047B81A /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -126,6 +184,50 @@ /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ + 2D2A288E1D9B049200D4039D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_TESTABILITY = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + "$(SRCROOT)/../SRWebSocket", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Debug; + }; + 2D2A288F1D9B049200D4039D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../React/**", + "$(SRCROOT)/../SRWebSocket", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Release; + }; 3C86DF581ADF2C930047B81A /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -253,6 +355,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 2D2A28901D9B049200D4039D /* Build configuration list for PBXNativeTarget "RCTWebSocket-tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2D2A288E1D9B049200D4039D /* Debug */, + 2D2A288F1D9B049200D4039D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 3C86DF411ADF2C930047B81A /* Build configuration list for PBXProject "RCTWebSocket" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/React/Modules/RCTUIManager.h b/React/Modules/RCTUIManager.h index afd276167..4d65dd03d 100644 --- a/React/Modules/RCTUIManager.h +++ b/React/Modules/RCTUIManager.h @@ -97,7 +97,6 @@ RCT_EXTERN NSString *const RCTUIManagerRootViewKey; * @param reactTag the component tag * @param completion the completion block that will hand over the rootView, if any. * - * @return the rootView */ - (void)rootViewForReactTag:(NSNumber *)reactTag withCompletion:(void (^)(UIView *view))completion; diff --git a/React/React.xcodeproj/project.pbxproj b/React/React.xcodeproj/project.pbxproj index 5adc58708..ef1b8dcc6 100644 --- a/React/React.xcodeproj/project.pbxproj +++ b/React/React.xcodeproj/project.pbxproj @@ -80,6 +80,91 @@ 14F7A0F01BDA714B003C6C10 /* RCTFPSGraph.m in Sources */ = {isa = PBXBuildFile; fileRef = 14F7A0EF1BDA714B003C6C10 /* RCTFPSGraph.m */; }; 191E3EBE1C29D9AF00C180A6 /* RCTRefreshControlManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 191E3EBD1C29D9AF00C180A6 /* RCTRefreshControlManager.m */; }; 191E3EC11C29DC3800C180A6 /* RCTRefreshControl.m in Sources */ = {isa = PBXBuildFile; fileRef = 191E3EC01C29DC3800C180A6 /* RCTRefreshControl.m */; }; + 2D3B5E931D9B087300451313 /* RCTErrorInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 3EDCA8A41D3591E700450C31 /* RCTErrorInfo.m */; }; + 2D3B5E941D9B087900451313 /* RCTBundleURLProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 68EFE4ED1CF6EB3900A1DE13 /* RCTBundleURLProvider.m */; }; + 2D3B5E951D9B087C00451313 /* RCTAssert.m in Sources */ = {isa = PBXBuildFile; fileRef = 83CBBA4B1A601E3B00E9B192 /* RCTAssert.m */; }; + 2D3B5E961D9B088500451313 /* RCTBatchedBridge.m in Sources */ = {isa = PBXBuildFile; fileRef = 14C2CA771B3ACB0400E6CBB2 /* RCTBatchedBridge.m */; }; + 2D3B5E971D9B089000451313 /* RCTBridge.m in Sources */ = {isa = PBXBuildFile; fileRef = 83CBBA5F1A601EAA00E9B192 /* RCTBridge.m */; }; + 2D3B5E981D9B089500451313 /* RCTConvert.m in Sources */ = {isa = PBXBuildFile; fileRef = 83CBBACB1A6023D300E9B192 /* RCTConvert.m */; }; + 2D3B5E991D9B089A00451313 /* RCTDisplayLink.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D1E68D91CABD13900DD7465 /* RCTDisplayLink.m */; }; + 2D3B5E9A1D9B089D00451313 /* RCTEventDispatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 83CBBA661A601EF300E9B192 /* RCTEventDispatcher.m */; }; + 2D3B5E9B1D9B08A000451313 /* RCTFrameUpdate.m in Sources */ = {isa = PBXBuildFile; fileRef = 14C2CA751B3AC64F00E6CBB2 /* RCTFrameUpdate.m */; }; + 2D3B5E9C1D9B08A300451313 /* RCTImageSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 13BB3D011BECD54500932C10 /* RCTImageSource.m */; }; + 2D3B5E9D1D9B08A800451313 /* RCTJavaScriptLoader.m in Sources */ = {isa = PBXBuildFile; fileRef = 14200DA91AC179B3008EE6BA /* RCTJavaScriptLoader.m */; }; + 2D3B5E9E1D9B08AD00451313 /* RCTJSStackFrame.m in Sources */ = {isa = PBXBuildFile; fileRef = 008341F41D1DB34400876D9A /* RCTJSStackFrame.m */; }; + 2D3B5E9F1D9B08AF00451313 /* RCTKeyCommands.m in Sources */ = {isa = PBXBuildFile; fileRef = 13A1F71D1A75392D00D3D453 /* RCTKeyCommands.m */; }; + 2D3B5EA01D9B08B200451313 /* RCTLog.m in Sources */ = {isa = PBXBuildFile; fileRef = 83CBBA4E1A601E3B00E9B192 /* RCTLog.m */; }; + 2D3B5EA11D9B08B600451313 /* RCTModuleData.mm in Sources */ = {isa = PBXBuildFile; fileRef = 14C2CA731B3AC64300E6CBB2 /* RCTModuleData.mm */; }; + 2D3B5EA21D9B08BA00451313 /* RCTModuleMethod.m in Sources */ = {isa = PBXBuildFile; fileRef = 14C2CA701B3AC63800E6CBB2 /* RCTModuleMethod.m */; }; + 2D3B5EA31D9B08BE00451313 /* RCTParserUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 13A6E20D1C19AA0C00845B82 /* RCTParserUtils.m */; }; + 2D3B5EA41D9B08C200451313 /* RCTPerformanceLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 142014171B32094000CC17BA /* RCTPerformanceLogger.m */; }; + 2D3B5EA51D9B08C700451313 /* RCTRootView.m in Sources */ = {isa = PBXBuildFile; fileRef = 830A229D1A66C68A008503DA /* RCTRootView.m */; }; + 2D3B5EA61D9B08CA00451313 /* RCTTouchEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 391E86A21C623EC800009732 /* RCTTouchEvent.m */; }; + 2D3B5EA71D9B08CE00451313 /* RCTTouchHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 83CBBA971A6020BB00E9B192 /* RCTTouchHandler.m */; }; + 2D3B5EA81D9B08D300451313 /* RCTUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 83CBBA501A601E3B00E9B192 /* RCTUtils.m */; }; + 2D3B5EA91D9B08E300451313 /* CSSNodeList.c in Sources */ = {isa = PBXBuildFile; fileRef = 1321C8CE1D3EB50800D58318 /* CSSNodeList.c */; }; + 2D3B5EAA1D9B08E600451313 /* CSSLayout.c in Sources */ = {isa = PBXBuildFile; fileRef = 133683441D37ACA10077D0C3 /* CSSLayout.c */; }; + 2D3B5EAB1D9B08EC00451313 /* RCTJSCErrorHandling.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DC724311D8BF99A00808C32 /* RCTJSCErrorHandling.m */; }; + 2D3B5EAC1D9B08EF00451313 /* RCTJSCExecutor.mm in Sources */ = {isa = PBXBuildFile; fileRef = 134FCB3A1A6E7F0800051CC8 /* RCTJSCExecutor.mm */; }; + 2D3B5EAD1D9B08F200451313 /* RCTJSCWrapper.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85C199ED1CD2407900DAD810 /* RCTJSCWrapper.mm */; }; + 2D3B5EAE1D9B08F800451313 /* RCTEventEmitter.m in Sources */ = {isa = PBXBuildFile; fileRef = 13D9FEEA1CDCCECF00158BD7 /* RCTEventEmitter.m */; }; + 2D3B5EAF1D9B08FB00451313 /* RCTAccessibilityManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E9B20B7A1B500126007A2DA7 /* RCTAccessibilityManager.m */; }; + 2D3B5EB01D9B08FE00451313 /* RCTAlertManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FE81A69327A00A75B9A /* RCTAlertManager.m */; }; + 2D3B5EB11D9B090100451313 /* RCTAppState.m in Sources */ = {isa = PBXBuildFile; fileRef = 1372B7091AB030C200659ED6 /* RCTAppState.m */; }; + 2D3B5EB21D9B090300451313 /* RCTAsyncLocalStorage.m in Sources */ = {isa = PBXBuildFile; fileRef = 58114A4E1AAE93D500E7D092 /* RCTAsyncLocalStorage.m */; }; + 2D3B5EB41D9B090A00451313 /* RCTDevLoadingView.m in Sources */ = {isa = PBXBuildFile; fileRef = 13A0C2861B74F71200B29F6F /* RCTDevLoadingView.m */; }; + 2D3B5EB51D9B091100451313 /* RCTDevMenu.m in Sources */ = {isa = PBXBuildFile; fileRef = 13A0C2881B74F71200B29F6F /* RCTDevMenu.m */; }; + 2D3B5EB61D9B091400451313 /* RCTExceptionsManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FEA1A69327A00A75B9A /* RCTExceptionsManager.m */; }; + 2D3B5EB71D9B091800451313 /* RCTRedBox.m in Sources */ = {isa = PBXBuildFile; fileRef = 13F17A841B8493E5007D4C75 /* RCTRedBox.m */; }; + 2D3B5EB81D9B091B00451313 /* RCTSourceCode.m in Sources */ = {isa = PBXBuildFile; fileRef = 000E6CEA1AB0E980000CDF4D /* RCTSourceCode.m */; }; + 2D3B5EBA1D9B092100451313 /* RCTI18nUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = 352DCFEF1D19F4C20056D623 /* RCTI18nUtil.m */; }; + 2D3B5EBB1D9B092300451313 /* RCTI18nManager.m in Sources */ = {isa = PBXBuildFile; fileRef = B233E6E91D2D845D00BC68BA /* RCTI18nManager.m */; }; + 2D3B5EBC1D9B092600451313 /* RCTKeyboardObserver.m in Sources */ = {isa = PBXBuildFile; fileRef = 13D9FEED1CDCD93000158BD7 /* RCTKeyboardObserver.m */; }; + 2D3B5EBD1D9B092A00451313 /* RCTTiming.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FEE1A69327A00A75B9A /* RCTTiming.m */; }; + 2D3B5EBE1D9B092D00451313 /* RCTUIManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E067491A70F434002CDEE1 /* RCTUIManager.m */; }; + 2D3B5EBF1D9B093300451313 /* RCTJSCProfiler.m in Sources */ = {isa = PBXBuildFile; fileRef = 14A43DF21C20B1C900794BC8 /* RCTJSCProfiler.m */; }; + 2D3B5EC01D9B093600451313 /* RCTPerfMonitor.m in Sources */ = {isa = PBXBuildFile; fileRef = 14F7A0EB1BDA3B3C003C6C10 /* RCTPerfMonitor.m */; }; + 2D3B5EC11D9B093900451313 /* RCTFPSGraph.m in Sources */ = {isa = PBXBuildFile; fileRef = 14F7A0EF1BDA714B003C6C10 /* RCTFPSGraph.m */; }; + 2D3B5EC21D9B093B00451313 /* RCTProfile.m in Sources */ = {isa = PBXBuildFile; fileRef = 1450FF811BCFF28A00208362 /* RCTProfile.m */; }; + 2D3B5EC31D9B094800451313 /* RCTProfileTrampoline-arm.S in Sources */ = {isa = PBXBuildFile; fileRef = 1450FF821BCFF28A00208362 /* RCTProfileTrampoline-arm.S */; }; + 2D3B5EC41D9B094B00451313 /* RCTProfileTrampoline-arm64.S in Sources */ = {isa = PBXBuildFile; fileRef = 1450FF831BCFF28A00208362 /* RCTProfileTrampoline-arm64.S */; }; + 2D3B5EC51D9B094D00451313 /* RCTProfileTrampoline-i386.S in Sources */ = {isa = PBXBuildFile; fileRef = 14BF717F1C04793D00C97D0C /* RCTProfileTrampoline-i386.S */; }; + 2D3B5EC61D9B095000451313 /* RCTProfileTrampoline-x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = 1450FF851BCFF28A00208362 /* RCTProfileTrampoline-x86_64.S */; }; + 2D3B5EC71D9B095600451313 /* RCTActivityIndicatorView.m in Sources */ = {isa = PBXBuildFile; fileRef = B95154311D1B34B200FE7B80 /* RCTActivityIndicatorView.m */; }; + 2D3B5EC81D9B095800451313 /* RCTActivityIndicatorViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B080191A69489C00A75B9A /* RCTActivityIndicatorViewManager.m */; }; + 2D3B5EC91D9B095C00451313 /* RCTBorderDrawing.m in Sources */ = {isa = PBXBuildFile; fileRef = 13CC8A811B17642100940AE7 /* RCTBorderDrawing.m */; }; + 2D3B5ECA1D9B095F00451313 /* RCTComponentData.m in Sources */ = {isa = PBXBuildFile; fileRef = 13AB90C01B6FA36700713B4F /* RCTComponentData.m */; }; + 2D3B5ECB1D9B096200451313 /* RCTConvert+CoreLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = 13456E921ADAD2DE009F94A7 /* RCTConvert+CoreLocation.m */; }; + 2D3B5ECC1D9B096500451313 /* RCTConvert+MapKit.m in Sources */ = {isa = PBXBuildFile; fileRef = 13456E951ADAD482009F94A7 /* RCTConvert+MapKit.m */; }; + 2D3B5ECF1D9B096F00451313 /* RCTFont.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3D37B5811D522B190042D5B5 /* RCTFont.mm */; }; + 2D3B5ED01D9B097200451313 /* RCTMap.m in Sources */ = {isa = PBXBuildFile; fileRef = 14435CE21AAC4AE100FC20F4 /* RCTMap.m */; }; + 2D3B5ED11D9B097500451313 /* RCTMapAnnotation.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B202031BFB948C00C07393 /* RCTMapAnnotation.m */; }; + 2D3B5ED21D9B097800451313 /* RCTMapManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 14435CE41AAC4AE100FC20F4 /* RCTMapManager.m */; }; + 2D3B5ED31D9B097B00451313 /* RCTMapOverlay.m in Sources */ = {isa = PBXBuildFile; fileRef = 13AFBC9F1C07247D00BBAEAA /* RCTMapOverlay.m */; }; + 2D3B5ED41D9B097D00451313 /* RCTModalHostView.m in Sources */ = {isa = PBXBuildFile; fileRef = 83A1FE8B1B62640A00BE0E65 /* RCTModalHostView.m */; }; + 2D3B5ED51D9B098000451313 /* RCTModalHostViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 83392EB21B6634E10013B15F /* RCTModalHostViewController.m */; }; + 2D3B5ED61D9B098400451313 /* RCTModalHostViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 83A1FE8E1B62643A00BE0E65 /* RCTModalHostViewManager.m */; }; + 2D3B5ED71D9B098700451313 /* RCTNavigator.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B0800D1A69489C00A75B9A /* RCTNavigator.m */; }; + 2D3B5ED81D9B098A00451313 /* RCTNavigatorManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B0800F1A69489C00A75B9A /* RCTNavigatorManager.m */; }; + 2D3B5ED91D9B098E00451313 /* RCTNavItem.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B080111A69489C00A75B9A /* RCTNavItem.m */; }; + 2D3B5EDA1D9B099100451313 /* RCTNavItemManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B080131A69489C00A75B9A /* RCTNavItemManager.m */; }; + 2D3B5EDD1D9B09A300451313 /* RCTProgressViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 13513F3B1B1F43F400FCE529 /* RCTProgressViewManager.m */; }; + 2D3B5EE01D9B09AD00451313 /* RCTRootShadowView.m in Sources */ = {isa = PBXBuildFile; fileRef = 13BCE8081C99CB9D00DD7AAD /* RCTRootShadowView.m */; }; + 2D3B5EE11D9B09B000451313 /* RCTScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FF71A6947C200A75B9A /* RCTScrollView.m */; }; + 2D3B5EE21D9B09B400451313 /* RCTScrollViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FF91A6947C200A75B9A /* RCTScrollViewManager.m */; }; + 2D3B5EE31D9B09B700451313 /* RCTSegmentedControl.m in Sources */ = {isa = PBXBuildFile; fileRef = 131B6AF11AF1093D00FFC3E0 /* RCTSegmentedControl.m */; }; + 2D3B5EE41D9B09BB00451313 /* RCTSegmentedControlManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 131B6AF31AF1093D00FFC3E0 /* RCTSegmentedControlManager.m */; }; + 2D3B5EE51D9B09BE00451313 /* RCTShadowView.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E0674C1A70F44B002CDEE1 /* RCTShadowView.m */; }; + 2D3B5EEA1D9B09CD00451313 /* RCTTabBar.m in Sources */ = {isa = PBXBuildFile; fileRef = 137327E01AA5CF210034F82E /* RCTTabBar.m */; }; + 2D3B5EEB1D9B09D000451313 /* RCTTabBarItem.m in Sources */ = {isa = PBXBuildFile; fileRef = 137327E21AA5CF210034F82E /* RCTTabBarItem.m */; }; + 2D3B5EEC1D9B09D400451313 /* RCTTabBarItemManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 137327E41AA5CF210034F82E /* RCTTabBarItemManager.m */; }; + 2D3B5EED1D9B09D700451313 /* RCTTabBarManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 137327E61AA5CF210034F82E /* RCTTabBarManager.m */; }; + 2D3B5EEE1D9B09DA00451313 /* RCTView.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E067501A70F44B002CDEE1 /* RCTView.m */; }; + 2D3B5EEF1D9B09DC00451313 /* RCTViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E0674E1A70F44B002CDEE1 /* RCTViewManager.m */; }; + 2D3B5EF01D9B09E300451313 /* RCTWrapperViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B080241A694A8400A75B9A /* RCTWrapperViewController.m */; }; + 2D3B5EF11D9B09E700451313 /* UIView+React.m in Sources */ = {isa = PBXBuildFile; fileRef = 13E067541A70F44B002CDEE1 /* UIView+React.m */; }; + 2D537FD21DA4809D000F876C /* RCTMultipartDataTask.m in Sources */ = {isa = PBXBuildFile; fileRef = 006FC4131D9B20820057AAAD /* RCTMultipartDataTask.m */; }; + 2D8C2E331DA40441000EE098 /* RCTMultipartStreamReader.m in Sources */ = {isa = PBXBuildFile; fileRef = 001BFCCF1D8381DE008E587E /* RCTMultipartStreamReader.m */; }; 352DCFF01D19F4C20056D623 /* RCTI18nUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = 352DCFEF1D19F4C20056D623 /* RCTI18nUtil.m */; }; 391E86A41C623EC800009732 /* RCTTouchEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 391E86A21C623EC800009732 /* RCTTouchEvent.m */; }; 3D1E68DB1CABD13900DD7465 /* RCTDisplayLink.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D1E68D91CABD13900DD7465 /* RCTDisplayLink.m */; }; @@ -109,6 +194,15 @@ /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ + 2D2A28111D9B038B00D4039D /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "include/$(PRODUCT_NAME)"; + dstSubfolderSpec = 16; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 83CBBA2C1A601D0E00E9B192 /* Copy Files */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; @@ -279,6 +373,7 @@ 191E3EBD1C29D9AF00C180A6 /* RCTRefreshControlManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTRefreshControlManager.m; sourceTree = ""; }; 191E3EBF1C29DC3800C180A6 /* RCTRefreshControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTRefreshControl.h; sourceTree = ""; }; 191E3EC01C29DC3800C180A6 /* RCTRefreshControl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTRefreshControl.m; sourceTree = ""; }; + 2D2A28131D9B038B00D4039D /* libReact-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libReact-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 352DCFEE1D19F4C20056D623 /* RCTI18nUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTI18nUtil.h; sourceTree = ""; }; 352DCFEF1D19F4C20056D623 /* RCTI18nUtil.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTI18nUtil.m; sourceTree = ""; }; 391E86A21C623EC800009732 /* RCTTouchEvent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTTouchEvent.m; sourceTree = ""; }; @@ -345,6 +440,13 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 2D2A28101D9B038B00D4039D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 83CBBA2B1A601D0E00E9B192 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -561,6 +663,7 @@ isa = PBXGroup; children = ( 83CBBA2E1A601D0E00E9B192 /* libReact.a */, + 2D2A28131D9B038B00D4039D /* libReact-tvOS.a */, ); name = Products; sourceTree = ""; @@ -650,6 +753,25 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 2D2A28121D9B038B00D4039D /* React-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2D2A281B1D9B038B00D4039D /* Build configuration list for PBXNativeTarget "React-tvOS" */; + buildPhases = ( + 2D6948301DA3088700B3FA97 /* ShellScript */, + 2D2A280F1D9B038B00D4039D /* Sources */, + 2D2A28101D9B038B00D4039D /* Frameworks */, + 2D2A28111D9B038B00D4039D /* CopyFiles */, + 2D6948201DA3042200B3FA97 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "React-tvOS"; + productName = "React-tvOS"; + productReference = 2D2A28131D9B038B00D4039D /* libReact-tvOS.a */; + productType = "com.apple.product-type.library.static"; + }; 83CBBA2D1A601D0E00E9B192 /* React */ = { isa = PBXNativeTarget; buildConfigurationList = 83CBBA3F1A601D0F00E9B192 /* Build configuration list for PBXNativeTarget "React" */; @@ -678,6 +800,10 @@ LastUpgradeCheck = 0610; ORGANIZATIONNAME = Facebook; TargetAttributes = { + 2D2A28121D9B038B00D4039D = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + }; 83CBBA2D1A601D0E00E9B192 = { CreatedOnToolsVersion = 6.1.1; }; @@ -697,6 +823,7 @@ projectRoot = ""; targets = ( 83CBBA2D1A601D0E00E9B192 /* React */, + 2D2A28121D9B038B00D4039D /* React-tvOS */, ); }; /* End PBXProject section */ @@ -729,9 +856,127 @@ shellScript = "if [[ \"$CONFIGURATION\" == \"Debug\" ]] && [[ -d \"/tmp/RCTJSCProfiler\" ]]; then\n find \"${CONFIGURATION_BUILD_DIR}\" -name '*.app' | xargs -I{} sh -c 'cp -r /tmp/RCTJSCProfiler \"$1\"' -- {}\nfi"; showEnvVarsInLog = 0; }; + 2D6948201DA3042200B3FA97 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "if [[ \"$CONFIGURATION\" == \"Debug\" ]] && [[ -d \"/tmp/RCTJSCProfiler\" ]]; then\nfind \"${CONFIGURATION_BUILD_DIR}\" -name '*.app' | xargs -I{} sh -c 'cp -r /tmp/RCTJSCProfiler \"$1\"' -- {}\nfi"; + }; + 2D6948301DA3088700B3FA97 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "if [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\nif nc -w 5 -z localhost 8081 ; then\nif ! curl -s \"http://localhost:8081/status\" | grep -q \"packager-status:running\" ; then\necho \"Port 8081 already in use, packager is either not running or not running correctly\"\nexit 2\nfi\nelse\nopen \"$SRCROOT/../packager/launchPackager.command\" || echo \"Can't start packager automatically\"\nfi\nfi"; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 2D2A280F1D9B038B00D4039D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D3B5EC91D9B095C00451313 /* RCTBorderDrawing.m in Sources */, + 2D3B5ED31D9B097B00451313 /* RCTMapOverlay.m in Sources */, + 2D3B5E991D9B089A00451313 /* RCTDisplayLink.m in Sources */, + 2D3B5EBF1D9B093300451313 /* RCTJSCProfiler.m in Sources */, + 2D3B5EA11D9B08B600451313 /* RCTModuleData.mm in Sources */, + 2D3B5EEA1D9B09CD00451313 /* RCTTabBar.m in Sources */, + 2D3B5EAE1D9B08F800451313 /* RCTEventEmitter.m in Sources */, + 2D3B5ECA1D9B095F00451313 /* RCTComponentData.m in Sources */, + 2D3B5EA31D9B08BE00451313 /* RCTParserUtils.m in Sources */, + 2D3B5EA01D9B08B200451313 /* RCTLog.m in Sources */, + 2D3B5EE21D9B09B400451313 /* RCTScrollViewManager.m in Sources */, + 2D3B5ECF1D9B096F00451313 /* RCTFont.mm in Sources */, + 2D3B5ED51D9B098000451313 /* RCTModalHostViewController.m in Sources */, + 2D3B5EBC1D9B092600451313 /* RCTKeyboardObserver.m in Sources */, + 2D3B5E971D9B089000451313 /* RCTBridge.m in Sources */, + 2D3B5EA21D9B08BA00451313 /* RCTModuleMethod.m in Sources */, + 2D3B5E9B1D9B08A000451313 /* RCTFrameUpdate.m in Sources */, + 2D3B5EE41D9B09BB00451313 /* RCTSegmentedControlManager.m in Sources */, + 2D3B5EE31D9B09B700451313 /* RCTSegmentedControl.m in Sources */, + 2D3B5E9D1D9B08A800451313 /* RCTJavaScriptLoader.m in Sources */, + 2D3B5EB71D9B091800451313 /* RCTRedBox.m in Sources */, + 2D3B5ED11D9B097500451313 /* RCTMapAnnotation.m in Sources */, + 2D3B5EAB1D9B08EC00451313 /* RCTJSCErrorHandling.m in Sources */, + 2D3B5EAF1D9B08FB00451313 /* RCTAccessibilityManager.m in Sources */, + 2D537FD21DA4809D000F876C /* RCTMultipartDataTask.m in Sources */, + 2D3B5EF11D9B09E700451313 /* UIView+React.m in Sources */, + 2D3B5E931D9B087300451313 /* RCTErrorInfo.m in Sources */, + 2D3B5EE01D9B09AD00451313 /* RCTRootShadowView.m in Sources */, + 2D3B5EAD1D9B08F200451313 /* RCTJSCWrapper.mm in Sources */, + 2D3B5EBA1D9B092100451313 /* RCTI18nUtil.m in Sources */, + 2D3B5EB41D9B090A00451313 /* RCTDevLoadingView.m in Sources */, + 2D3B5EED1D9B09D700451313 /* RCTTabBarManager.m in Sources */, + 2D3B5EEF1D9B09DC00451313 /* RCTViewManager.m in Sources */, + 2D3B5EA91D9B08E300451313 /* CSSNodeList.c in Sources */, + 2D3B5EE11D9B09B000451313 /* RCTScrollView.m in Sources */, + 2D3B5ED81D9B098A00451313 /* RCTNavigatorManager.m in Sources */, + 2D3B5E951D9B087C00451313 /* RCTAssert.m in Sources */, + 2D3B5ED21D9B097800451313 /* RCTMapManager.m in Sources */, + 2D3B5EB61D9B091400451313 /* RCTExceptionsManager.m in Sources */, + 2D3B5EEB1D9B09D000451313 /* RCTTabBarItem.m in Sources */, + 2D3B5E961D9B088500451313 /* RCTBatchedBridge.m in Sources */, + 2D3B5ED41D9B097D00451313 /* RCTModalHostView.m in Sources */, + 2D3B5E9F1D9B08AF00451313 /* RCTKeyCommands.m in Sources */, + 2D3B5EA51D9B08C700451313 /* RCTRootView.m in Sources */, + 2D3B5EAC1D9B08EF00451313 /* RCTJSCExecutor.mm in Sources */, + 2D3B5EB11D9B090100451313 /* RCTAppState.m in Sources */, + 2D3B5EC21D9B093B00451313 /* RCTProfile.m in Sources */, + 2D3B5EAA1D9B08E600451313 /* CSSLayout.c in Sources */, + 2D3B5ECB1D9B096200451313 /* RCTConvert+CoreLocation.m in Sources */, + 2D3B5EEE1D9B09DA00451313 /* RCTView.m in Sources */, + 2D3B5ECC1D9B096500451313 /* RCTConvert+MapKit.m in Sources */, + 2D3B5E981D9B089500451313 /* RCTConvert.m in Sources */, + 2D3B5EA71D9B08CE00451313 /* RCTTouchHandler.m in Sources */, + 2D3B5EA41D9B08C200451313 /* RCTPerformanceLogger.m in Sources */, + 2D3B5E9E1D9B08AD00451313 /* RCTJSStackFrame.m in Sources */, + 2D3B5E941D9B087900451313 /* RCTBundleURLProvider.m in Sources */, + 2D3B5EB81D9B091B00451313 /* RCTSourceCode.m in Sources */, + 2D3B5EB51D9B091100451313 /* RCTDevMenu.m in Sources */, + 2D3B5EBD1D9B092A00451313 /* RCTTiming.m in Sources */, + 2D3B5EA81D9B08D300451313 /* RCTUtils.m in Sources */, + 2D3B5EC81D9B095800451313 /* RCTActivityIndicatorViewManager.m in Sources */, + 2D3B5EC61D9B095000451313 /* RCTProfileTrampoline-x86_64.S in Sources */, + 2D3B5ED01D9B097200451313 /* RCTMap.m in Sources */, + 2D3B5EA61D9B08CA00451313 /* RCTTouchEvent.m in Sources */, + 2D8C2E331DA40441000EE098 /* RCTMultipartStreamReader.m in Sources */, + 2D3B5EF01D9B09E300451313 /* RCTWrapperViewController.m in Sources */, + 2D3B5EEC1D9B09D400451313 /* RCTTabBarItemManager.m in Sources */, + 2D3B5EB01D9B08FE00451313 /* RCTAlertManager.m in Sources */, + 2D3B5E9C1D9B08A300451313 /* RCTImageSource.m in Sources */, + 2D3B5EC31D9B094800451313 /* RCTProfileTrampoline-arm.S in Sources */, + 2D3B5ED91D9B098E00451313 /* RCTNavItem.m in Sources */, + 2D3B5EC51D9B094D00451313 /* RCTProfileTrampoline-i386.S in Sources */, + 2D3B5EC41D9B094B00451313 /* RCTProfileTrampoline-arm64.S in Sources */, + 2D3B5EBB1D9B092300451313 /* RCTI18nManager.m in Sources */, + 2D3B5EBE1D9B092D00451313 /* RCTUIManager.m in Sources */, + 2D3B5EDD1D9B09A300451313 /* RCTProgressViewManager.m in Sources */, + 2D3B5ED71D9B098700451313 /* RCTNavigator.m in Sources */, + 2D3B5EDA1D9B099100451313 /* RCTNavItemManager.m in Sources */, + 2D3B5EC11D9B093900451313 /* RCTFPSGraph.m in Sources */, + 2D3B5E9A1D9B089D00451313 /* RCTEventDispatcher.m in Sources */, + 2D3B5ED61D9B098400451313 /* RCTModalHostViewManager.m in Sources */, + 2D3B5EE51D9B09BE00451313 /* RCTShadowView.m in Sources */, + 2D3B5EC71D9B095600451313 /* RCTActivityIndicatorView.m in Sources */, + 2D3B5EB21D9B090300451313 /* RCTAsyncLocalStorage.m in Sources */, + 2D3B5EC01D9B093600451313 /* RCTPerfMonitor.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 83CBBA2A1A601D0E00E9B192 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -841,6 +1086,48 @@ /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ + 2D2A28191D9B038B00D4039D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "c++14"; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_TESTABILITY = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Debug; + }; + 2D2A281A1D9B038B00D4039D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "c++14"; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_NO_COMMON_BLOCKS = YES; + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Release; + }; 83CBBA201A601CBA00E9B192 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -975,6 +1262,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 2D2A281B1D9B038B00D4039D /* Build configuration list for PBXNativeTarget "React-tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2D2A28191D9B038B00D4039D /* Debug */, + 2D2A281A1D9B038B00D4039D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "React" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/React/Views/RCTModalHostViewController.m b/React/Views/RCTModalHostViewController.m index 73d0342ad..6b1e8dcb4 100644 --- a/React/Views/RCTModalHostViewController.m +++ b/React/Views/RCTModalHostViewController.m @@ -55,7 +55,6 @@ { return _preferredStatusBarHidden; } -#endif #if RCT_DEV - (UIInterfaceOrientationMask)supportedInterfaceOrientations @@ -72,6 +71,8 @@ return _supportedInterfaceOrientations; } -#endif +#endif // RCT_DEV +#endif // !TARGET_OS_TV + @end diff --git a/React/Views/RCTScrollViewManager.m b/React/Views/RCTScrollViewManager.m index 2b2a23641..ac0f05b04 100644 --- a/React/Views/RCTScrollViewManager.m +++ b/React/Views/RCTScrollViewManager.m @@ -60,9 +60,11 @@ RCT_EXPORT_VIEW_PROPERTY(indicatorStyle, UIScrollViewIndicatorStyle) RCT_EXPORT_VIEW_PROPERTY(keyboardDismissMode, UIScrollViewKeyboardDismissMode) RCT_EXPORT_VIEW_PROPERTY(maximumZoomScale, CGFloat) RCT_EXPORT_VIEW_PROPERTY(minimumZoomScale, CGFloat) -RCT_EXPORT_VIEW_PROPERTY(pagingEnabled, BOOL) RCT_EXPORT_VIEW_PROPERTY(scrollEnabled, BOOL) +#if !TARGET_OS_TV +RCT_EXPORT_VIEW_PROPERTY(pagingEnabled, BOOL) RCT_EXPORT_VIEW_PROPERTY(scrollsToTop, BOOL) +#endif RCT_EXPORT_VIEW_PROPERTY(showsHorizontalScrollIndicator, BOOL) RCT_EXPORT_VIEW_PROPERTY(showsVerticalScrollIndicator, BOOL) RCT_EXPORT_VIEW_PROPERTY(stickyHeaderIndices, NSIndexSet) diff --git a/packager/react-native-xcode.sh b/packager/react-native-xcode.sh index c96149d03..a27d2dbe0 100755 --- a/packager/react-native-xcode.sh +++ b/packager/react-native-xcode.sh @@ -14,7 +14,7 @@ case "$CONFIGURATION" in Debug) # Speed up build times by skipping the creation of the offline package for debug # builds on the simulator since the packager is supposed to be running anyways. - if [[ "$PLATFORM_NAME" = "iphonesimulator" ]]; then + if [[ "$PLATFORM_NAME" == *simulator ]]; then echo "Skipping bundling for Simulator platform" exit 0; fi @@ -71,7 +71,7 @@ type $NODE_BINARY >/dev/null 2>&1 || nodejs_not_found set -x DEST=$CONFIGURATION_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH -if [[ "$CONFIGURATION" = "Debug" && "$PLATFORM_NAME" != "iphonesimulator" ]]; then +if [[ "$CONFIGURATION" = "Debug" && ! "$PLATFORM_NAME" == *simulator ]]; then PLISTBUDDY='/usr/libexec/PlistBuddy' PLIST=$TARGET_BUILD_DIR/$INFOPLIST_PATH IP=$(ipconfig getifaddr en0) diff --git a/scripts/objc-test.sh b/scripts/objc-test.sh index ec1a43f18..5b6d645c6 100755 --- a/scripts/objc-test.sh +++ b/scripts/objc-test.sh @@ -33,6 +33,35 @@ set +e OUTPUT_TOOL=$(which xcpretty) set -e +# TODO: We use xcodebuild because xctool would stall when collecting info about +# the tests before running them. Switch back when this issue with xctool has +# been resolved. +if [ -z "$OUTPUT_TOOL" ]; then + xcodebuild \ + -project $XCODE_PROJECT \ + -scheme $XCODE_SCHEME \ + -sdk $XCODE_SDK \ + -destination "$XCODE_DESTINATION" \ + test +else + xcodebuild \ + -project $XCODE_PROJECT \ + -scheme $XCODE_SCHEME \ + -sdk $XCODE_SDK \ + -destination "$XCODE_DESTINATION" \ + test | $OUTPUT_TOOL +fi + +XCODE_PROJECT="Examples/UIExplorer/UIExplorer.xcodeproj" +XCODE_SCHEME="UIExplorer-tvOS" +XCODE_SDK="appletvsimulator" +XCODE_DESTINATION="platform=tvOS Simulator,name=Apple TV 1080p,OS=9.2" + +# Support for environments without xcpretty installed +set +e +OUTPUT_TOOL=$(which xcpretty) +set -e + # TODO: We use xcodebuild because xctool would stall when collecting info about # the tests before running them. Switch back when this issue with xctool has # been resolved. @@ -51,3 +80,4 @@ else -destination "$XCODE_DESTINATION" \ test | $OUTPUT_TOOL && exit ${PIPESTATUS[0]} fi +