Skip to content

Commit 995fb04

Browse files
committed
fix: remove unnecessary diff after upstreaming changes (#151)
1 parent c085b3b commit 995fb04

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

packages/react-native/ReactCommon/react/renderer/graphics/React-graphics.podspec

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ Pod::Spec.new do |s|
5454
header_search_paths = header_search_paths + ["\"$(PODS_TARGET_SRCROOT)/platform/ios\""]
5555
end
5656

57-
s.framework = "UIKit"
58-
5957
s.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
6058
"HEADER_SEARCH_PATHS" => header_search_paths.join(" "),
6159
"DEFINES_MODULE" => "YES",

packages/react-native/sdks/hermes-engine/hermes-engine.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ react_native_path = File.join(__dir__, "..", "..")
1212
package = JSON.parse(File.read(File.join(react_native_path, "package.json")))
1313
version = package['version']
1414

15-
# Temporaily build from source until visionOS supports prebuilt binaries
16-
source_type = HermesEngineSourceType::BUILD_FROM_GITHUB_MAIN # hermes_source_type(version, react_native_path)
15+
source_type = hermes_source_type(version, react_native_path)
1716
source = podspec_source(source_type, version, react_native_path)
1817

1918
Pod::Spec.new do |spec|
@@ -139,6 +138,7 @@ Pod::Spec.new do |spec|
139138
:name => '[RN] [2] Build Hermes',
140139
:input_files => ["#{hermesc_path}/ImportHermesc.cmake"],
141140
:output_files => [
141+
"${PODS_ROOT}/hermes-engine/build/iphonesimulator/API/hermes/hermes.framework/hermes",
142142
"${PODS_ROOT}/hermes-engine/build/xrsimulator/API/hermes/hermes.framework/hermes",
143143
],
144144
:script => <<-EOS

packages/react-native/sdks/hermes-engine/utils/build-hermes-xcode.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ function get_deployment_target {
3131
elif [[ $1 == "xrsimulator" || $1 == "xros" ]]; then
3232
echo "${XROS_DEPLOYMENT_TARGET}"
3333
return
34-
elif [[ $1 == "xrsimulator" || $1 == "xros" ]]; then
35-
echo ${XROS_DEPLOYMENT_TARGET}
36-
return
3734
fi
3835

3936
echo "${IPHONEOS_DEPLOYMENT_TARGET}"

0 commit comments

Comments
 (0)