-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Integrate Flipper in RNTester on iOS #27762
Integrate Flipper in RNTester on iOS #27762
Conversation
This pull request was exported from Phabricator. Differential Revision: D19391739 |
|
Summary: Pull Request resolved: facebook#27762 Integrates Flipper in RNTester application and fixes the integration issues with `use_frameworks!` keyword. Changelog: Flipper integration in RNTester application. Differential Revision: D19391739 fbshipit-source-id: 99e2fa1435b5a3d6959b35133e1d391f315a953a
dc5f854
to
eef0942
Compare
This pull request was exported from Phabricator. Differential Revision: D19391739 |
Hi priteshrnandgaonkar! Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours needs attention. You currently have a record in our system, but we do not have a signature on file.In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
end | ||
end | ||
end | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@priteshrnandgaonkar Could you link me to a write-up, if one exists, on the need for these deps to be linked statically?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go through the iOS setup mentioned here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I’ve seen those before, but they do not describe why these dependencies need to be linked statically and why a monkey-patch of CocoaPods is required. I would like to understand those technical reasons, as I would like to see if there’s a way to avoid the need to monkey-patch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason being, Flipper relies on CocoaLibEvent which has bunch of statically linked binaries libevent.a, libevevnt_core.a etc. due to which the SubPods relying on it has to be built as a Static Framework, which is Flipper-Folly. So ideally speaking building just CocoaLibEvent, Flipper-Folly as a static framework should work, but for some reason the dynamic framework failed to link Flipper-Folly, which I was not able to solve. Thus I built all the Flipper and Flipper related deps as a Static Framework and it gave no errors.
Even I feel that we shouldn't have a monkey-patch, if you can solve this problem, then it would be great.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, when I’m back from vacation I’ll take a look-see 👍
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
@priteshrnandgaonkar This has already landed in master, right? cb80e3b |
Yes, I will close the PR. |
Summary: Integrates Flipper in RNTester application and fixes the integration issues with
use_frameworks!
keyword.Differential Revision: D19391739