feat(macOS): Make podspec compatible with macOS (#1328)

* [apple] Move iOS/macOS src into common apple dir

* [apple] Enable macOS as platform in podspec

* [example] Use CocoaPods & auto-linking on macOS

* [docs] Update setup for macOS

* [package] Include apple dir in distribution
This commit is contained in:
Eloy Durán
2020-04-24 19:54:17 +02:00
committed by GitHub
parent 7d29883f3e
commit 2d9b0803e0
37 changed files with 2169 additions and 2905 deletions
+5 -11
View File
@@ -28,16 +28,16 @@ $ react-native link react-native-webview
_NOTE: If you ever need to uninstall React Native WebView, run `react-native unlink react-native-webview` to unlink it._ _NOTE: If you ever need to uninstall React Native WebView, run `react-native unlink react-native-webview` to unlink it._
### iOS: ### iOS & macOS:
If using cocoapods in the `ios/` directory run If using CocoaPods, in the `ios/` or `macos/` directory run:
``` ```
$ pod install $ pod install
``` ```
For iOS, while you can manually link the old way using [react-native own tutorial](https://reactnative.dev/docs/linking-libraries-ios), we find it easier to use cocoapods. While you can manually link the old way using [react-native own tutorial](https://reactnative.dev/docs/linking-libraries-ios), we find it easier to use CocoaPods.
If you wish to use cocoapods and haven't set it up yet, please instead refer to [that article](https://engineering.brigad.co/demystifying-react-native-modules-linking-ae6c017a6b4a). If you wish to use CocoaPods and haven't set it up yet, please instead refer to [that article](https://engineering.brigad.co/demystifying-react-native-modules-linking-ae6c017a6b4a).
### Android: ### Android:
@@ -54,12 +54,6 @@ android.enableJetifier=true
For Android manual installation, please refer to [this article](https://engineering.brigad.co/demystifying-react-native-modules-linking-964399ec731b) where you can find detailed step on how to link any react-native project. For Android manual installation, please refer to [this article](https://engineering.brigad.co/demystifying-react-native-modules-linking-964399ec731b) where you can find detailed step on how to link any react-native project.
### macOS:
Cocoapod and autolinking is not yet support for react-native macOS but is coming soon. In the meantime you must manually link.
The method is nearly identical to the [manual linking method for iOS](https://reactnative.dev/docs/linking-libraries-ios#manual-linking) except that you will include the `node_modules/react-native-webview/macos/RNCWebView.xcodeproj` project in your main project and link the `RNCWebView-macOS.a` library.
### Windows: ### Windows:
Autolinking is not yet supported for ReactNativeWindows. Make following additions to the given files manually: Autolinking is not yet supported for ReactNativeWindows. Make following additions to the given files manually:
@@ -77,7 +71,7 @@ Add the `ReactNativeWebView` project to your solution.
Add a reference to `ReactNativeWebView` to your main application project. From Visual Studio 2019: Add a reference to `ReactNativeWebView` to your main application project. From Visual Studio 2019:
1. Right-click main application project > Add > Reference... 1. Right-click main application project > Add > Reference...
Check `ReactNativeWebView` from Solution Projects. Check `ReactNativeWebView` from Solution Projects.
2. Modify files below to add the package providers to your main application project 2. Modify files below to add the package providers to your main application project
+3 -3
View File
@@ -4,8 +4,10 @@ require_relative '../../node_modules/@react-native-community/cli-platform-ios/na
project './example.xcodeproj' project './example.xcodeproj'
target 'example' do target 'example' do
# Pods for example use_native_modules!
pod 'react-native-webview', :path => "../.." pod 'react-native-webview', :path => "../.."
pod 'FBLazyVector', :path => "../../node_modules/react-native/Libraries/FBLazyVector" pod 'FBLazyVector', :path => "../../node_modules/react-native/Libraries/FBLazyVector"
pod 'FBReactNativeSpec', :path => "../../node_modules/react-native/Libraries/FBReactNativeSpec" pod 'FBReactNativeSpec', :path => "../../node_modules/react-native/Libraries/FBReactNativeSpec"
pod 'RCTRequired', :path => "../../node_modules/react-native/Libraries/RCTRequired" pod 'RCTRequired', :path => "../../node_modules/react-native/Libraries/RCTRequired"
@@ -41,8 +43,6 @@ target 'example' do
inherit! :search_paths inherit! :search_paths
# Pods for testing # Pods for testing
end end
use_native_modules!
end end
target 'example-tvOS' do target 'example-tvOS' do
+42
View File
@@ -0,0 +1,42 @@
require_relative '../../node_modules/@react-native-community/cli-platform-ios/native_modules'
abstract_target 'Shared' do
use_native_modules!
pod 'react-native-webview', :path => "../.."
pod 'React', :path => "../../node_modules/react-native-macos/"
pod 'React-Core', :path => "../../node_modules/react-native-macos/React"
pod 'React-fishhook', :path => "../../node_modules/react-native-macos/Libraries/fishhook"
pod 'React-RCTActionSheet', :path => "../../node_modules/react-native-macos/Libraries/ActionSheetIOS"
pod 'React-RCTAnimation', :path => "../../node_modules/react-native-macos/Libraries/NativeAnimation"
pod 'React-RCTBlob', :path => "../../node_modules/react-native-macos/Libraries/Blob"
pod 'React-RCTImage', :path => "../../node_modules/react-native-macos/Libraries/Image"
pod 'React-RCTLinking', :path => "../../node_modules/react-native-macos/Libraries/LinkingIOS"
pod 'React-RCTNetwork', :path => "../../node_modules/react-native-macos/Libraries/Network"
pod 'React-RCTSettings', :path => "../../node_modules/react-native-macos/Libraries/Settings"
pod 'React-RCTText', :path => "../../node_modules/react-native-macos/Libraries/Text"
pod 'React-RCTVibration', :path => "../../node_modules/react-native-macos/Libraries/Vibration"
pod 'React-RCTWebSocket', :path => "../../node_modules/react-native-macos/Libraries/WebSocket"
pod 'React-cxxreact', :path => "../../node_modules/react-native-macos/ReactCommon/cxxreact"
pod 'React-jscallinvoker', :path => "../../node_modules/react-native-macos/ReactCommon/jscallinvoker"
pod 'React-jsi', :path => "../../node_modules/react-native-macos/ReactCommon/jsi"
pod 'React-jsiexecutor', :path => "../../node_modules/react-native-macos/ReactCommon/jsiexecutor"
pod 'React-jsinspector', :path => "../../node_modules/react-native-macos/ReactCommon/jsinspector"
pod 'yoga', :path => "../../node_modules/react-native-macos/ReactCommon/yoga"
pod 'DoubleConversion', :podspec => "../../node_modules/react-native-macos/third-party-podspecs/DoubleConversion.podspec"
pod 'glog', :podspec => "../../node_modules/react-native-macos/third-party-podspecs/glog.podspec"
pod 'Folly', :podspec => "../../node_modules/react-native-macos/third-party-podspecs/Folly.podspec"
pod 'boost-for-react-native', :podspec => "../../node_modules/react-native-macos/third-party-podspecs/boost-for-react-native.podspec"
pod 'React-DevSupport', :path => "../../node_modules/react-native-macos/React"
target 'example-macOS' do
platform :macos, '10.14'
# Pods specifically for macOS target
end
target 'example-iOS' do
platform :ios, '9'
# Pods specifically for iOS target
end
end
+199
View File
@@ -0,0 +1,199 @@
PODS:
- boost-for-react-native (1.63.0)
- DoubleConversion (1.1.6)
- Folly (2018.10.22.00):
- boost-for-react-native
- DoubleConversion
- Folly/Default (= 2018.10.22.00)
- glog
- Folly/Default (2018.10.22.00):
- boost-for-react-native
- DoubleConversion
- glog
- glog (0.3.5)
- React (0.60.0-microsoft.73):
- React-Core (= 0.60.0-microsoft.73)
- React-DevSupport (= 0.60.0-microsoft.73)
- React-RCTActionSheet (= 0.60.0-microsoft.73)
- React-RCTAnimation (= 0.60.0-microsoft.73)
- React-RCTBlob (= 0.60.0-microsoft.73)
- React-RCTImage (= 0.60.0-microsoft.73)
- React-RCTLinking (= 0.60.0-microsoft.73)
- React-RCTNetwork (= 0.60.0-microsoft.73)
- React-RCTSettings (= 0.60.0-microsoft.73)
- React-RCTText (= 0.60.0-microsoft.73)
- React-RCTVibration (= 0.60.0-microsoft.73)
- React-RCTWebSocket (= 0.60.0-microsoft.73)
- React-Core (0.60.0-microsoft.73):
- Folly (= 2018.10.22.00)
- React-cxxreact (= 0.60.0-microsoft.73)
- React-jsiexecutor (= 0.60.0-microsoft.73)
- yoga (= 0.60.0-microsoft.73.React)
- React-cxxreact (0.60.0-microsoft.73):
- boost-for-react-native (= 1.63.0)
- DoubleConversion
- Folly (= 2018.10.22.00)
- glog
- React-jsinspector (= 0.60.0-microsoft.73)
- React-DevSupport (0.60.0-microsoft.73):
- React-Core (= 0.60.0-microsoft.73)
- React-RCTWebSocket (= 0.60.0-microsoft.73)
- React-fishhook (0.60.0-microsoft.73)
- React-jscallinvoker (0.60.0-microsoft.73):
- Folly (= 2018.10.22.00)
- React-cxxreact (= 0.60.0-microsoft.73)
- React-jsi (0.60.0-microsoft.73):
- boost-for-react-native (= 1.63.0)
- DoubleConversion
- Folly (= 2018.10.22.00)
- glog
- React-jsi/Default (= 0.60.0-microsoft.73)
- React-jsi/Default (0.60.0-microsoft.73):
- boost-for-react-native (= 1.63.0)
- DoubleConversion
- Folly (= 2018.10.22.00)
- glog
- React-jsiexecutor (0.60.0-microsoft.73):
- DoubleConversion
- Folly (= 2018.10.22.00)
- glog
- React-cxxreact (= 0.60.0-microsoft.73)
- React-jsi (= 0.60.0-microsoft.73)
- React-jsinspector (0.60.0-microsoft.73)
- react-native-webview (9.2.1):
- React
- React-RCTActionSheet (0.60.0-microsoft.73):
- React-Core (= 0.60.0-microsoft.73)
- React-RCTAnimation (0.60.0-microsoft.73):
- React-Core (= 0.60.0-microsoft.73)
- React-RCTBlob (0.60.0-microsoft.73):
- React-Core (= 0.60.0-microsoft.73)
- React-RCTNetwork (= 0.60.0-microsoft.73)
- React-RCTWebSocket (= 0.60.0-microsoft.73)
- React-RCTImage (0.60.0-microsoft.73):
- React-Core (= 0.60.0-microsoft.73)
- React-RCTNetwork (= 0.60.0-microsoft.73)
- React-RCTLinking (0.60.0-microsoft.73):
- React-Core (= 0.60.0-microsoft.73)
- React-RCTNetwork (0.60.0-microsoft.73):
- React-Core (= 0.60.0-microsoft.73)
- React-RCTSettings (0.60.0-microsoft.73):
- React-Core (= 0.60.0-microsoft.73)
- React-RCTText (0.60.0-microsoft.73):
- React-Core (= 0.60.0-microsoft.73)
- React-RCTVibration (0.60.0-microsoft.73):
- React-Core (= 0.60.0-microsoft.73)
- React-RCTWebSocket (0.60.0-microsoft.73):
- React-Core (= 0.60.0-microsoft.73)
- React-fishhook (= 0.60.0-microsoft.73)
- yoga (0.60.0-microsoft.73.React)
DEPENDENCIES:
- boost-for-react-native (from `../../node_modules/react-native-macos/third-party-podspecs/boost-for-react-native.podspec`)
- DoubleConversion (from `../../node_modules/react-native-macos/third-party-podspecs/DoubleConversion.podspec`)
- Folly (from `../../node_modules/react-native-macos/third-party-podspecs/Folly.podspec`)
- glog (from `../../node_modules/react-native-macos/third-party-podspecs/glog.podspec`)
- React (from `../../node_modules/react-native-macos/`)
- React-Core (from `../../node_modules/react-native-macos/React`)
- React-cxxreact (from `../../node_modules/react-native-macos/ReactCommon/cxxreact`)
- React-DevSupport (from `../../node_modules/react-native-macos/React`)
- React-fishhook (from `../../node_modules/react-native-macos/Libraries/fishhook`)
- React-jscallinvoker (from `../../node_modules/react-native-macos/ReactCommon/jscallinvoker`)
- React-jsi (from `../../node_modules/react-native-macos/ReactCommon/jsi`)
- React-jsiexecutor (from `../../node_modules/react-native-macos/ReactCommon/jsiexecutor`)
- React-jsinspector (from `../../node_modules/react-native-macos/ReactCommon/jsinspector`)
- react-native-webview (from `../..`)
- React-RCTActionSheet (from `../../node_modules/react-native-macos/Libraries/ActionSheetIOS`)
- React-RCTAnimation (from `../../node_modules/react-native-macos/Libraries/NativeAnimation`)
- React-RCTBlob (from `../../node_modules/react-native-macos/Libraries/Blob`)
- React-RCTImage (from `../../node_modules/react-native-macos/Libraries/Image`)
- React-RCTLinking (from `../../node_modules/react-native-macos/Libraries/LinkingIOS`)
- React-RCTNetwork (from `../../node_modules/react-native-macos/Libraries/Network`)
- React-RCTSettings (from `../../node_modules/react-native-macos/Libraries/Settings`)
- React-RCTText (from `../../node_modules/react-native-macos/Libraries/Text`)
- React-RCTVibration (from `../../node_modules/react-native-macos/Libraries/Vibration`)
- React-RCTWebSocket (from `../../node_modules/react-native-macos/Libraries/WebSocket`)
- yoga (from `../../node_modules/react-native-macos/ReactCommon/yoga`)
EXTERNAL SOURCES:
boost-for-react-native:
:podspec: "../../node_modules/react-native-macos/third-party-podspecs/boost-for-react-native.podspec"
DoubleConversion:
:podspec: "../../node_modules/react-native-macos/third-party-podspecs/DoubleConversion.podspec"
Folly:
:podspec: "../../node_modules/react-native-macos/third-party-podspecs/Folly.podspec"
glog:
:podspec: "../../node_modules/react-native-macos/third-party-podspecs/glog.podspec"
React:
:path: "../../node_modules/react-native-macos/"
React-Core:
:path: "../../node_modules/react-native-macos/React"
React-cxxreact:
:path: "../../node_modules/react-native-macos/ReactCommon/cxxreact"
React-DevSupport:
:path: "../../node_modules/react-native-macos/React"
React-fishhook:
:path: "../../node_modules/react-native-macos/Libraries/fishhook"
React-jscallinvoker:
:path: "../../node_modules/react-native-macos/ReactCommon/jscallinvoker"
React-jsi:
:path: "../../node_modules/react-native-macos/ReactCommon/jsi"
React-jsiexecutor:
:path: "../../node_modules/react-native-macos/ReactCommon/jsiexecutor"
React-jsinspector:
:path: "../../node_modules/react-native-macos/ReactCommon/jsinspector"
react-native-webview:
:path: "../.."
React-RCTActionSheet:
:path: "../../node_modules/react-native-macos/Libraries/ActionSheetIOS"
React-RCTAnimation:
:path: "../../node_modules/react-native-macos/Libraries/NativeAnimation"
React-RCTBlob:
:path: "../../node_modules/react-native-macos/Libraries/Blob"
React-RCTImage:
:path: "../../node_modules/react-native-macos/Libraries/Image"
React-RCTLinking:
:path: "../../node_modules/react-native-macos/Libraries/LinkingIOS"
React-RCTNetwork:
:path: "../../node_modules/react-native-macos/Libraries/Network"
React-RCTSettings:
:path: "../../node_modules/react-native-macos/Libraries/Settings"
React-RCTText:
:path: "../../node_modules/react-native-macos/Libraries/Text"
React-RCTVibration:
:path: "../../node_modules/react-native-macos/Libraries/Vibration"
React-RCTWebSocket:
:path: "../../node_modules/react-native-macos/Libraries/WebSocket"
yoga:
:path: "../../node_modules/react-native-macos/ReactCommon/yoga"
SPEC CHECKSUMS:
boost-for-react-native: a110407d9db2642fd2e1bcd7c5a51c81f2521dc9
DoubleConversion: a1bc12a74baa397a2609e0f10e19b8062d864053
Folly: feff29ba9d0b7c2e4f793a94942831d6cc5bbad7
glog: b3f6d74f3e2d33396addc0ee724d2b2b79fc3e00
React: 4d79a1cdf3230e04aca581c25efee08da1ee5164
React-Core: 13ba8f1abdf6bcd5ff0f483a9ef7a2db9a107f0e
React-cxxreact: 11924907362f4cac7420b882760f939eb126ea26
React-DevSupport: ad7a5fc590659aeccfbf865fc4a134b70436d648
React-fishhook: 4990f5c5822d79c7ab3fb76c79ac17d09bee9336
React-jscallinvoker: 3a2e5ca0f66931ede7f55dfa2c3678983b668e86
React-jsi: 62b3cdf6e9a83d5c18dcf7dc895a362fb4b7853b
React-jsiexecutor: 8bd40a456b96ac807634225efa05ac2c35894dd0
React-jsinspector: c549193caebd0004cf2df489c57c5a24614c5516
react-native-webview: d75854c6508447f78d548dbdfbfc9a2049c3b1c5
React-RCTActionSheet: 7d7c2282c5a782e7a13f8da967eb2fe6ba296847
React-RCTAnimation: 289ab0e35a77a2f585fd2743b6abf7d52fac7a5b
React-RCTBlob: fff2b91fe158a258b72e610d5e0f77db4e059bef
React-RCTImage: cc560497ac826ca385dff28e631233ec8d1b95a6
React-RCTLinking: 6d4ed366a86755fba71a0446e5ee33e9944d8c0a
React-RCTNetwork: 15ce6970143dd7883db946b97d822098a1f9fc98
React-RCTSettings: 4729f1553af00f2f073a3e4a9743e6d35578afd6
React-RCTText: e5c12c5085188057d606c6627d8022c9983226b8
React-RCTVibration: 19f2176d53ccf811cc56dc333e538ae2f3a3822c
React-RCTWebSocket: ed4f366970f1cb6280a2edf6402aaebb224cd5ef
yoga: 94752fd7c7be3ab04256ef648abc656f52d77501
PODFILE CHECKSUM: 57ba7807ee34b3b25a5ef3497860eaf96be05af7
COCOAPODS: 1.8.4
@@ -1,15 +1,8 @@
/** #import <React/RCTBridgeDelegate.h>
* Copyright (c) Facebook, Inc. and its affiliates. #import <UIKit/UIKit.h>
*
* This source code is licensed under the MIT license found in the @interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate>
* LICENSE file in the root directory of this source tree.
*/ @property (nonatomic, strong) UIWindow *window;
#import <React/RCTBridgeDelegate.h> @end
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate>
@property (nonatomic, strong) UIWindow *window;
@end
@@ -1,42 +1,35 @@
/** #import "AppDelegate.h"
* Copyright (c) Facebook, Inc. and its affiliates.
* #import <React/RCTBridge.h>
* This source code is licensed under the MIT license found in the #import <React/RCTBundleURLProvider.h>
* LICENSE file in the root directory of this source tree. #import <React/RCTRootView.h>
*/
@implementation AppDelegate
#import "AppDelegate.h"
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
#import <React/RCTBridge.h> {
#import <React/RCTBundleURLProvider.h> RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
#import <React/RCTRootView.h> RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
moduleName:@"example"
@implementation AppDelegate initialProperties:nil];
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
{
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge UIViewController *rootViewController = [UIViewController new];
moduleName:@"example" rootViewController.view = rootView;
initialProperties:nil]; self.window.rootViewController = rootViewController;
[self.window makeKeyAndVisible];
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; return YES;
}
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
UIViewController *rootViewController = [UIViewController new]; - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
rootViewController.view = rootView; {
self.window.rootViewController = rootViewController; #if DEBUG
[self.window makeKeyAndVisible]; return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"example/index" fallbackResource:nil];
return YES; #else
} return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#endif
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge }
{
#if DEBUG @end
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"example/index" fallbackResource:nil];
#else
return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#endif
}
@end
@@ -1,42 +1,42 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7702" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7702" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
<dependencies> <dependencies>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/>
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/> <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
</dependencies> </dependencies>
<objects> <objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB"> <view contentMode="scaleToFill" id="iN0-l3-epB">
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/> <rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Powered by React Native" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye"> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Powered by React Native" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
<rect key="frame" x="20" y="439" width="441" height="21"/> <rect key="frame" x="20" y="439" width="441" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="example" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX"> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="example" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
<rect key="frame" x="20" y="140" width="441" height="43"/> <rect key="frame" x="20" y="140" width="441" height="43"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/> <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
</subviews> </subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints> <constraints>
<constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/> <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
<constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/> <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
<constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/> <constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/>
<constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/> <constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/>
<constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/> <constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/>
<constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/> <constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/>
</constraints> </constraints>
<nil key="simulatedStatusBarMetrics"/> <nil key="simulatedStatusBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="548" y="455"/> <point key="canvasLocation" x="548" y="455"/>
</view> </view>
</objects> </objects>
</document> </document>
@@ -1,53 +1,38 @@
{ {
"images" : [ "images" : [
{ {
"idiom" : "iphone", "idiom" : "iphone",
"size" : "20x20", "size" : "29x29",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"idiom" : "iphone", "idiom" : "iphone",
"size" : "20x20", "size" : "29x29",
"scale" : "3x" "scale" : "3x"
}, },
{ {
"idiom" : "iphone", "idiom" : "iphone",
"size" : "29x29", "size" : "40x40",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"idiom" : "iphone", "idiom" : "iphone",
"size" : "29x29", "size" : "40x40",
"scale" : "3x" "scale" : "3x"
}, },
{ {
"idiom" : "iphone", "idiom" : "iphone",
"size" : "40x40", "size" : "60x60",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"idiom" : "iphone", "idiom" : "iphone",
"size" : "40x40", "size" : "60x60",
"scale" : "3x" "scale" : "3x"
}, }
{ ],
"idiom" : "iphone", "info" : {
"size" : "60x60", "version" : 1,
"scale" : "2x" "author" : "xcode"
}, }
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "3x"
},
{
"idiom" : "ios-marketing",
"size" : "1024x1024",
"scale" : "1x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
} }
@@ -1,6 +1,6 @@
{ {
"info" : { "info" : {
"version" : 1, "version" : 1,
"author" : "xcode" "author" : "xcode"
} }
} }
@@ -1,57 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>en</string> <string>en</string>
<key>CFBundleDisplayName</key> <key>CFBundleDisplayName</key>
<string>example</string> <string>$(PRODUCT_NAME)</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string> <string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string> <string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1</string> <string>1</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>NSAppTransportSecurity</key> <key>NSAppTransportSecurity</key>
<dict> <dict>
<key>NSAllowsArbitraryLoads</key> <key>NSAllowsArbitraryLoads</key>
<true/> <true/>
<key>NSExceptionDomains</key> <key>NSExceptionDomains</key>
<dict> <dict>
<key>localhost</key> <key>localhost</key>
<dict> <dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key> <key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/> <true/>
</dict> </dict>
</dict> </dict>
</dict> </dict>
<key>NSLocationWhenInUseUsageDescription</key> <key>NSLocationWhenInUseUsageDescription</key>
<string></string> <string></string>
<key>UILaunchStoryboardName</key> <key>UILaunchStoryboardName</key>
<string>LaunchScreen</string> <string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key> <key>UIRequiredDeviceCapabilities</key>
<array> <array>
<string>armv7</string> <string>armv7</string>
</array> </array>
<key>UISupportedInterfaceOrientations</key> <key>UISupportedInterfaceOrientations</key>
<array> <array>
<string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string> <string>UIInterfaceOrientationLandscapeRight</string>
</array> </array>
<key>UIViewControllerBasedStatusBarAppearance</key> <key>UIViewControllerBasedStatusBarAppearance</key>
<false/> <false/>
</dict> </dict>
</plist> </plist>
@@ -1,16 +1,9 @@
/** #import <UIKit/UIKit.h>
* Copyright (c) Facebook, Inc. and its affiliates.
* #import "AppDelegate.h"
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. int main(int argc, char * argv[]) {
*/ @autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
#import <UIKit/UIKit.h> }
}
#import "AppDelegate.h"
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
+9 -16
View File
@@ -1,16 +1,9 @@
/** #import <Cocoa/Cocoa.h>
* Copyright (c) Facebook, Inc. and its affiliates.
* @class RCTBridge;
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. @interface AppDelegate : NSObject <NSApplicationDelegate>
*/
@property (nonatomic, readonly) RCTBridge *bridge;
#import <Cocoa/Cocoa.h>
@end
@class RCTBridge;
@interface AppDelegate : NSObject <NSApplicationDelegate>
@property (nonatomic, readonly) RCTBridge *bridge;
@end
+32 -39
View File
@@ -1,39 +1,32 @@
/** #import "AppDelegate.h"
* Copyright (c) Facebook, Inc. and its affiliates.
* #import <React/RCTBridge.h>
* This source code is licensed under the MIT license found in the #import <React/RCTBundleURLProvider.h>
* LICENSE file in the root directory of this source tree.
*/ @interface AppDelegate () <RCTBridgeDelegate>
#import "AppDelegate.h" @end
#import <React/RCTBridge.h> @implementation AppDelegate
#import <React/RCTBundleURLProvider.h>
- (void)awakeFromNib {
@interface AppDelegate () <RCTBridgeDelegate> [super awakeFromNib];
@end _bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:nil];
}
@implementation AppDelegate
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
- (void)awakeFromNib { // Insert code here to initialize your application
[super awakeFromNib]; }
_bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:nil]; - (void)applicationWillTerminate:(NSNotification *)aNotification {
} // Insert code here to tear down your application
}
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
// Insert code here to initialize your application #pragma mark - RCTBridgeDelegate Methods
}
- (NSURL *)sourceURLForBridge:(__unused RCTBridge *)bridge {
- (void)applicationWillTerminate:(NSNotification *)aNotification { return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"example/index" fallbackResource:@"main"]; // .jsbundle;
// Insert code here to tear down your application }
}
@end
#pragma mark - RCTBridgeDelegate Methods
- (NSURL *)sourceURLForBridge:(__unused RCTBridge *)bridge {
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"example/index" fallbackResource:@"main"]; // .jsbundle;
}
@end
@@ -0,0 +1,58 @@
{
"images" : [
{
"idiom" : "mac",
"scale" : "1x",
"size" : "16x16"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "16x16"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "32x32"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "32x32"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "128x128"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "128x128"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "256x256"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "256x256"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "512x512"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "512x512"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
+47 -45
View File
@@ -1,45 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string> <string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string> <string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string></string> <string></string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string> <string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1</string> <string>1</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string> <string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSAppTransportSecurity</key> <key>NSAppTransportSecurity</key>
<dict> <dict>
<key>NSAllowsArbitraryLoads</key> <key>NSAllowsArbitraryLoads</key>
<true/> <true/>
<key>NSExceptionDomains</key> <key>NSExceptionDomains</key>
<dict> <dict>
<key>localhost</key> <key>localhost</key>
<dict> <dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key> <key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/> <true/>
</dict> </dict>
</dict> </dict>
</dict> </dict>
<key>NSHumanReadableCopyright</key> <key>NSMainStoryboardFile</key>
<string>Copyright © 2017 Facebook. All rights reserved.</string> <string>Main</string>
<key>NSMainStoryboardFile</key> <key>NSPrincipalClass</key>
<string>Main</string> <string>NSApplication</string>
<key>NSPrincipalClass</key> <key>NSSupportsAutomaticTermination</key>
<string>NSApplication</string> <true/>
</dict> <key>NSSupportsSuddenTermination</key>
</plist> <true/>
</dict>
</plist>
+5 -12
View File
@@ -1,12 +1,5 @@
/** #import <Cocoa/Cocoa.h>
* Copyright (c) Facebook, Inc. and its affiliates.
* @interface ViewController : NSViewController
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. @end
*/
#import <Cocoa/Cocoa.h>
@interface ViewController : NSViewController
@end
+22 -29
View File
@@ -1,29 +1,22 @@
/** #import "ViewController.h"
* Copyright (c) Facebook, Inc. and its affiliates. #import "AppDelegate.h"
*
* This source code is licensed under the MIT license found in the #import <React/RCTRootView.h>
* LICENSE file in the root directory of this source tree.
*/ @implementation ViewController
#import "ViewController.h" - (void)viewDidLoad {
#import "AppDelegate.h" [super viewDidLoad];
#import <React/RCTRootView.h> RCTBridge *bridge = [((AppDelegate *)[NSApp delegate])bridge];
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"example" initialProperties:nil];
@implementation ViewController
NSView *view = [self view];
- (void)viewDidLoad {
[super viewDidLoad]; [view addSubview:rootView];
[rootView setBackgroundColor:[NSColor windowBackgroundColor]];
RCTBridge *bridge = [((AppDelegate *)[NSApp delegate])bridge]; [rootView setFrame:[view bounds]];
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"example" initialProperties:nil]; [rootView setAutoresizingMask:(NSViewMinXMargin | NSViewMinXMargin | NSViewMinYMargin | NSViewMaxYMargin | NSViewWidthSizable | NSViewHeightSizable)];
}
NSView *view = [self view];
@end
[view addSubview:rootView];
[rootView setBackgroundColor:[NSColor windowBackgroundColor]];
[rootView setFrame:[view bounds]];
[rootView setAutoresizingMask:(NSViewMinXMargin | NSViewMinXMargin | NSViewMinYMargin | NSViewMaxYMargin | NSViewWidthSizable | NSViewHeightSizable)];
}
@end
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
</dict>
</plist>
+5 -12
View File
@@ -1,12 +1,5 @@
/** #import <Cocoa/Cocoa.h>
* Copyright (c) Facebook, Inc. and its affiliates.
* int main(int argc, const char *argv[]) {
* This source code is licensed under the MIT license found in the return NSApplicationMain(argc, argv);
* LICENSE file in the root directory of this source tree. }
*/
#import <Cocoa/Cocoa.h>
int main(int argc, const char *argv[]) {
return NSApplicationMain(argc, argv);
}
File diff suppressed because it is too large Load Diff
@@ -1,92 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<Scheme <Scheme
LastUpgradeVersion = "1120" LastUpgradeVersion = "1140"
version = "1.3"> version = "1.3">
<BuildAction <BuildAction
parallelizeBuildables = "NO" parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"> buildImplicitDependencies = "YES">
<BuildActionEntries> <BuildActionEntries>
<BuildActionEntry <BuildActionEntry
buildForTesting = "YES" buildForTesting = "YES"
buildForRunning = "YES" buildForRunning = "YES"
buildForProfiling = "YES" buildForProfiling = "YES"
buildForArchiving = "YES" buildForArchiving = "YES"
buildForAnalyzing = "YES"> buildForAnalyzing = "YES">
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "83CBBA2D1A601D0E00E9B192" BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "libReact.a" BuildableName = "example.app"
BlueprintName = "React" BlueprintName = "example-iOS"
ReferencedContainer = "container:../../node_modules/react-native-macos/React/React.xcodeproj"> ReferencedContainer = "container:example.xcodeproj">
</BuildableReference> </BuildableReference>
</BuildActionEntry> </BuildActionEntry>
<BuildActionEntry </BuildActionEntries>
buildForTesting = "YES" </BuildAction>
buildForRunning = "YES" <TestAction
buildForProfiling = "YES" buildConfiguration = "Debug"
buildForArchiving = "YES" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
buildForAnalyzing = "YES"> selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
<BuildableReference shouldUseLaunchSchemeArgsEnv = "YES">
BuildableIdentifier = "primary" <Testables>
BlueprintIdentifier = "13B07F861A680F5B00A75B9A" </Testables>
BuildableName = "example.app" </TestAction>
BlueprintName = "example" <LaunchAction
ReferencedContainer = "container:example.xcodeproj"> buildConfiguration = "Debug"
</BuildableReference> selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
</BuildActionEntry> selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
</BuildActionEntries> launchStyle = "0"
</BuildAction> useCustomWorkingDirectory = "NO"
<TestAction ignoresPersistentStateOnLaunch = "NO"
buildConfiguration = "Debug" debugDocumentVersioning = "YES"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" debugServiceExtension = "internal"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" allowLocationSimulation = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"> <BuildableProductRunnable
<Testables> runnableDebuggingMode = "0">
</Testables> <BuildableReference
</TestAction> BuildableIdentifier = "primary"
<LaunchAction BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
buildConfiguration = "Debug" BuildableName = "example.app"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" BlueprintName = "example-iOS"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" ReferencedContainer = "container:example.xcodeproj">
launchStyle = "0" </BuildableReference>
useCustomWorkingDirectory = "NO" </BuildableProductRunnable>
ignoresPersistentStateOnLaunch = "NO" </LaunchAction>
debugDocumentVersioning = "YES" <ProfileAction
debugServiceExtension = "internal" buildConfiguration = "Release"
allowLocationSimulation = "YES"> shouldUseLaunchSchemeArgsEnv = "YES"
<BuildableProductRunnable savedToolIdentifier = ""
runnableDebuggingMode = "0"> useCustomWorkingDirectory = "NO"
<BuildableReference debugDocumentVersioning = "YES">
BuildableIdentifier = "primary" <BuildableProductRunnable
BlueprintIdentifier = "13B07F861A680F5B00A75B9A" runnableDebuggingMode = "0">
BuildableName = "example.app" <BuildableReference
BlueprintName = "example" BuildableIdentifier = "primary"
ReferencedContainer = "container:example.xcodeproj"> BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
</BuildableReference> BuildableName = "example.app"
</BuildableProductRunnable> BlueprintName = "example-iOS"
</LaunchAction> ReferencedContainer = "container:example.xcodeproj">
<ProfileAction </BuildableReference>
buildConfiguration = "Release" </BuildableProductRunnable>
shouldUseLaunchSchemeArgsEnv = "YES" </ProfileAction>
savedToolIdentifier = "" <AnalyzeAction
useCustomWorkingDirectory = "NO" buildConfiguration = "Debug">
debugDocumentVersioning = "YES"> </AnalyzeAction>
<BuildableProductRunnable <ArchiveAction
runnableDebuggingMode = "0"> buildConfiguration = "Release"
<BuildableReference revealArchiveInOrganizer = "YES">
BuildableIdentifier = "primary" </ArchiveAction>
BlueprintIdentifier = "13B07F861A680F5B00A75B9A" </Scheme>
BuildableName = "example.app"
BlueprintName = "example"
ReferencedContainer = "container:example.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
@@ -1,92 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<Scheme <Scheme
LastUpgradeVersion = "1120" LastUpgradeVersion = "1140"
version = "1.3"> version = "1.3">
<BuildAction <BuildAction
parallelizeBuildables = "NO" parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"> buildImplicitDependencies = "YES">
<BuildActionEntries> <BuildActionEntries>
<BuildActionEntry <BuildActionEntry
buildForTesting = "YES" buildForTesting = "YES"
buildForRunning = "YES" buildForRunning = "YES"
buildForProfiling = "YES" buildForProfiling = "YES"
buildForArchiving = "YES" buildForArchiving = "YES"
buildForAnalyzing = "YES"> buildForAnalyzing = "YES">
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "6B857DA21EC51FC600A9D063" BlueprintIdentifier = "514201482437B4B30078DB4F"
BuildableName = "libReact.a" BuildableName = "example.app"
BlueprintName = "React-macOS" BlueprintName = "example-macOS"
ReferencedContainer = "container:../../node_modules/react-native-macos/React/React.xcodeproj"> ReferencedContainer = "container:example.xcodeproj">
</BuildableReference> </BuildableReference>
</BuildActionEntry> </BuildActionEntry>
<BuildActionEntry </BuildActionEntries>
buildForTesting = "YES" </BuildAction>
buildForRunning = "YES" <TestAction
buildForProfiling = "YES" buildConfiguration = "Debug"
buildForArchiving = "YES" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
buildForAnalyzing = "YES"> selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
<BuildableReference shouldUseLaunchSchemeArgsEnv = "YES">
BuildableIdentifier = "primary" <Testables>
BlueprintIdentifier = "38C1415723BBE33000902604" </Testables>
BuildableName = "example-macOS.app" </TestAction>
BlueprintName = "example-macOS" <LaunchAction
ReferencedContainer = "container:example.xcodeproj"> buildConfiguration = "Debug"
</BuildableReference> selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
</BuildActionEntry> selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
</BuildActionEntries> launchStyle = "0"
</BuildAction> useCustomWorkingDirectory = "NO"
<TestAction ignoresPersistentStateOnLaunch = "NO"
buildConfiguration = "Debug" debugDocumentVersioning = "YES"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" debugServiceExtension = "internal"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" allowLocationSimulation = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"> <BuildableProductRunnable
<Testables> runnableDebuggingMode = "0">
</Testables> <BuildableReference
</TestAction> BuildableIdentifier = "primary"
<LaunchAction BlueprintIdentifier = "514201482437B4B30078DB4F"
buildConfiguration = "Debug" BuildableName = "example.app"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" BlueprintName = "example-macOS"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" ReferencedContainer = "container:example.xcodeproj">
launchStyle = "0" </BuildableReference>
useCustomWorkingDirectory = "NO" </BuildableProductRunnable>
ignoresPersistentStateOnLaunch = "NO" </LaunchAction>
debugDocumentVersioning = "YES" <ProfileAction
debugServiceExtension = "internal" buildConfiguration = "Release"
allowLocationSimulation = "YES"> shouldUseLaunchSchemeArgsEnv = "YES"
<BuildableProductRunnable savedToolIdentifier = ""
runnableDebuggingMode = "0"> useCustomWorkingDirectory = "NO"
<BuildableReference debugDocumentVersioning = "YES">
BuildableIdentifier = "primary" <BuildableProductRunnable
BlueprintIdentifier = "38C1415723BBE33000902604" runnableDebuggingMode = "0">
BuildableName = "example-macOS.app" <BuildableReference
BlueprintName = "example-macOS" BuildableIdentifier = "primary"
ReferencedContainer = "container:example.xcodeproj"> BlueprintIdentifier = "514201482437B4B30078DB4F"
</BuildableReference> BuildableName = "example.app"
</BuildableProductRunnable> BlueprintName = "example-macOS"
</LaunchAction> ReferencedContainer = "container:example.xcodeproj">
<ProfileAction </BuildableReference>
buildConfiguration = "Release" </BuildableProductRunnable>
shouldUseLaunchSchemeArgsEnv = "YES" </ProfileAction>
savedToolIdentifier = "" <AnalyzeAction
useCustomWorkingDirectory = "NO" buildConfiguration = "Debug">
debugDocumentVersioning = "YES"> </AnalyzeAction>
<BuildableProductRunnable <ArchiveAction
runnableDebuggingMode = "0"> buildConfiguration = "Release"
<BuildableReference revealArchiveInOrganizer = "YES">
BuildableIdentifier = "primary" </ArchiveAction>
BlueprintIdentifier = "38C1415723BBE33000902604" </Scheme>
BuildableName = "example-macOS.app"
BlueprintName = "example-macOS"
ReferencedContainer = "container:example.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:example.xcodeproj">
</FileRef>
<FileRef
location = "group:Pods/Pods.xcodeproj">
</FileRef>
</Workspace>
@@ -2,9 +2,7 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>BuildSystemType</key> <key>IDEDidComputeMac32BitWarning</key>
<string>Original</string> <true/>
<key>PreviewsEnabled</key>
<false/>
</dict> </dict>
</plist> </plist>
+7 -7
View File
@@ -26,12 +26,12 @@
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
134814201AA4EA6300B7C361 /* libRNCWebView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNCWebView.a; sourceTree = BUILT_PRODUCTS_DIR; }; 134814201AA4EA6300B7C361 /* libRNCWebView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNCWebView.a; sourceTree = BUILT_PRODUCTS_DIR; };
3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNCWKProcessPoolManager.m; sourceTree = "<group>"; }; 3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = RNCWKProcessPoolManager.m; path = ../apple/RNCWKProcessPoolManager.m; sourceTree = "<group>"; };
3515965F21A3C87E00623BFA /* RNCWKProcessPoolManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNCWKProcessPoolManager.h; sourceTree = "<group>"; }; 3515965F21A3C87E00623BFA /* RNCWKProcessPoolManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RNCWKProcessPoolManager.h; path = ../apple/RNCWKProcessPoolManager.h; sourceTree = "<group>"; };
E91B351921446E6C00F9801F /* RNCWebViewManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNCWebViewManager.h; sourceTree = "<group>"; }; E91B351921446E6C00F9801F /* RNCWebViewManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RNCWebViewManager.h; path = ../apple/RNCWebViewManager.h; sourceTree = "<group>"; };
E91B351A21446E6C00F9801F /* RNCWebView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNCWebView.h; sourceTree = "<group>"; }; E91B351A21446E6C00F9801F /* RNCWebView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RNCWebView.h; path = ../apple/RNCWebView.h; sourceTree = "<group>"; };
E91B351B21446E6C00F9801F /* RNCWebViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNCWebViewManager.m; sourceTree = "<group>"; }; E91B351B21446E6C00F9801F /* RNCWebViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RNCWebViewManager.m; path = ../apple/RNCWebViewManager.m; sourceTree = "<group>"; };
E91B351C21446E6C00F9801F /* RNCWebView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNCWebView.m; sourceTree = "<group>"; }; E91B351C21446E6C00F9801F /* RNCWebView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RNCWebView.m; path = ../apple/RNCWebView.m; sourceTree = "<group>"; };
/* End PBXFileReference section */ /* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */ /* Begin PBXFrameworksBuildPhase section */
@@ -60,8 +60,8 @@
E91B351C21446E6C00F9801F /* RNCWebView.m */, E91B351C21446E6C00F9801F /* RNCWebView.m */,
E91B351921446E6C00F9801F /* RNCWebViewManager.h */, E91B351921446E6C00F9801F /* RNCWebViewManager.h */,
E91B351B21446E6C00F9801F /* RNCWebViewManager.m */, E91B351B21446E6C00F9801F /* RNCWebViewManager.m */,
3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */,
3515965F21A3C87E00623BFA /* RNCWKProcessPoolManager.h */, 3515965F21A3C87E00623BFA /* RNCWKProcessPoolManager.h */,
3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */,
134814211AA4EA7D00B7C361 /* Products */, 134814211AA4EA7D00B7C361 /* Products */,
); );
sourceTree = "<group>"; sourceTree = "<group>";
+24 -24
View File
@@ -7,12 +7,12 @@
objects = { objects = {
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
3515965E21A3C86000623BFA /* ../ios/RNCWKProcessPoolManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3515965D21A3C86000623BFA /* ../ios/RNCWKProcessPoolManager.m */; }; 3515965E21A3C86000623BFA /* RNCWKProcessPoolManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */; };
38116A2B23BBECB700ACE311 /* ../ios/RNCWebViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351B21446E6C00F9801F /* ../ios/RNCWebViewManager.m */; }; 38116A2B23BBECB700ACE311 /* RNCWebViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351B21446E6C00F9801F /* RNCWebViewManager.m */; };
38116A2C23BBECB700ACE311 /* ../ios/RNCWebView.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351C21446E6C00F9801F /* ../ios/RNCWebView.m */; }; 38116A2C23BBECB700ACE311 /* RNCWebView.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351C21446E6C00F9801F /* RNCWebView.m */; };
38116A2D23BBECB700ACE311 /* ../ios/RNCWKProcessPoolManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3515965D21A3C86000623BFA /* ../ios/RNCWKProcessPoolManager.m */; }; 38116A2D23BBECB700ACE311 /* RNCWKProcessPoolManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */; };
E91B351D21446E6C00F9801F /* ../ios/RNCWebViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351B21446E6C00F9801F /* ../ios/RNCWebViewManager.m */; }; E91B351D21446E6C00F9801F /* RNCWebViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351B21446E6C00F9801F /* RNCWebViewManager.m */; };
E91B351E21446E6C00F9801F /* ../ios/RNCWebView.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351C21446E6C00F9801F /* ../ios/RNCWebView.m */; }; E91B351E21446E6C00F9801F /* RNCWebView.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351C21446E6C00F9801F /* RNCWebView.m */; };
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */ /* Begin PBXCopyFilesBuildPhase section */
@@ -38,13 +38,13 @@
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
134814201AA4EA6300B7C361 /* libRNCWebView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNCWebView.a; sourceTree = BUILT_PRODUCTS_DIR; }; 134814201AA4EA6300B7C361 /* libRNCWebView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNCWebView.a; sourceTree = BUILT_PRODUCTS_DIR; };
3515965D21A3C86000623BFA /* ../ios/RNCWKProcessPoolManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ../ios/RNCWKProcessPoolManager.m; sourceTree = "<group>"; }; 3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = RNCWKProcessPoolManager.m; path = ../apple/RNCWKProcessPoolManager.m; sourceTree = "<group>"; };
3515965F21A3C87E00623BFA /* ../ios/RNCWKProcessPoolManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ../ios/RNCWKProcessPoolManager.h; sourceTree = "<group>"; }; 3515965F21A3C87E00623BFA /* RNCWKProcessPoolManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RNCWKProcessPoolManager.h; path = ../apple/RNCWKProcessPoolManager.h; sourceTree = "<group>"; };
38116A3323BBECB700ACE311 /* libRNCWebView-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libRNCWebView-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 38116A3323BBECB700ACE311 /* libRNCWebView-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libRNCWebView-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
E91B351921446E6C00F9801F /* ../ios/RNCWebViewManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ../ios/RNCWebViewManager.h; sourceTree = "<group>"; }; E91B351921446E6C00F9801F /* RNCWebViewManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RNCWebViewManager.h; path = ../apple/RNCWebViewManager.h; sourceTree = "<group>"; };
E91B351A21446E6C00F9801F /* ../ios/RNCWebView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ../ios/RNCWebView.h; sourceTree = "<group>"; }; E91B351A21446E6C00F9801F /* RNCWebView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RNCWebView.h; path = ../apple/RNCWebView.h; sourceTree = "<group>"; };
E91B351B21446E6C00F9801F /* ../ios/RNCWebViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ../ios/RNCWebViewManager.m; sourceTree = "<group>"; }; E91B351B21446E6C00F9801F /* RNCWebViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RNCWebViewManager.m; path = ../apple/RNCWebViewManager.m; sourceTree = "<group>"; };
E91B351C21446E6C00F9801F /* ../ios/RNCWebView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ../ios/RNCWebView.m; sourceTree = "<group>"; }; E91B351C21446E6C00F9801F /* RNCWebView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RNCWebView.m; path = ../apple/RNCWebView.m; sourceTree = "<group>"; };
/* End PBXFileReference section */ /* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */ /* Begin PBXFrameworksBuildPhase section */
@@ -76,12 +76,12 @@
58B511D21A9E6C8500147676 = { 58B511D21A9E6C8500147676 = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
E91B351A21446E6C00F9801F /* ../ios/RNCWebView.h */, E91B351A21446E6C00F9801F /* RNCWebView.h */,
E91B351C21446E6C00F9801F /* ../ios/RNCWebView.m */, E91B351C21446E6C00F9801F /* RNCWebView.m */,
E91B351921446E6C00F9801F /* ../ios/RNCWebViewManager.h */, E91B351921446E6C00F9801F /* RNCWebViewManager.h */,
E91B351B21446E6C00F9801F /* ../ios/RNCWebViewManager.m */, E91B351B21446E6C00F9801F /* RNCWebViewManager.m */,
3515965D21A3C86000623BFA /* ../ios/RNCWKProcessPoolManager.m */, 3515965F21A3C87E00623BFA /* RNCWKProcessPoolManager.h */,
3515965F21A3C87E00623BFA /* ../ios/RNCWKProcessPoolManager.h */, 3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */,
134814211AA4EA7D00B7C361 /* Products */, 134814211AA4EA7D00B7C361 /* Products */,
38116A3323BBECB700ACE311 /* libRNCWebView-macOS.a */, 38116A3323BBECB700ACE311 /* libRNCWebView-macOS.a */,
); );
@@ -161,9 +161,9 @@
isa = PBXSourcesBuildPhase; isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
38116A2B23BBECB700ACE311 /* ../ios/RNCWebViewManager.m in Sources */, 38116A2B23BBECB700ACE311 /* RNCWebViewManager.m in Sources */,
38116A2C23BBECB700ACE311 /* ../ios/RNCWebView.m in Sources */, 38116A2C23BBECB700ACE311 /* RNCWebView.m in Sources */,
38116A2D23BBECB700ACE311 /* ../ios/RNCWKProcessPoolManager.m in Sources */, 38116A2D23BBECB700ACE311 /* RNCWKProcessPoolManager.m in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@@ -171,9 +171,9 @@
isa = PBXSourcesBuildPhase; isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
E91B351D21446E6C00F9801F /* ../ios/RNCWebViewManager.m in Sources */, E91B351D21446E6C00F9801F /* RNCWebViewManager.m in Sources */,
E91B351E21446E6C00F9801F /* ../ios/RNCWebView.m in Sources */, E91B351E21446E6C00F9801F /* RNCWebView.m in Sources */,
3515965E21A3C86000623BFA /* ../ios/RNCWKProcessPoolManager.m in Sources */, 3515965E21A3C86000623BFA /* RNCWKProcessPoolManager.m in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
+2 -1
View File
@@ -63,7 +63,7 @@
"metro-react-native-babel-preset": "0.54.1", "metro-react-native-babel-preset": "0.54.1",
"react": "16.9.0", "react": "16.9.0",
"react-native": "0.61.5", "react-native": "0.61.5",
"react-native-macos": "0.60.0-microsoft.49", "react-native-macos": "0.60.0-microsoft.73",
"react-native-windows": "^0.61.0-beta.58", "react-native-windows": "^0.61.0-beta.58",
"rnpm-plugin-windows": "^0.5.1-0", "rnpm-plugin-windows": "^0.5.1-0",
"semantic-release": "15.13.24", "semantic-release": "15.13.24",
@@ -75,6 +75,7 @@
}, },
"files": [ "files": [
"android", "android",
"apple",
"ios", "ios",
"macos", "macos",
"windows", "windows",
+2 -2
View File
@@ -10,10 +10,10 @@ Pod::Spec.new do |s|
s.authors = package['author'] s.authors = package['author']
s.homepage = package['homepage'] s.homepage = package['homepage']
s.platform = :ios, "9.0" s.platforms = { :ios => "9.0", :osx => "10.14" }
s.source = { :git => "https://github.com/react-native-community/react-native-webview.git", :tag => "v#{s.version}" } s.source = { :git => "https://github.com/react-native-community/react-native-webview.git", :tag => "v#{s.version}" }
s.source_files = "ios/**/*.{h,m}" s.source_files = "apple/**/*.{h,m}"
s.dependency 'React' s.dependency 'React'
end end
+4 -4
View File
@@ -8304,10 +8304,10 @@ react-is@^16.8.1, react-is@^16.8.4:
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.9.0.tgz#21ca9561399aad0ff1a7701c01683e8ca981edcb" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.9.0.tgz#21ca9561399aad0ff1a7701c01683e8ca981edcb"
integrity sha512-tJBzzzIgnnRfEm046qRcURvwQnZVXmuCbscxUO5RWrGTXpon2d4c8mI0D8WE6ydVIm29JiLB6+RslkIvym9Rjw== integrity sha512-tJBzzzIgnnRfEm046qRcURvwQnZVXmuCbscxUO5RWrGTXpon2d4c8mI0D8WE6ydVIm29JiLB6+RslkIvym9Rjw==
react-native-macos@0.60.0-microsoft.49: react-native-macos@0.60.0-microsoft.73:
version "0.60.0-microsoft.49" version "0.60.0-microsoft.73"
resolved "https://registry.yarnpkg.com/react-native-macos/-/react-native-macos-0.60.0-microsoft.49.tgz#ac506343f7450f12f852769102e6262b531b181f" resolved "https://registry.yarnpkg.com/react-native-macos/-/react-native-macos-0.60.0-microsoft.73.tgz#f4c0b7634c39695006170c45a8a66aa8a4a87522"
integrity sha512-2631KIggGpw1RoLC/lWRZ/agFgAAMWuoQrRcmGsN+0neXHggEY5jUzz1uV6LeqKkrcudV+qaz3ajo85UjwqDIA== integrity sha512-iJatxEIC28S3+My9xYc1lGnXBbfh+sy5IjKd/OolyhhKcMgN3chN/1/5YgnjNEaxdw4SvPD0EQiQXQz5PLcjtw==
dependencies: dependencies:
"@babel/runtime" "^7.0.0" "@babel/runtime" "^7.0.0"
"@react-native-community/cli" "^2.6.0" "@react-native-community/cli" "^2.6.0"