mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fix: set proper framework dependencies for built-in pods (#45104)
Summary: Platforms like visionOS require explicit framework dependencies to be set in pods to build properly. For some reason linking on visionOS is more strict than on iOS but this might change in some future OS versions so it's good to have pods having exact dependencies. I've discussed that earlier with Saadnajmi and cipolleschi. Let me know if you are okay with this change. ## Changelog: [IOS] [FIXED] - set proper framework dependencies for built-in pods Pull Request resolved: https://github.com/facebook/react-native/pull/45104 Test Plan: CI Green Reviewed By: dmytrorykun Differential Revision: D58943593 Pulled By: cipolleschi fbshipit-source-id: 3d2df4f3bbdf36704e09f5e39bfb838b2e0f3c99
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f7fe68861a
commit
6bb75c7b13
@@ -21,6 +21,7 @@ Pod::Spec.new do |s|
|
||||
|
||||
s.source_files = "**/*.{h,m,mm,swift}"
|
||||
s.requires_arc = true
|
||||
s.framework = ["UIKit", "CoreGraphics"]
|
||||
|
||||
install_modules_dependencies(s)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user