react-native-macos/Libraries/Image
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
..
__tests__ Explicitly separate mocked native modules from mocked JS modules (#24809) 2019-05-31 03:19:49 -07:00
AssetRegistry.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
AssetSourceResolver.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
Image.android.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
Image.ios.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
ImageBackground.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
ImagePickerIOS.js Add NativeModule Spec for ImagePickerIOS 2019-07-19 12:12:13 -07:00
ImageProps.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
ImageResizeMode.js RN: Replace `ImageResizeMode` w/ Flow Type 2018-09-28 01:07:30 -07:00
ImageSource.js @allow-large-files Deploy Flow v0.99.0 to xplat/js 2019-05-29 18:11:43 -07:00
ImageViewNativeComponent.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
NativeImagePickerIOS.js Add NativeModule Spec for ImagePickerIOS 2019-07-19 12:12:13 -07:00
RCTAnimatedImage.h Animated image improvements (#24822) 2019-06-24 03:45:23 -07:00
RCTAnimatedImage.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTGIFImageDecoder.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTGIFImageDecoder.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTImageBlurUtils.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageBlurUtils.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTImageCache.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageCache.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTImageEditingManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageEditingManager.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTImageLoader.h Deprecate RCTImageLoader category of RCTBridge [2/N] 2019-07-24 10:51:13 -07:00
RCTImageLoader.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTImageShadowView.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageShadowView.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTImageStoreManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageStoreManager.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTImageUtils.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageUtils.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTImageView.h Add border properties to `RCTImageView` 2019-04-16 11:04:20 -07:00
RCTImageView.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTImageViewManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageViewManager.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTLocalAssetImageLoader.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTLocalAssetImageLoader.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTResizeMode.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTResizeMode.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTUIImageViewAnimated.h CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTUIImageViewAnimated.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
React-RCTImage.podspec Remove 's.static_framework = true' requirement for podspec (#25816) 2019-07-25 11:46:43 -07:00
RelativeImageStub.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
TextInlineImageNativeComponent.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
assetPathUtils.js Added: informational error message on getting Android drawable folder… (#17751) 2019-01-28 09:10:33 -08:00
nativeImageSource.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
resolveAssetSource.js Add spec for SourceCode (#24901) 2019-05-22 03:27:54 -07:00