-
Notifications
You must be signed in to change notification settings - Fork 149
Enable .podspec files for Fabric #1460
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
Conversation
When enabling the Fabric podspec files microsoft#1460 we can't even compile rn-iOS. Here are the necessary fixes
I should have deleted those in main? |
Higher level question: I wonder if we should do this work on a separate branch from main called "fabric" or so, so we can iterate on it separately from main, and merge the entire branch in once we're happy with the state. |
I must have been on a 0.68 branch when creating this PR. |
I think this a good strategy. |
When enabling the Fabric podspec files microsoft#1460 we can't even compile rn-iOS. Here are the necessary fixes
Right now running: bundle install && USE_FABRIC=1 bundle exec pod install in packages/rn-tester fails as certain targets are not enabled for macOS 10.15 TEST: Pod installation complete! There are 69 dependencies from the Podfile and 57 total pods installed. [!] The Podfile contains framework or static library targets (iosDeviceBuild, iosSimulatorBuild, macOSBuild), for which the Podfile does not contain host targets (targets which embed the framework). If this project is for doing framework development, you can ignore this message. Otherwise, add a target to the Podfile that embeds these frameworks to make this message go away (e.g. a test target).
0d4d6ab
to
4a20d30
Compare
When enabling the Fabric podspec files microsoft#1460 we can't even compile rn-iOS. Here are the necessary fixes
When enabling the Fabric podspec files microsoft#1460 we can't even compile rn-iOS. Here are the necessary fixes
When enabling the Fabric podspec files microsoft#1460 we can't even compile rn-iOS. Here is the 1st of 2 necessary fixes
When enabling the Fabric podspec files #1460 we can't even compile rn-iOS. Here is the 1st of 2 necessary fixes
Right now running: bundle install && USE_FABRIC=1 bundle exec pod install in packages/rn-tester fails as certain targets are not enabled for macOS 10.15 TEST: Pod installation complete! There are 69 dependencies from the Podfile and 57 total pods installed. [!] The Podfile contains framework or static library targets (iosDeviceBuild, iosSimulatorBuild, macOSBuild), for which the Podfile does not contain host targets (targets which embed the framework). If this project is for doing framework development, you can ignore this message. Otherwise, add a target to the Podfile that embeds these frameworks to make this message go away (e.g. a test target).
When enabling the Fabric podspec files microsoft#1460 we can't even compile rn-iOS. Here is the 1st of 2 necessary fixes
Right now running: bundle install && USE_FABRIC=1 bundle exec pod install in packages/rn-tester fails as certain targets are not enabled for macOS 10.15 TEST: Pod installation complete! There are 69 dependencies from the Podfile and 57 total pods installed. [!] The Podfile contains framework or static library targets (iosDeviceBuild, iosSimulatorBuild, macOSBuild), for which the Podfile does not contain host targets (targets which embed the framework). If this project is for doing framework development, you can ignore this message. Otherwise, add a target to the Podfile that embeds these frameworks to make this message go away (e.g. a test target).
When enabling the Fabric podspec files microsoft#1460 we can't even compile rn-iOS. Here is the 1st of 2 necessary fixes
Right now running: bundle install && USE_FABRIC=1 bundle exec pod install in packages/rn-tester fails as certain targets are not enabled for macOS 10.15 TEST: Pod installation complete! There are 69 dependencies from the Podfile and 57 total pods installed. [!] The Podfile contains framework or static library targets (iosDeviceBuild, iosSimulatorBuild, macOSBuild), for which the Podfile does not contain host targets (targets which embed the framework). If this project is for doing framework development, you can ignore this message. Otherwise, add a target to the Podfile that embeds these frameworks to make this message go away (e.g. a test target).
When enabling the Fabric podspec files microsoft#1460 we can't even compile rn-iOS. Here is the 1st of 2 necessary fixes
Please select one of the following
Summary
Right now running:
bundle install && USE_FABRIC=1 bundle exec pod install
in packages/rn-tester fails as certain targets are not enabled for macOS 10.15
This fixes the .podspec files - Fabric related code does not compile - but at least we can build rn-iOS with Fabric now.
ATTENTION, ATTENTION
If you ever build with Fabric enabled and then switch to a non Fabric workspace > there is a huge change the Xcode will produce funky compile errors.
Follow https://reactnative.dev/docs/the-new-architecture/use-app-template#troubleshooting
Changelog
[macOS] [Fixed] - Enable .podspec files for Fabric
Test Plan
Pod installation complete! There are 69 dependencies from the Podfile and 57 total pods installed.
[!] The Podfile contains framework or static library targets (iosDeviceBuild, iosSimulatorBuild, macOSBuild), for which the Podfile does not contain host targets (targets which embed the framework). If this project is for doing framework development, you can ignore this message. Otherwise, add a target to the Podfile that embeds these frameworks to make this message go away (e.g. a test target).