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,10 +1,3 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <React/RCTBridgeDelegate.h> #import <React/RCTBridgeDelegate.h>
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
@@ -1,10 +1,3 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "AppDelegate.h" #import "AppDelegate.h"
#import <React/RCTBridge.h> #import <React/RCTBridge.h>
@@ -1,15 +1,5 @@
{ {
"images" : [ "images" : [
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "3x"
},
{ {
"idiom" : "iphone", "idiom" : "iphone",
"size" : "29x29", "size" : "29x29",
@@ -39,11 +29,6 @@
"idiom" : "iphone", "idiom" : "iphone",
"size" : "60x60", "size" : "60x60",
"scale" : "3x" "scale" : "3x"
},
{
"idiom" : "ios-marketing",
"size" : "1024x1024",
"scale" : "1x"
} }
], ],
"info" : { "info" : {
@@ -5,7 +5,7 @@
<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>
@@ -1,10 +1,3 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#import "AppDelegate.h" #import "AppDelegate.h"
@@ -1,10 +1,3 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <Cocoa/Cocoa.h> #import <Cocoa/Cocoa.h>
@class RCTBridge; @class RCTBridge;
@@ -1,10 +1,3 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "AppDelegate.h" #import "AppDelegate.h"
#import <React/RCTBridge.h> #import <React/RCTBridge.h>
@@ -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
}
}
@@ -1,9 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="15505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS"> <document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="11134" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
<dependencies> <dependencies>
<deployment identifier="macosx"/> <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11134"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15505"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies> </dependencies>
<scenes> <scenes>
<!--Application--> <!--Application-->
@@ -12,11 +10,11 @@
<application id="hnw-xV-0zn" sceneMemberID="viewController"> <application id="hnw-xV-0zn" sceneMemberID="viewController">
<menu key="mainMenu" title="Main Menu" systemMenu="main" id="AYu-sK-qS6"> <menu key="mainMenu" title="Main Menu" systemMenu="main" id="AYu-sK-qS6">
<items> <items>
<menuItem title="rncTesterApp-macOS" id="1Xt-HY-uBw"> <menuItem title="example" id="1Xt-HY-uBw">
<modifierMask key="keyEquivalentModifierMask"/> <modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="rncTesterApp-macOS" systemMenu="apple" id="uQy-DD-JDr"> <menu key="submenu" title="example" systemMenu="apple" id="uQy-DD-JDr">
<items> <items>
<menuItem title="About rncTesterApp-macOS" id="5kV-Vb-QxS"> <menuItem title="About example" id="5kV-Vb-QxS">
<modifierMask key="keyEquivalentModifierMask"/> <modifierMask key="keyEquivalentModifierMask"/>
<connections> <connections>
<action selector="orderFrontStandardAboutPanel:" target="Ady-hI-5gd" id="Exp-CZ-Vem"/> <action selector="orderFrontStandardAboutPanel:" target="Ady-hI-5gd" id="Exp-CZ-Vem"/>
@@ -30,7 +28,7 @@
<menu key="submenu" title="Services" systemMenu="services" id="hz9-B4-Xy5"/> <menu key="submenu" title="Services" systemMenu="services" id="hz9-B4-Xy5"/>
</menuItem> </menuItem>
<menuItem isSeparatorItem="YES" id="4je-JR-u6R"/> <menuItem isSeparatorItem="YES" id="4je-JR-u6R"/>
<menuItem title="Hide rncTesterApp-macOS" keyEquivalent="h" id="Olw-nP-bQN"> <menuItem title="Hide example" keyEquivalent="h" id="Olw-nP-bQN">
<connections> <connections>
<action selector="hide:" target="Ady-hI-5gd" id="PnN-Uc-m68"/> <action selector="hide:" target="Ady-hI-5gd" id="PnN-Uc-m68"/>
</connections> </connections>
@@ -48,7 +46,7 @@
</connections> </connections>
</menuItem> </menuItem>
<menuItem isSeparatorItem="YES" id="kCx-OE-vgT"/> <menuItem isSeparatorItem="YES" id="kCx-OE-vgT"/>
<menuItem title="Quit rncTesterApp-macOS" keyEquivalent="q" id="4sb-4s-VLi"> <menuItem title="Quit example" keyEquivalent="q" id="4sb-4s-VLi">
<connections> <connections>
<action selector="terminate:" target="Ady-hI-5gd" id="Te7-pn-YzF"/> <action selector="terminate:" target="Ady-hI-5gd" id="Te7-pn-YzF"/>
</connections> </connections>
@@ -526,19 +524,22 @@
<menuItem title="Paragraph" enabled="NO" id="ZvO-Gk-QUH"> <menuItem title="Paragraph" enabled="NO" id="ZvO-Gk-QUH">
<modifierMask key="keyEquivalentModifierMask"/> <modifierMask key="keyEquivalentModifierMask"/>
</menuItem> </menuItem>
<menuItem title=" Default" id="YGs-j5-SAR"> <menuItem id="YGs-j5-SAR">
<string key="title"> Default</string>
<modifierMask key="keyEquivalentModifierMask"/> <modifierMask key="keyEquivalentModifierMask"/>
<connections> <connections>
<action selector="makeBaseWritingDirectionNatural:" target="Ady-hI-5gd" id="qtV-5e-UBP"/> <action selector="makeBaseWritingDirectionNatural:" target="Ady-hI-5gd" id="qtV-5e-UBP"/>
</connections> </connections>
</menuItem> </menuItem>
<menuItem title=" Left to Right" id="Lbh-J2-qVU"> <menuItem id="Lbh-J2-qVU">
<string key="title"> Left to Right</string>
<modifierMask key="keyEquivalentModifierMask"/> <modifierMask key="keyEquivalentModifierMask"/>
<connections> <connections>
<action selector="makeBaseWritingDirectionLeftToRight:" target="Ady-hI-5gd" id="S0X-9S-QSf"/> <action selector="makeBaseWritingDirectionLeftToRight:" target="Ady-hI-5gd" id="S0X-9S-QSf"/>
</connections> </connections>
</menuItem> </menuItem>
<menuItem title=" Right to Left" id="jFq-tB-4Kx"> <menuItem id="jFq-tB-4Kx">
<string key="title"> Right to Left</string>
<modifierMask key="keyEquivalentModifierMask"/> <modifierMask key="keyEquivalentModifierMask"/>
<connections> <connections>
<action selector="makeBaseWritingDirectionRightToLeft:" target="Ady-hI-5gd" id="5fk-qB-AqJ"/> <action selector="makeBaseWritingDirectionRightToLeft:" target="Ady-hI-5gd" id="5fk-qB-AqJ"/>
@@ -548,19 +549,22 @@
<menuItem title="Selection" enabled="NO" id="cqv-fj-IhA"> <menuItem title="Selection" enabled="NO" id="cqv-fj-IhA">
<modifierMask key="keyEquivalentModifierMask"/> <modifierMask key="keyEquivalentModifierMask"/>
</menuItem> </menuItem>
<menuItem title=" Default" id="Nop-cj-93Q"> <menuItem id="Nop-cj-93Q">
<string key="title"> Default</string>
<modifierMask key="keyEquivalentModifierMask"/> <modifierMask key="keyEquivalentModifierMask"/>
<connections> <connections>
<action selector="makeTextWritingDirectionNatural:" target="Ady-hI-5gd" id="lPI-Se-ZHp"/> <action selector="makeTextWritingDirectionNatural:" target="Ady-hI-5gd" id="lPI-Se-ZHp"/>
</connections> </connections>
</menuItem> </menuItem>
<menuItem title=" Left to Right" id="BgM-ve-c93"> <menuItem id="BgM-ve-c93">
<string key="title"> Left to Right</string>
<modifierMask key="keyEquivalentModifierMask"/> <modifierMask key="keyEquivalentModifierMask"/>
<connections> <connections>
<action selector="makeTextWritingDirectionLeftToRight:" target="Ady-hI-5gd" id="caW-Bv-w94"/> <action selector="makeTextWritingDirectionLeftToRight:" target="Ady-hI-5gd" id="caW-Bv-w94"/>
</connections> </connections>
</menuItem> </menuItem>
<menuItem title=" Right to Left" id="RB4-Sm-HuC"> <menuItem id="RB4-Sm-HuC">
<string key="title"> Right to Left</string>
<modifierMask key="keyEquivalentModifierMask"/> <modifierMask key="keyEquivalentModifierMask"/>
<connections> <connections>
<action selector="makeTextWritingDirectionRightToLeft:" target="Ady-hI-5gd" id="EXD-6r-ZUu"/> <action selector="makeTextWritingDirectionRightToLeft:" target="Ady-hI-5gd" id="EXD-6r-ZUu"/>
@@ -655,7 +659,7 @@
<modifierMask key="keyEquivalentModifierMask"/> <modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Help" systemMenu="help" id="F2S-fz-NVQ"> <menu key="submenu" title="Help" systemMenu="help" id="F2S-fz-NVQ">
<items> <items>
<menuItem title="rncTesterApp-macOS Help" keyEquivalent="?" id="FKE-Sm-Kum"> <menuItem title="example Help" keyEquivalent="?" id="FKE-Sm-Kum">
<connections> <connections>
<action selector="showHelp:" target="Ady-hI-5gd" id="y7X-2Q-9no"/> <action selector="showHelp:" target="Ady-hI-5gd" id="y7X-2Q-9no"/>
</connections> </connections>
@@ -669,7 +673,7 @@
<outlet property="delegate" destination="Voe-Tx-rLC" id="PrD-fu-P6m"/> <outlet property="delegate" destination="Voe-Tx-rLC" id="PrD-fu-P6m"/>
</connections> </connections>
</application> </application>
<customObject id="Voe-Tx-rLC" customClass="AppDelegate"/> <customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModuleProvider=""/>
<customObject id="YLy-65-1bz" customClass="NSFontManager"/> <customObject id="YLy-65-1bz" customClass="NSFontManager"/>
<customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/> <customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects> </objects>
@@ -679,7 +683,7 @@
<scene sceneID="R2V-B0-nI4"> <scene sceneID="R2V-B0-nI4">
<objects> <objects>
<windowController id="B8D-0N-5wS" sceneMemberID="viewController"> <windowController id="B8D-0N-5wS" sceneMemberID="viewController">
<window key="window" title="example macOS" allowsToolTipsWhenApplicationIsInactive="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="IQv-IB-iLA"> <window key="window" title="example" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="IQv-IB-iLA">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/> <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/> <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="196" y="240" width="480" height="270"/> <rect key="contentRect" x="196" y="240" width="480" height="270"/>
@@ -699,8 +703,8 @@
<!--View Controller--> <!--View Controller-->
<scene sceneID="hIz-AP-VOD"> <scene sceneID="hIz-AP-VOD">
<objects> <objects>
<viewController id="XfG-lQ-9wD" customClass="ViewController" sceneMemberID="viewController"> <viewController id="XfG-lQ-9wD" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController">
<view key="view" wantsLayer="YES" id="m2S-Jp-Qdl"> <view key="view" id="m2S-Jp-Qdl">
<rect key="frame" x="0.0" y="0.0" width="480" height="270"/> <rect key="frame" x="0.0" y="0.0" width="480" height="270"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
</view> </view>
+17 -15
View File
@@ -15,7 +15,7 @@
<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>
@@ -23,23 +23,25 @@
<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>
<string>Copyright © 2017 Facebook. All rights reserved.</string>
<key>NSMainStoryboardFile</key> <key>NSMainStoryboardFile</key>
<string>Main</string> <string>Main</string>
<key>NSPrincipalClass</key> <key>NSPrincipalClass</key>
<string>NSApplication</string> <string>NSApplication</string>
<key>NSSupportsAutomaticTermination</key>
<true/>
<key>NSSupportsSuddenTermination</key>
<true/>
</dict> </dict>
</plist> </plist>
@@ -1,10 +1,3 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <Cocoa/Cocoa.h> #import <Cocoa/Cocoa.h>
@interface ViewController : NSViewController @interface ViewController : NSViewController
@@ -1,10 +1,3 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "ViewController.h" #import "ViewController.h"
#import "AppDelegate.h" #import "AppDelegate.h"
@@ -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>
-7
View File
@@ -1,10 +1,3 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <Cocoa/Cocoa.h> #import <Cocoa/Cocoa.h>
int main(int argc, const char *argv[]) { int main(int argc, const char *argv[]) {
File diff suppressed because it is too large Load Diff
@@ -1,25 +1,11 @@
<?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
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "83CBBA2D1A601D0E00E9B192"
BuildableName = "libReact.a"
BlueprintName = "React"
ReferencedContainer = "container:../../node_modules/react-native-macos/React/React.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry <BuildActionEntry
buildForTesting = "YES" buildForTesting = "YES"
buildForRunning = "YES" buildForRunning = "YES"
@@ -30,7 +16,7 @@
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A" BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "example.app" BuildableName = "example.app"
BlueprintName = "example" BlueprintName = "example-iOS"
ReferencedContainer = "container:example.xcodeproj"> ReferencedContainer = "container:example.xcodeproj">
</BuildableReference> </BuildableReference>
</BuildActionEntry> </BuildActionEntry>
@@ -60,7 +46,7 @@
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A" BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "example.app" BuildableName = "example.app"
BlueprintName = "example" BlueprintName = "example-iOS"
ReferencedContainer = "container:example.xcodeproj"> ReferencedContainer = "container:example.xcodeproj">
</BuildableReference> </BuildableReference>
</BuildableProductRunnable> </BuildableProductRunnable>
@@ -77,7 +63,7 @@
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A" BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "example.app" BuildableName = "example.app"
BlueprintName = "example" BlueprintName = "example-iOS"
ReferencedContainer = "container:example.xcodeproj"> ReferencedContainer = "container:example.xcodeproj">
</BuildableReference> </BuildableReference>
</BuildableProductRunnable> </BuildableProductRunnable>
@@ -1,9 +1,9 @@
<?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
@@ -14,22 +14,8 @@
buildForAnalyzing = "YES"> buildForAnalyzing = "YES">
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "6B857DA21EC51FC600A9D063" BlueprintIdentifier = "514201482437B4B30078DB4F"
BuildableName = "libReact.a" BuildableName = "example.app"
BlueprintName = "React-macOS"
ReferencedContainer = "container:../../node_modules/react-native-macos/React/React.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "38C1415723BBE33000902604"
BuildableName = "example-macOS.app"
BlueprintName = "example-macOS" BlueprintName = "example-macOS"
ReferencedContainer = "container:example.xcodeproj"> ReferencedContainer = "container:example.xcodeproj">
</BuildableReference> </BuildableReference>
@@ -58,8 +44,8 @@
runnableDebuggingMode = "0"> runnableDebuggingMode = "0">
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "38C1415723BBE33000902604" BlueprintIdentifier = "514201482437B4B30078DB4F"
BuildableName = "example-macOS.app" BuildableName = "example.app"
BlueprintName = "example-macOS" BlueprintName = "example-macOS"
ReferencedContainer = "container:example.xcodeproj"> ReferencedContainer = "container:example.xcodeproj">
</BuildableReference> </BuildableReference>
@@ -75,8 +61,8 @@
runnableDebuggingMode = "0"> runnableDebuggingMode = "0">
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "38C1415723BBE33000902604" BlueprintIdentifier = "514201482437B4B30078DB4F"
BuildableName = "example-macOS.app" BuildableName = "example.app"
BlueprintName = "example-macOS" BlueprintName = "example-macOS"
ReferencedContainer = "container:example.xcodeproj"> ReferencedContainer = "container:example.xcodeproj">
</BuildableReference> </BuildableReference>
@@ -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"