question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[React Fabric] Updating Build Configuration (CocoaPods, .xcodeproj, gradle)

See original GitHub issue

For 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:

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

cc @mdvacca, @shergin

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:10
  • Comments:26 (25 by maintainers)

github_iconTop GitHub Comments

2reactions
fkgozalicommented, Feb 20, 2019

I believe the issue is due to AppDelegate.m not being an Objective-C++ file

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.

1reaction
ericlewiscommented, Feb 16, 2019

Here is my WIP: https://github.com/ericlewis/react-native/commits/fabric

  • pod files seem “done”
  • renaming Float.h fixes CGFloat issue. Conflicts somewhere.

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found