react-native-macos/ReactCommon/fabric/graphics
James Treanor ca9e108110 Remove 's.static_framework = true' requirement for podspec (#25816)
Summary:
As part of the fix for https://github.com/facebook/react-native/issues/25349 I added `s.static_framework = true` to each podspec in repo (see https://github.com/facebook/react-native/pull/25619#discussion_r306993309 for more context).

This was required to ensure the existing conditional compilation with `#if RCT_DEV` and `__has_include` still worked correctly when `use_frameworks!` is enabled.

However, fkgozali pointed out that it would be ideal if we didn't have this requirement as it could make life difficult for third-party libraries.

This removes the requirement by moving `React-DevSupport.podspec` and `React-RCTWebSocket.podspec` into `React-Core.podspec` as subspecs. This means the symbols are present when `React-Core.podspec` is built dynamically so `s.static_framework = true` isn't required.

This means that any `Podfile` that refers to `React-DevSupport` or `React-RCTWebSocket` will need to be updated to avoid errors.

## Changelog

I don't think this needs a changelog entry since its just a refinement of https://github.com/facebook/react-native/pull/25619.
Pull Request resolved: https://github.com/facebook/react-native/pull/25816

Test Plan:
Check `RNTesterPods` still works both with and without `use_frameworks!`:

1. Go to the `RNTester` directory and run `pod install`.
2. Run the tests in `RNTesterPods.xcworkspace` to see that everything still works fine.
3. Uncomment the `use_frameworks!` line at the top of `RNTester/Podfile` and run `pod install` again.
4. Run the tests again and see that it still works with frameworks enabled.

Reviewed By: hramos

Differential Revision: D16495030

Pulled By: fkgozali

fbshipit-source-id: 2708ac9fd20cd04cb0aea61b2e8ab0d931dfb6d5
2019-07-25 11:46:43 -07:00
..
platform Fabric: Enable CXX (aka Default) platfrom fravour for all C++ Fabric targets 2019-06-04 15:34:34 -07:00
tests Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
BUCK Fabric: Enable CXX (aka Default) platfrom fravour for all C++ Fabric targets 2019-06-04 15:34:34 -07:00
ColorComponents.h Fabric: Enabling clang-format for half of Fabric modules 2018-10-05 11:03:23 -07:00
Geometry.h Fabric: Fixing usage of Folly's `hash_combine` 2019-03-14 18:35:00 -07:00
React-graphics.podspec Remove 's.static_framework = true' requirement for podspec (#25816) 2019-07-25 11:46:43 -07:00
Transform.cpp Fabric: Applying a transformation matrix to a point 2019-05-06 17:06:40 -07:00
Transform.h Fix typos (#25770) 2019-07-23 03:23:11 -07:00
conversions.h Fabric: properly convert prop value with object shape 2019-04-10 11:04:23 -07:00