Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add React-FabricImage pod to solve Circulare dependency between Fabric image component and ImageManager #37276

Closed
wants to merge 1 commit into from

Conversation

cipolleschi
Copy link
Contributor

Summary:
When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

Changelog

[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: D45517278

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels May 5, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45517278

@analysis-bot
Copy link

analysis-bot commented May 5, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,721,318 -2
android hermes armeabi-v7a 8,032,038 -4
android hermes x86 9,208,865 -3
android hermes x86_64 9,062,315 +0
android jsc arm64-v8a 9,285,675 -3
android jsc armeabi-v7a 8,473,837 -2
android jsc x86 9,344,620 -2
android jsc x86_64 9,601,678 -1

Base commit: e540d05
Branch: main

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request May 5, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: D45517278

fbshipit-source-id: 7390684fef3dd1470c236c51078e2e01425eb8ec
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45517278

cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 6, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: e2d93456b195db6bbcc95647f21f9fe3ab8b865b
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 6, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: 12fa69975282abd73bf5259033cd247e41359f0a
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 6, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: b27560d1c10519ea8a3a2cd0d20641752ab7f148
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 6, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: 511397fb476f5da18ae223f5639122d2e982cc1e
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 6, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: 99c4c64bd041763195824280e66fbbacf56a1fbe
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 6, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: 3fbaee6fa9a00b78f0d0ae8400862293f353cdf6
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45517278

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request May 6, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: D45517278

fbshipit-source-id: 38d5e8c79de5f19baa5b7551ee428702b5df8f43
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 6, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: 25047ad883d2286b1d1e2303558f1792d57a414a
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 6, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: c9ecc48e9d87f057f1e59a902aad0a23d3d20a4a
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 6, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: 23abaaab744d1df90187837f921412248211962e
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 6, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: b853a1dca953cb591c90fb04e0eea56933a45641
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 9, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: c17787711ef6f4f9b8d64e02b2453858abcf7f49
cipolleschi added a commit to cipolleschi/react-native that referenced this pull request May 9, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Reviewed By: NickGerleman

Differential Revision: D45517278

fbshipit-source-id: b6b7f33e8ec130611f5aecf764246c0f6344b452
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45517278

cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 9, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: c6800c05d7378632c173ad89ef0492abecf980c8
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 9, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: cc8950efb6eaaea51d38bb90e259aca86dfec60f
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 9, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: 7331e88c005ea871fd176654498ea8d2e709648c
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Reviewed By: NickGerleman

Differential Revision: D45517278

fbshipit-source-id: 5eda8630715351798671978e67019a71876ded37
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45517278

cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request May 9, 2023
…c image component and ImageManager (facebook#37276)

Summary:
Pull Request resolved: facebook#37276

When enabling dynamic linking, we had a circulr dependency between Fabric and the Image Manager.

Specifically, Image Manager depends on Fabric, but the Image component, in Fabric, is using some implementation specific files from the Image Manager that surface only when enabling the dynamic linking.

Xcode fails to find those symbols unless the dependencies are explicitly added to the podspec.

This change is technically breaking, but we tried to minimize the breakage by adding the new pod in all the required search paths.

## Changelog
[iOS][Breaking] - Add React-FabricImage pod.

Differential Revision: https://internalfb.com/D45517278

fbshipit-source-id: 89c991bed7c170c6bb2f7f6e8b19ec64847f5454
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 9, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 44af6ca.

@andreialecu
Copy link

@cipolleschi getting:

[!] CocoaPods could not find compatible versions for pod "React-FabricImage":
  In Podfile:
    React-FabricImage (from `../node_modules/react-native/ReactCommon`)

Specs satisfying the `React-FabricImage (from `../node_modules/react-native/ReactCommon`)` dependency were found, but they required a higher minimum deployment target.

I believe this is the culprit. Currently debugging why.

@andreialecu
Copy link

Figured it out, we had:

platform :ios, '13.0'

Changing it to the following seems to have fixed this issue:

platform :ios, min_ios_version_supported

Leaving it here as it may help someone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants