Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Only link against UnityFramework on non-simulator SDK
  • Loading branch information
joannahliu committed Sep 16, 2021
commit 402df02ea430a7fdc3b7178598d5a492f8a41785
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions react-native-unity-view.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ Pod::Spec.new do |s|

s.source_files = "ios/**/*.{h,m,mm}"
s.public_header_files = 'ios/**/*.h'
s.frameworks = 'UnityFramework'
# s.weak_frameworks = 'UnityFramework'
s.dependency "React"

s.xcconfig = {
'FRAMEWORK_SEARCH_PATHS' => '"${PODS_ROOT}/../unityExport" "${PODS_CONFIGURATION_BUILD_DIR}"',
'OTHER_LDFLAGS' => '$(inherited) -weak_framework UnityFramework ${PODS_LIBRARIES}'
'OTHER_LDFLAGS[sdk=iphoneos*]' => '$(inherited) -framework UnityFramework ${PODS_LIBRARIES}'
}
end