mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
6bb75c7b13
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
28 lines
977 B
Ruby
28 lines
977 B
Ruby
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
require "json"
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, "../package.json")))
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = "ScreenshotManager"
|
|
s.version = package["version"]
|
|
s.summary = package["description"]
|
|
s.description = "ScreenshotManager"
|
|
s.homepage = "https://github.com/facebook/react-native.git"
|
|
s.license = "MIT"
|
|
s.platforms = min_supported_versions
|
|
s.compiler_flags = '-Wno-nullability-completeness'
|
|
s.author = "Meta Platforms, Inc. and its affiliates"
|
|
s.source = { :git => "https://github.com/facebook/react-native.git", :tag => "#{s.version}" }
|
|
|
|
s.source_files = "**/*.{h,m,mm,swift}"
|
|
s.requires_arc = true
|
|
s.framework = ["UIKit", "CoreGraphics"]
|
|
|
|
install_modules_dependencies(s)
|
|
end
|