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

[RN][iOS] Do not add LongLivedObject wrapper in OSS #35491

Closed
wants to merge 1 commit into from

Conversation

cipolleschi
Copy link
Contributor

Summary

This change excludes the LongLivedObject.h file from the pod in the ReactCommon library.

The file creates a problem when the use_frameworks! option is used in an app because there can't be two files with the same name, despite being in different paths,
within the same framework. Specifically, this LongLivedObject is just a redirect to the other one, so it should be safe to exclude this.

Changelog

[iOS][Fixed] - Exclude redirector to LongLivedObject.h from ReactCommon podspec

Test Plan

  1. Manually tested in an app from RC2

@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 labels Nov 27, 2022
@react-native-bot react-native-bot added Bug Platform: iOS iOS applications. labels Nov 27, 2022
@analysis-bot
Copy link

analysis-bot commented Nov 27, 2022

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 10a8f18
Branch: main

@cipolleschi cipolleschi marked this pull request as ready for review November 28, 2022 11:36
@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@cipolleschi
Copy link
Contributor Author

Closing this as I'm working on a Stack internally to fix use_frameworks!

@cipolleschi cipolleschi deleted the cipolleschi/fix_long_lived_object branch November 28, 2022 11:53
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request Nov 28, 2022
Summary:
This change excludes the `LongLivedObject.h` file from the pod in the ReactCommon library.

The file creates a problem when the `use_frameworks!` option is used in an app because there can't be two files with the same name, despite being in different paths,
within the same framework. Specifically, this `LongLivedObject` is just a redirect to the other one, so it should be safe to exclude this.

## Changelog

[iOS][Fixed] - Exclude redirector to `LongLivedObject.h` from ReactCommon podspec

Pull Request resolved: facebook#35491

Test Plan: 1. Manually tested in an app from RC2

Differential Revision: D41548985

Pulled By: cipolleschi

fbshipit-source-id: c58b07aa2eb2d0f526478185a9b08f95299facd5
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request Nov 28, 2022
Summary:
This change excludes the `LongLivedObject.h` file from the pod in the ReactCommon library.

The file creates a problem when the `use_frameworks!` option is used in an app because there can't be two files with the same name, despite being in different paths,
within the same framework. Specifically, this `LongLivedObject` is just a redirect to the other one, so it should be safe to exclude this.

## Changelog

[iOS][Fixed] - Exclude redirector to `LongLivedObject.h` from ReactCommon podspec

Pull Request resolved: facebook#35491

Test Plan: 1. Manually tested in an app from RC2

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

Pulled By: cipolleschi

fbshipit-source-id: 7f85279e1e38128d4683edf063d07dbfdaf66a0d
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request Nov 28, 2022
Summary:
This change excludes the `LongLivedObject.h` file from the pod in the ReactCommon library.

The file creates a problem when the `use_frameworks!` option is used in an app because there can't be two files with the same name, despite being in different paths,
within the same framework. Specifically, this `LongLivedObject` is just a redirect to the other one, so it should be safe to exclude this.

## Changelog

[iOS][Fixed] - Exclude redirector to `LongLivedObject.h` from ReactCommon podspec

Pull Request resolved: facebook#35491

Test Plan: 1. Manually tested in an app from RC2

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

Pulled By: cipolleschi

fbshipit-source-id: 4ef203688c43bdd586ce02c5081a36b604acc2f6
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request Nov 28, 2022
Summary:
This change excludes the `LongLivedObject.h` file from the pod in the ReactCommon library.

The file creates a problem when the `use_frameworks!` option is used in an app because there can't be two files with the same name, despite being in different paths,
within the same framework. Specifically, this `LongLivedObject` is just a redirect to the other one, so it should be safe to exclude this.

## Changelog

[iOS][Fixed] - Exclude redirector to `LongLivedObject.h` from ReactCommon podspec

Pull Request resolved: facebook#35491

Test Plan: 1. Manually tested in an app from RC2

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

Pulled By: cipolleschi

fbshipit-source-id: 38878f923bfaec1b7e83413d8ad62a65f2545922
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request Nov 28, 2022
Summary:
This change excludes the `LongLivedObject.h` file from the pod in the ReactCommon library.

The file creates a problem when the `use_frameworks!` option is used in an app because there can't be two files with the same name, despite being in different paths,
within the same framework. Specifically, this `LongLivedObject` is just a redirect to the other one, so it should be safe to exclude this.

## Changelog

[iOS][Fixed] - Exclude redirector to `LongLivedObject.h` from ReactCommon podspec

Pull Request resolved: facebook#35491

Test Plan: 1. Manually tested in an app from RC2

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

Pulled By: cipolleschi

fbshipit-source-id: c7736093a869e19956bacd7273edc19799417dc0
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request Nov 28, 2022
Summary:
This change excludes the `LongLivedObject.h` file from the pod in the ReactCommon library.

The file creates a problem when the `use_frameworks!` option is used in an app because there can't be two files with the same name, despite being in different paths,
within the same framework. Specifically, this `LongLivedObject` is just a redirect to the other one, so it should be safe to exclude this.

## Changelog

[iOS][Fixed] - Exclude redirector to `LongLivedObject.h` from ReactCommon podspec

Pull Request resolved: facebook#35491

Test Plan: 1. Manually tested in an app from RC2

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

Pulled By: cipolleschi

fbshipit-source-id: 0807eee9cd22f558465d5d708b14ed02a003bb7f
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request Nov 28, 2022
Summary:
This change excludes the `LongLivedObject.h` file from the pod in the ReactCommon library.

The file creates a problem when the `use_frameworks!` option is used in an app because there can't be two files with the same name, despite being in different paths,
within the same framework. Specifically, this `LongLivedObject` is just a redirect to the other one, so it should be safe to exclude this.

## Changelog

[iOS][Fixed] - Exclude redirector to `LongLivedObject.h` from ReactCommon podspec

Pull Request resolved: facebook#35491

Test Plan: 1. Manually tested in an app from RC2

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

Pulled By: cipolleschi

fbshipit-source-id: b78f420283be54f894f48aba8cc040f47f1791ad
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request Nov 28, 2022
Summary:
This change excludes the `LongLivedObject.h` file from the pod in the ReactCommon library.

The file creates a problem when the `use_frameworks!` option is used in an app because there can't be two files with the same name, despite being in different paths,
within the same framework. Specifically, this `LongLivedObject` is just a redirect to the other one, so it should be safe to exclude this.

## Changelog

[iOS][Fixed] - Exclude redirector to `LongLivedObject.h` from ReactCommon podspec

Pull Request resolved: facebook#35491

Test Plan: 1. Manually tested in an app from RC2

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

Pulled By: cipolleschi

fbshipit-source-id: c88ede4e1b978a8af0506e6c42e6f2bd5c50a506
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request Nov 28, 2022
Summary:
This change excludes the `LongLivedObject.h` file from the pod in the ReactCommon library.

The file creates a problem when the `use_frameworks!` option is used in an app because there can't be two files with the same name, despite being in different paths,
within the same framework. Specifically, this `LongLivedObject` is just a redirect to the other one, so it should be safe to exclude this.

## Changelog

[iOS][Fixed] - Exclude redirector to `LongLivedObject.h` from ReactCommon podspec

Pull Request resolved: facebook#35491

Test Plan: 1. Manually tested in an app from RC2

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

Pulled By: cipolleschi

fbshipit-source-id: 5ff5b0eaf43fea4abd67f091482bd80fc11ec05c
facebook-github-bot pushed a commit that referenced this pull request Nov 29, 2022
Summary:
This change excludes the `LongLivedObject.h` file from the pod in the ReactCommon library.

The file creates a problem when the `use_frameworks!` option is used in an app because there can't be two files with the same name, despite being in different paths,
within the same framework. Specifically, this `LongLivedObject` is just a redirect to the other one, so it should be safe to exclude this.

## Changelog

[iOS][Fixed] - Exclude redirector to `LongLivedObject.h` from ReactCommon podspec

Pull Request resolved: #35491

Test Plan: 1. Manually tested in an app from RC2

Reviewed By: cortinico

Differential Revision: D41548985

Pulled By: cipolleschi

fbshipit-source-id: acc57fccdedb344a3aa105f2968645a049392e07
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cipolleschi in dd0bf83.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Nov 29, 2022
kelset pushed a commit that referenced this pull request Nov 30, 2022
Summary:
This change excludes the `LongLivedObject.h` file from the pod in the ReactCommon library.

The file creates a problem when the `use_frameworks!` option is used in an app because there can't be two files with the same name, despite being in different paths,
within the same framework. Specifically, this `LongLivedObject` is just a redirect to the other one, so it should be safe to exclude this.

## Changelog

[iOS][Fixed] - Exclude redirector to `LongLivedObject.h` from ReactCommon podspec

Pull Request resolved: #35491

Test Plan: 1. Manually tested in an app from RC2

Reviewed By: cortinico

Differential Revision: D41548985

Pulled By: cipolleschi

fbshipit-source-id: acc57fccdedb344a3aa105f2968645a049392e07
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
Summary:
This change excludes the `LongLivedObject.h` file from the pod in the ReactCommon library.

The file creates a problem when the `use_frameworks!` option is used in an app because there can't be two files with the same name, despite being in different paths,
within the same framework. Specifically, this `LongLivedObject` is just a redirect to the other one, so it should be safe to exclude this.

## Changelog

[iOS][Fixed] - Exclude redirector to `LongLivedObject.h` from ReactCommon podspec

Pull Request resolved: facebook#35491

Test Plan: 1. Manually tested in an app from RC2

Reviewed By: cortinico

Differential Revision: D41548985

Pulled By: cipolleschi

fbshipit-source-id: acc57fccdedb344a3aa105f2968645a049392e07
@cipolleschi cipolleschi mentioned this pull request Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Facebook Partner: Facebook Partner Platform: iOS iOS applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants