File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
packages/engine-rn-tvos/templates/platforms/tvos Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1
1
nodeLinker : node-modules
2
2
3
3
yarnPath : .yarn/releases/yarn-3.6.4.cjs
4
+
5
+ checksumBehavior : update
Original file line number Diff line number Diff line change 1
-
2
1
source 'https://github.com/react-native-tvos/react-native-tvos-podspecs.git'
3
2
source 'https://cdn.cocoapods.org/'
4
3
{ { INJECT_PLUGIN_PODFILE_SOURCES } }
5
4
5
+
6
+ cmake_path = `command -v cmake`
7
+ if cmake_path == ""
8
+ brew_path = `command -v brew`
9
+ if brew_path != ""
10
+ Pod ::UI . puts "Installing CMake using brew. This is required to build project." . red
11
+ `brew install cmake`
12
+ else
13
+ Pod ::UI . puts "In order to build project locally, you need cmake installed, please install it and try again" . red
14
+ return
15
+ end
16
+ else
17
+ Pod ::UI . puts "Cmake found at: #{ cmake_path } " . green
18
+ end
19
+
20
+
6
21
# Resolve react_native_pods.rb with node to allow for hoisting
7
22
def node_require ( script )
8
23
# Resolve script with node to allow for hoisting
You can’t perform that action at this time.
0 commit comments