[React Fabric] Updating Build Configuration (CocoaPods, .xcodeproj, gradle)
See original GitHub issueFor Discussion
Various parts of React Fabric code are available in github, but we need to upgrade a bunch of build configuration to make it build properly on iOS and Android. This will involve reflecting the BUCK targets for various parts of Fabric into the 3 areas:
- React.podspec (iOS) – note that we had partial configs already, but very outdated.
- React.xcodeproj (iOS)
- build.gradle (Android)
An initial version of the update could just be manually sync’ed configs for .podspec, .xcodeproj, and .gradle.
But for the future, some ideas include:
- Have BUCK generate the relevant .podspec, .xcworkspace, or .gradle – this may require a bunch of work via
buck project
- etc
Requirements
- Have RNTester built with Fabric symbols correctly (iOS/Android to start)
- Upgraded version of Folly - see https://github.com/facebook/react-native/issues/20302
- Note that we’re on v2018.10.22 already (https://github.com/facebook/react-native/pull/21976, https://github.com/facebook/react-native/pull/21977)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:10
- Comments:26 (25 by maintainers)
Top Results From Across the Web
Troubleshooting - React Native
Open ~/Library/Developer/Xcode/DerivedData . and look for a folder named after your Xcode workspace (“RNTesterPods-AAAA” where “AAAA” is a ...
Read more >How to use Bitrise CI for React Native apps - onmyway133
The many cool steps and workflows make Bitrise an ideal CI to try. Like any other CIs, the learning steps and configurations can...
Read more >Xcode12 build error. The linked fr… | Apple Developer Forums
I'm having the same problem with a project of mine after updating to Xcode 12, except the "embedded framework" here is one of...
Read more >react-native-codegen | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >GetSocial iOS SDK Manual Integration Guide
Using Cocoapods¶ · Add the GetSocial SDK pods to your Podfile : pod "GetSocial/Core" pod "GetSocial/UI" · Change the deployment target in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, yeah a bunch of files need to become .mm instead. I think that’s an ok requirement though, given the increasing number of C++ we’re adding. That said, if AppDelegate.m needs to be AppDelegate.mm, let’s switch it over. If you find more .m files to be converted to .mm, let’s note them here as well.
Here is my WIP: https://github.com/ericlewis/react-native/commits/fabric
Compiling this branch’s RNTester with RCTFabric & RCTFabricSample works, it links correctly! But you must remove the fabric switch component refs, bc they ref something called
rncore
that appears to be missing.