Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pavjacko committed Aug 3, 2018
1 parent bd1cf19 commit 292540b
Show file tree
Hide file tree
Showing 28 changed files with 58 additions and 51 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ node_modules/
npm-debug.log
yarn-error.log

index/

# BUCK
buck-out/
\.buckd/
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
"author": "Pavel Jacko <[email protected]>",
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"sim-ios": "xcrun instruments -w \"iPhone 6 (11.2)\"",
"sim-tvos": "xcrun instruments -w \"Apple TV (11.4)\"",
"ios": "react-native run-tvos --project-path ios",
"ios": "react-native run-ios --project-path ios --simulator \"iPhone 6\"",
"tvos": "react-native run-ios --project-path tvos --simulator \"Apple TV\"",
"fix:ios": "sed -i '' 's/#import <RCTAnimation\\/RCTValueAnimatedNode.h>/#import \"RCTValueAnimatedNode.h\"/' ./node_modules/react-native/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.h",
"setup": "rm -rf node_modules && rm -rf ios/build && npm install && npm run ios:update && npm run fix:ios",
Expand Down
2 changes: 1 addition & 1 deletion tvos/Podfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

use_frameworks!

target 'ReactNativeVanillaTVOS' do
target 'ReactNativeVanilla' do
platform :tvos, '10.0'
pod 'React', :path => "../node_modules/react-native/" , :subspecs => [
'Core',
Expand Down
2 changes: 1 addition & 1 deletion tvos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ SPEC CHECKSUMS:
React: 1fe0eb13d90b625d94c3b117c274dcfd2e760e11
yoga: b1ce48b6cf950b98deae82838f5173ea7cf89e85

PODFILE CHECKSUM: 6525295d47b6944686a3dcb079048b14d1eb89f8
PODFILE CHECKSUM: c3619268454304d46d5dcfc940f15a9a4a67057f

COCOAPODS: 1.4.0
64 changes: 32 additions & 32 deletions tvos/ReactNativeVanilla.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@
/* Begin PBXBuildFile section */
20200EBC21143502009FB5CA /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20200EBB21143502009FB5CA /* AppDelegate.swift */; };
20200EC321143504009FB5CA /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 20200EC221143504009FB5CA /* Assets.xcassets */; };
C4992D2A6D5122F260146A0D /* Pods_ReactNativeVanillaTVOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1CE6A3E510481BC45B929D5D /* Pods_ReactNativeVanillaTVOS.framework */; };
C4992D2A6D5122F260146A0D /* Pods_ReactNativeVanilla.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1CE6A3E510481BC45B929D5D /* Pods_ReactNativeVanilla.framework */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
00D8883DE252DCCD8E35A8B3 /* Pods-ReactNativeVanillaTVOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeVanillaTVOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-ReactNativeVanillaTVOS/Pods-ReactNativeVanillaTVOS.release.xcconfig"; sourceTree = "<group>"; };
1CE6A3E510481BC45B929D5D /* Pods_ReactNativeVanillaTVOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ReactNativeVanillaTVOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
20200EB921143502009FB5CA /* ReactNativeVanillaTVOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReactNativeVanillaTVOS.app; sourceTree = BUILT_PRODUCTS_DIR; };
00D8883DE252DCCD8E35A8B3 /* Pods-ReactNativeVanilla.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeVanilla.release.xcconfig"; path = "Pods/Target Support Files/Pods-ReactNativeVanilla/Pods-ReactNativeVanilla.release.xcconfig"; sourceTree = "<group>"; };
1CE6A3E510481BC45B929D5D /* Pods_ReactNativeVanilla.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ReactNativeVanilla.framework; sourceTree = BUILT_PRODUCTS_DIR; };
20200EB921143502009FB5CA /* ReactNativeVanilla.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReactNativeVanilla.app; sourceTree = BUILT_PRODUCTS_DIR; };
20200EBB21143502009FB5CA /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
20200EC221143504009FB5CA /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
20200EC421143504009FB5CA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
AB8A47617386638B6D79C095 /* Pods_ReactNativeVanilla.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ReactNativeVanilla.framework; sourceTree = BUILT_PRODUCTS_DIR; };
FF8BDA7EF1C63EE79868B6A4 /* Pods-ReactNativeVanillaTVOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeVanillaTVOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ReactNativeVanillaTVOS/Pods-ReactNativeVanillaTVOS.debug.xcconfig"; sourceTree = "<group>"; };
FF8BDA7EF1C63EE79868B6A4 /* Pods-ReactNativeVanilla.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeVanilla.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ReactNativeVanilla/Pods-ReactNativeVanilla.debug.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
20200EB621143502009FB5CA /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C4992D2A6D5122F260146A0D /* Pods_ReactNativeVanillaTVOS.framework in Frameworks */,
C4992D2A6D5122F260146A0D /* Pods_ReactNativeVanilla.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -38,26 +38,26 @@
0E3312C66CE20857488874BF /* Pods */ = {
isa = PBXGroup;
children = (
FF8BDA7EF1C63EE79868B6A4 /* Pods-ReactNativeVanillaTVOS.debug.xcconfig */,
00D8883DE252DCCD8E35A8B3 /* Pods-ReactNativeVanillaTVOS.release.xcconfig */,
FF8BDA7EF1C63EE79868B6A4 /* Pods-ReactNativeVanilla.debug.xcconfig */,
00D8883DE252DCCD8E35A8B3 /* Pods-ReactNativeVanilla.release.xcconfig */,
);
name = Pods;
sourceTree = "<group>";
};
20200EBA21143502009FB5CA /* ReactNativeVanillaTVOS */ = {
20200EBA21143502009FB5CA /* ReactNativeVanilla */ = {
isa = PBXGroup;
children = (
20200EBB21143502009FB5CA /* AppDelegate.swift */,
20200EC221143504009FB5CA /* Assets.xcassets */,
20200EC421143504009FB5CA /* Info.plist */,
);
path = ReactNativeVanillaTVOS;
path = ReactNativeVanilla;
sourceTree = "<group>";
};
2070914921078B0D00FFF1DB = {
isa = PBXGroup;
children = (
20200EBA21143502009FB5CA /* ReactNativeVanillaTVOS */,
20200EBA21143502009FB5CA /* ReactNativeVanilla */,
2070915321078B0D00FFF1DB /* Products */,
0E3312C66CE20857488874BF /* Pods */,
B566E91986956011A4C625F0 /* Frameworks */,
Expand All @@ -67,7 +67,7 @@
2070915321078B0D00FFF1DB /* Products */ = {
isa = PBXGroup;
children = (
20200EB921143502009FB5CA /* ReactNativeVanillaTVOS.app */,
20200EB921143502009FB5CA /* ReactNativeVanilla.app */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -76,17 +76,17 @@
isa = PBXGroup;
children = (
AB8A47617386638B6D79C095 /* Pods_ReactNativeVanilla.framework */,
1CE6A3E510481BC45B929D5D /* Pods_ReactNativeVanillaTVOS.framework */,
1CE6A3E510481BC45B929D5D /* Pods_ReactNativeVanilla.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
20200EB821143502009FB5CA /* ReactNativeVanillaTVOS */ = {
20200EB821143502009FB5CA /* ReactNativeVanilla */ = {
isa = PBXNativeTarget;
buildConfigurationList = 20200EC721143504009FB5CA /* Build configuration list for PBXNativeTarget "ReactNativeVanillaTVOS" */;
buildConfigurationList = 20200EC721143504009FB5CA /* Build configuration list for PBXNativeTarget "ReactNativeVanilla" */;
buildPhases = (
BDBEC1166F7B4AC060313371 /* [CP] Check Pods Manifest.lock */,
20200EB521143502009FB5CA /* Sources */,
Expand All @@ -99,9 +99,9 @@
);
dependencies = (
);
name = ReactNativeVanillaTVOS;
productName = ReactNativeVanillaTVOS;
productReference = 20200EB921143502009FB5CA /* ReactNativeVanillaTVOS.app */;
name = ReactNativeVanilla;
productName = ReactNativeVanilla;
productReference = 20200EB921143502009FB5CA /* ReactNativeVanilla.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
Expand Down Expand Up @@ -132,7 +132,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
20200EB821143502009FB5CA /* ReactNativeVanillaTVOS */,
20200EB821143502009FB5CA /* ReactNativeVanilla */,
);
};
/* End PBXProject section */
Expand All @@ -155,7 +155,7 @@
files = (
);
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-ReactNativeVanillaTVOS/Pods-ReactNativeVanillaTVOS-frameworks.sh",
"${SRCROOT}/Pods/Target Support Files/Pods-ReactNativeVanilla/Pods-ReactNativeVanilla-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/DoubleConversion/DoubleConversion.framework",
"${BUILT_PRODUCTS_DIR}/Folly/folly.framework",
"${BUILT_PRODUCTS_DIR}/React/React.framework",
Expand All @@ -172,7 +172,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ReactNativeVanillaTVOS/Pods-ReactNativeVanillaTVOS-frameworks.sh\"\n";
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ReactNativeVanilla/Pods-ReactNativeVanilla-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
56B8C10290D8DC5A064980E9 /* [CP] Copy Pods Resources */ = {
Expand All @@ -187,7 +187,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ReactNativeVanillaTVOS/Pods-ReactNativeVanillaTVOS-resources.sh\"\n";
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ReactNativeVanilla/Pods-ReactNativeVanilla-resources.sh\"\n";
showEnvVarsInLog = 0;
};
BDBEC1166F7B4AC060313371 /* [CP] Check Pods Manifest.lock */ = {
Expand All @@ -201,7 +201,7 @@
);
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-ReactNativeVanillaTVOS-checkManifestLockResult.txt",
"$(DERIVED_FILE_DIR)/Pods-ReactNativeVanilla-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
Expand All @@ -224,18 +224,18 @@
/* Begin XCBuildConfiguration section */
20200EC521143504009FB5CA /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = FF8BDA7EF1C63EE79868B6A4 /* Pods-ReactNativeVanillaTVOS.debug.xcconfig */;
baseConfigurationReference = FF8BDA7EF1C63EE79868B6A4 /* Pods-ReactNativeVanilla.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Launch Image";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = ReactNativeVanillaTVOS/Info.plist;
INFOPLIST_FILE = ReactNativeVanilla/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = pavjacko.ReactNativeVanillaTVOS;
PRODUCT_BUNDLE_IDENTIFIER = pavjacko.ReactNativeVanilla;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = appletvos;
SWIFT_VERSION = 4.0;
Expand All @@ -246,18 +246,18 @@
};
20200EC621143504009FB5CA /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 00D8883DE252DCCD8E35A8B3 /* Pods-ReactNativeVanillaTVOS.release.xcconfig */;
baseConfigurationReference = 00D8883DE252DCCD8E35A8B3 /* Pods-ReactNativeVanilla.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Launch Image";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = ReactNativeVanillaTVOS/Info.plist;
INFOPLIST_FILE = ReactNativeVanilla/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = pavjacko.ReactNativeVanillaTVOS;
PRODUCT_BUNDLE_IDENTIFIER = pavjacko.ReactNativeVanilla;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = appletvos;
SWIFT_VERSION = 4.0;
Expand Down Expand Up @@ -383,7 +383,7 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
20200EC721143504009FB5CA /* Build configuration list for PBXNativeTarget "ReactNativeVanillaTVOS" */ = {
20200EC721143504009FB5CA /* Build configuration list for PBXNativeTarget "ReactNativeVanilla" */ = {
isa = XCConfigurationList;
buildConfigurations = (
20200EC521143504009FB5CA /* Debug */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "20200EB821143502009FB5CA"
BuildableName = "ReactNativeVanillaTVOS.app"
BlueprintName = "ReactNativeVanillaTVOS"
BuildableName = "ReactNativeVanilla.app"
BlueprintName = "ReactNativeVanilla"
ReferencedContainer = "container:ReactNativeVanilla.xcodeproj">
</BuildableReference>
</BuildActionEntry>
Expand All @@ -33,8 +33,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "20200EB821143502009FB5CA"
BuildableName = "ReactNativeVanillaTVOS.app"
BlueprintName = "ReactNativeVanillaTVOS"
BuildableName = "ReactNativeVanilla.app"
BlueprintName = "ReactNativeVanilla"
ReferencedContainer = "container:ReactNativeVanilla.xcodeproj">
</BuildableReference>
</MacroExpansion>
Expand All @@ -56,8 +56,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "20200EB821143502009FB5CA"
BuildableName = "ReactNativeVanillaTVOS.app"
BlueprintName = "ReactNativeVanillaTVOS"
BuildableName = "ReactNativeVanilla.app"
BlueprintName = "ReactNativeVanilla"
ReferencedContainer = "container:ReactNativeVanilla.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
Expand All @@ -75,8 +75,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "20200EB821143502009FB5CA"
BuildableName = "ReactNativeVanillaTVOS.app"
BlueprintName = "ReactNativeVanillaTVOS"
BuildableName = "ReactNativeVanilla.app"
BlueprintName = "ReactNativeVanilla"
ReferencedContainer = "container:ReactNativeVanilla.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict/>
</plist>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// AppDelegate.swift
// ReactNativeVanillaTVOS
// ReactNativeVanilla
//
// Created by Pavel Jacko on 03/08/2018.
// Copyright © 2018 pavjacko. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>ReactNativeVanilla</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
Expand All @@ -25,6 +22,11 @@
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
Expand Down

0 comments on commit 292540b

Please sign in to comment.