Могу ли я выполнить установку папки из пакета npm в качестве зависимости для собственного собственного реагирующего приложения?
В прошлом я мог это сделать с помощью некоторой комбинации этих утилит командной строки. (хотя, возможно, я использовал пряжу вместо npm), но, к сожалению, я не записал детали.
Вот команды, которые я выполнил:
$ uname -v
Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_6
$ mkdir testapp
$ cd testapp
$ npx -v
6.9.0
$ npx react-native --version
3.0.4
$ npx react-native init AwesomeProject
$ create-react-native-module --version
0.13.0
$ create-react-native-module MyFancyLibrary
$ cd AwesomeProject
$ npm install ../react-native-my-fancy-library
$ cd ios
$ npx pod --version
1.7.5
$ vi App.js ; insert `import MyFancyLibrary from 'react-native-my-fancy-library';`
$ pod install
$ npx react-native run-ios
Вот ошибка :
Error: undefined Unable to resolve module `react-native-my-fancy-library` from `App.js`: react-native-my-fancy-library could not be found within the project.
If you are sure the module exists, try these steps:
1. Clear watchman watches: watchman watch-del-all
2. Delete node_modules: rm -rf node_modules and run yarn install
3. Reset Metro's cache: yarn start --reset-cache
4. Remove the cache: rm -rf /tmp/metro-*
showCompileError
index.bundle?platform=ios&dev=true&minify=false:34608:26
<unknown>
index.bundle?platform=ios&dev=true&minify=false:34547:29
emit
index.bundle?platform=ios&dev=true&minify=false:35027:35
<unknown>
index.bundle?platform=ios&dev=true&minify=false:34874:23
dispatchEvent
index.bundle?platform=ios&dev=true&minify=false:32345:31
<unknown>
index.bundle?platform=ios&dev=true&minify=false:32979:31
emit
index.bundle?platform=ios&dev=true&minify=false:6932:42
__callFunction
index.bundle?platform=ios&dev=true&minify=false:2683:49
<unknown>
index.bundle?platform=ios&dev=true&minify=false:2396:31
__guard
index.bundle?platform=ios&dev=true&minify=false:2637:15
callFunctionReturnFlushedQueue
index.bundle?platform=ios&dev=true&minify=false:2395:21
callFunctionReturnFlushedQueue
[native code]:0
Вот полный журнал команд и вывода:
$ mkdir testapp
$ cd testapp/
$ npx react-native init AwesomeProject
This will walk you through creating a new React Native project in
testapp/AwesomeProject
Using yarn v1.21.1
Installing react-native...
yarn add v1.21.1
info No lockfile found.
[1/4] ? Resolving packages...
warning react-native > fbjs > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-native > create-react-class > fbjs > core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-native > fbjs-scripts > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-native > metro-babel-register > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
[2/4] ? Fetching packages...
[3/4] ? Linking dependencies...
warning "react-native > metro-react-native-babel-transformer@0.56.4" has unmet peer dependency "@babel/core@*".
warning " > react-native@0.61.5" has unmet peer dependency "react@16.9.0".
[4/4] ? Building fresh packages...
success Saved lockfile.
success Saved 415 new dependencies.
info Direct dependencies
└─ react-native@0.61.5
info All dependencies
├─ write-file-atomic@3.0.1
├─ xmlchars@2.2.0
└─ yargs-parser@16.1.0
✨ Done in 15.05s.
info Installing required CocoaPods dependencies
Run instructions for iOS:
• cd //testapp/AwesomeProject && npx react-native run-ios
- or -
• Open AwesomeProject/ios/AwesomeProject.xcworkspace in Xcode or run "xed -b ios"
• Hit the Run button
Run instructions for Android:
• Have an Android emulator running (quickest way to get started), or a device connected.
• cd testapp/AwesomeProject && npx react-native run-android
$ create-react-native-module MyFancyLibrary
While `{DEFAULT_PACKAGE_IDENTIFIER}` is the default package
identifier, it is recommended to customize the package identifier.
CREATE new React Native module with the following options:
root moduleName: react-native-my-fancy-library
name: MyFancyLibrary
prefix:
modulePrefix: react-native
packageIdentifier: com.reactlibrary
platforms: ios,android
tvosEnabled: false
githubAccount: github_account
authorName: Your Name
authorEmail: yourname@email.com
license: MIT
view: false
useAppleNetworking: false
generateExample: false
exampleName: example
writeExamplePodfile: false
CREATE: Generating the React Native library module
? Created library module react-native-my-fancy-library in `./react-native-my-fancy-library`.
? It took 11ms.
====================================================
YOU'RE ALL SET!
To build and run iOS example project, do:
----
cd react-native-my-fancy-library/example
yarn
cd ios
pod install # required starting with React Native 0.60
cd ..
react-native run-ios
----
$ cd AwesomeProject
$ npm install ../react-native-my-fancy-library
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN rm not removing //testapp/AwesomeProject/node_modules/.bin/rimraf as it wasn't installed by //testapp/AwesomeProject/node_modules/rimraf
npm WARN rm not removing //testapp/AwesomeProject/node_modules/.bin/semver as it wasn't installed by //testapp/AwesomeProject/node_modules/semver
npm WARN rm not removing //testapp/AwesomeProject/node_modules/.bin/jest as it wasn't installed by //testapp/AwesomeProject/node_modules/jest-cli
npm WARN rm not removing //testapp/AwesomeProject/node_modules/.bin/react-native as it wasn't installed by //testapp/AwesomeProject/node_modules/@react-native-community/cli
> fsevents@1.2.11 install testapp/AwesomeProject/node_modules/metro-core/node_modules/fsevents
> node-gyp rebuild
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
> fsevents@1.2.11 install //testapp/AwesomeProject/node_modules/metro/node_modules/fsevents
> node-gyp rebuild
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
> core-js@2.6.11 postinstall testapp/AwesomeProject/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN @typescript-eslint/eslint-plugin@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @typescript-eslint/parser@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN tsutils@3.17.1 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
npm WARN jsdom@15.2.1 requires a peer of canvas@^2.5.0 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.2.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.2.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
+ react-native-my-fancy-library@1.0.0
added 56 packages from 18 contributors, removed 59 packages, updated 1045 packages and audited 1274539 packages in 47.833s
found 4 low severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
$ cd ios
$ pod install
Detected React Native module pod for react-native-my-fancy-library
Analyzing dependencies
Fetching podspec for `FBLazyVector` from `../node_modules/react-native/Libraries/FBLazyVector`
Fetching podspec for `FBReactNativeSpec` from `../node_modules/react-native/Libraries/FBReactNativeSpec`
Fetching podspec for `RCTRequired` from `../node_modules/react-native/Libraries/RCTRequired`
Fetching podspec for `RCTTypeSafety` from `../node_modules/react-native/Libraries/TypeSafety`
Fetching podspec for `React` from `../node_modules/react-native/`
Fetching podspec for `React-Core` from `../node_modules/react-native/`
Fetching podspec for `React-CoreModules` from `../node_modules/react-native/React/CoreModules`
Fetching podspec for `React-RCTActionSheet` from `../node_modules/react-native/Libraries/ActionSheetIOS`
Fetching podspec for `React-RCTAnimation` from `../node_modules/react-native/Libraries/NativeAnimation`
Fetching podspec for `React-RCTBlob` from `../node_modules/react-native/Libraries/Blob`
Fetching podspec for `React-RCTImage` from `../node_modules/react-native/Libraries/Image`
Fetching podspec for `React-RCTLinking` from `../node_modules/react-native/Libraries/LinkingIOS`
Fetching podspec for `React-RCTNetwork` from `../node_modules/react-native/Libraries/Network`
Fetching podspec for `React-RCTSettings` from `../node_modules/react-native/Libraries/Settings`
Fetching podspec for `React-RCTText` from `../node_modules/react-native/Libraries/Text`
Fetching podspec for `React-RCTVibration` from `../node_modules/react-native/Libraries/Vibration`
Fetching podspec for `React-cxxreact` from `../node_modules/react-native/ReactCommon/cxxreact`
Fetching podspec for `React-jsi` from `../node_modules/react-native/ReactCommon/jsi`
Fetching podspec for `React-jsiexecutor` from `../node_modules/react-native/ReactCommon/jsiexecutor`
Fetching podspec for `React-jsinspector` from `../node_modules/react-native/ReactCommon/jsinspector`
Fetching podspec for `ReactCommon` from `../node_modules/react-native/ReactCommon`
Fetching podspec for `Yoga` from `../node_modules/react-native/ReactCommon/yoga`
Fetching podspec for `react-native-my-fancy-library` from `../../react-native-my-fancy-library`
Downloading dependencies
Using DoubleConversion (1.1.6)
Using FBLazyVector (0.61.5)
Using FBReactNativeSpec (0.61.5)
Using Folly (2018.10.22.00)
Using RCTRequired (0.61.5)
Using RCTTypeSafety (0.61.5)
Using React (0.61.5)
Using React-Core (0.61.5)
Using React-CoreModules (0.61.5)
Using React-RCTActionSheet (0.61.5)
Using React-RCTAnimation (0.61.5)
Using React-RCTBlob (0.61.5)
Using React-RCTImage (0.61.5)
Using React-RCTLinking (0.61.5)
Using React-RCTNetwork (0.61.5)
Using React-RCTSettings (0.61.5)
Using React-RCTText (0.61.5)
Using React-RCTVibration (0.61.5)
Using React-cxxreact (0.61.5)
Using React-jsi (0.61.5)
Using React-jsiexecutor (0.61.5)
Using React-jsinspector (0.61.5)
Using ReactCommon (0.61.5)
Using Yoga (1.14.0)
Using boost-for-react-native (1.63.0)
Using glog (0.3.5)
Installing react-native-my-fancy-library (1.0.0)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 29 dependencies from the Podfile and 27 total pods installed.
$ cd ..
$ npx react-native run-ios
info Found Xcode workspace "AwesomeProject.xcworkspace"
info Building (using "xcodebuild -workspace AwesomeProject.xcworkspace -configuration Debug -scheme AwesomeProject -destination id=A6E1AC4D-539F-424F-9758-3DA70F9A2B20 -derivedDataPath build/AwesomeProject")
▸ Compiling fast-dtoa.cc
▸ Compiling double-conversion.cc
▸ Compiling fixed-dtoa.cc
▸ Compiling strtod.cc
▸ Compiling diy-fp.cc
▸ Compiling cached-powers.cc
▸ Compiling bignum.cc
▸ Compiling bignum-dtoa.cc
▸ Compiling DoubleConversion-dummy.m
▸ Building library libDoubleConversion.a
▸ Compiling vlog_is_on.cc
▸ Compiling symbolize.cc
▸ Compiling utilities.cc
▸ Compiling signalhandler.cc
▸ Compiling raw_logging.cc
▸ Compiling logging.cc
▸ Compiling glog-dummy.m
▸ Compiling demangle.cc
▸ Building library libglog.a
▸ Compiling json_pointer.cpp
▸ Compiling json.cpp
▸ Compiling dynamic.cpp
▸ Compiling Unicode.cpp
▸ Compiling String.cpp
▸ Compiling SpookyHashV2.cpp
▸ Compiling ScopeGuard.cpp
▸ Compiling MallocImpl.cpp
▸ Compiling Format.cpp
▸ Compiling Folly-dummy.m
▸ Compiling F14Table.cpp
▸ Compiling Demangle.cpp
▸ Compiling Demangle.cpp
▸ Compiling Conv.cpp
▸ Compiling ColdClass.cpp
▸ Compiling Assume.cpp
▸ Building library libFolly.a
▸ Compiling InspectorInterfaces.cpp
▸ Compiling React-jsinspector-dummy.m
▸ Building library libReact-jsinspector.a
▸ Compiling React-cxxreact-dummy.m
▸ Compiling RAMBundleRegistry.cpp
▸ Compiling ReactMarker.cpp
▸ Compiling NativeToJsBridge.cpp
▸ Compiling ModuleRegistry.cpp
▸ Compiling MethodCall.cpp
▸ Compiling JSIndexedRAMBundle.cpp
▸ Compiling JSExecutor.cpp
▸ Compiling JSDeltaBundleClient.cpp
⚠️ //testapp/AwesomeProject/node_modules/react-native/ReactCommon/cxxreact/JSDeltaBundleClient.cpp:30:29: loop variable 'pair' of type 'const folly::dynamic' creates a copy from type 'const folly::dynamic' [-Wrange-loop-analysis]
for (const folly::dynamic pair : *modules) {
^
⚠️ //testapp/AwesomeProject/node_modules/react-native/ReactCommon/cxxreact/JSDeltaBundleClient.cpp:55:33: loop variable 'id' of type 'const folly::dynamic' creates a copy from type 'const folly::dynamic' [-Wrange-loop-analysis]
for (const folly::dynamic id : *deleted) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
▸ Compiling JSBundleType.cpp
▸ Compiling JSBigString.cpp
▸ Compiling Instance.cpp
▸ Compiling CxxNativeModule.cpp
▸ Building library libReact-cxxreact.a
▸ Compiling jsilib-windows.cpp
▸ Compiling jsi.cpp
▸ Compiling jsilib-posix.cpp
▸ Compiling React-jsi-dummy.m
▸ Compiling JSIDynamic.cpp
▸ Compiling JSCRuntime.cpp
▸ Building library libReact-jsi.a
▸ Compiling JSINativeModules.cpp
▸ Compiling JSIExecutor.cpp
▸ Compiling React-jsiexecutor-dummy.m
▸ Building library libReact-jsiexecutor.a
▸ Compiling log.cpp
▸ Compiling experiments.cpp
▸ Compiling event.cpp
▸ Compiling Yoga.cpp
▸ Compiling Yoga-dummy.m
▸ Compiling YGValue.cpp
▸ Compiling YGStyle.cpp
▸ Compiling YGNodePrint.cpp
▸ Compiling YGNode.cpp
▸ Compiling YGLayout.cpp
▸ Compiling YGEnums.cpp
▸ Compiling YGConfig.cpp
▸ Compiling Utils.cpp
▸ Building library libYoga.a
▸ Compiling RCTWrapperViewController.m
▸ Compiling React-Core-dummy.m
▸ Compiling UIView+React.m
▸ Compiling RCTWebSocketModule.m
▸ Compiling RCTWebSocketExecutor.m
▸ Compiling RCTWeakProxy.m
▸ Compiling RCTViewManager.m
▸ Compiling RCTView.m
▸ Compiling RCTVersion.m
▸ Compiling RCTUtils.m
▸ Compiling RCTUIUtils.m
▸ Compiling RCTUIManagerUtils.m
▸ Compiling RCTUIManagerObserverCoordinator.mm
▸ Compiling RCTUIManager.m
▸ Compiling RCTTouchHandler.m
▸ Compiling RCTTouchEvent.m
▸ Compiling RCTTiming.m
▸ Compiling RCTSwitchManager.m
▸ Compiling RCTSwitch.m
▸ Compiling RCTSurfaceView.mm
▸ Compiling RCTSurfaceStage.m
▸ Compiling RCTSurfaceSizeMeasureMode.mm
▸ Compiling RCTSurfaceRootView.mm
▸ Compiling RCTSurfaceRootShadowView.m
▸ Compiling RCTSurfacePresenterStub.m
▸ Compiling RCTSurfaceHostingView.mm
▸ Compiling RCTSurfaceHostingProxyRootView.mm
▸ Compiling RCTSurface.mm
▸ Compiling RCTStatusBarManager.m
▸ Compiling RCTSourceCode.m
▸ Compiling RCTSliderManager.m
▸ Compiling RCTSlider.m
▸ Compiling RCTShadowView.m
▸ Compiling RCTShadowView+Layout.m
▸ Compiling RCTShadowView+Internal.m
▸ Compiling RCTSegmentedControlManager.m
▸ Compiling RCTSegmentedControl.m
▸ Compiling RCTScrollViewManager.m
▸ Compiling RCTScrollView.m
▸ Compiling RCTScrollContentViewManager.m
▸ Compiling RCTScrollContentView.m
▸ Compiling RCTScrollContentShadowView.m
▸ Compiling RCTSafeAreaViewManager.m
▸ Compiling RCTSafeAreaViewLocalData.m
▸ Compiling RCTSafeAreaView.m
▸ Compiling RCTSafeAreaShadowView.m
▸ Compiling RCTSRWebSocket.m
▸ Compiling RCTRootView.m
▸ Compiling RCTRootShadowView.m
▸ Compiling RCTRootContentView.m
▸ Compiling RCTReloadCommand.m
▸ Compiling RCTRefreshControlManager.m
▸ Compiling RCTRefreshControl.m
▸ Compiling RCTRedBoxExtraDataViewController.m
▸ Compiling RCTRedBox.m
▸ Compiling RCTReconnectingWebSocket.m
▸ Compiling RCTProgressViewManager.m
▸ Compiling RCTProfile.m
▸ Compiling RCTPickerManager.m
▸ Compiling RCTPicker.m
▸ Compiling RCTPerformanceLogger.m
▸ Compiling RCTPerfMonitor.m
▸ Compiling RCTParserUtils.m
▸ Compiling RCTPackagerConnection.mm
▸ Compiling RCTPackagerClient.m
▸ Compiling RCTObjcExecutor.mm
▸ Compiling RCTNativeModule.mm
▸ Compiling RCTMultipartStreamReader.m
▸ Compiling RCTMultipartDataTask.m
▸ Compiling RCTModuleMethod.mm
▸ Compiling RCTModuleData.mm
▸ Compiling RCTModalManager.m
▸ Compiling RCTModalHostViewManager.m
▸ Compiling RCTModalHostViewController.m
▸ Compiling RCTModalHostView.m
▸ Compiling RCTMessageThread.mm
▸ Compiling RCTMaskedViewManager.m
▸ Compiling RCTMaskedView.m
▸ Compiling RCTManagedPointer.mm
▸ Compiling RCTLog.mm
▸ Compiling RCTLayoutAnimationGroup.m
▸ Compiling RCTLayoutAnimation.m
▸ Compiling RCTLayout.m
▸ Compiling RCTKeyboardObserver.m
▸ Compiling RCTKeyCommands.m
▸ Compiling RCTJavaScriptLoader.mm
▸ Compiling RCTJSStackFrame.m
▸ Compiling RCTInspectorPackagerConnection.m
▸ Compiling RCTInspectorDevServerHelper.mm
▸ Compiling RCTInspector.mm
▸ Compiling RCTImageSource.m
▸ Compiling RCTI18nUtil.m
▸ Compiling RCTI18nManager.m
▸ Compiling RCTFrameUpdate.m
▸ Compiling RCTFont.mm
▸ Compiling RCTFollyConvert.mm
▸ Compiling RCTFPSGraph.m
▸ Compiling RCTEventEmitter.m
▸ Compiling RCTEventDispatcher.m
▸ Compiling RCTErrorInfo.m
▸ Compiling RCTDisplayLink.m
▸ Compiling RCTDeviceInfo.m
▸ Compiling RCTDevSettings.mm
▸ Compiling RCTDevMenu.m
▸ Compiling RCTDevLoadingView.m
▸ Compiling RCTDatePickerManager.m
▸ Compiling RCTDatePicker.m
▸ Compiling RCTCxxUtils.mm
▸ Compiling RCTCxxModule.mm
▸ Compiling RCTCxxMethod.mm
▸ Compiling RCTCxxConvert.m
▸ Compiling RCTCxxBridge.mm
▸ Compiling RCTConvert.m
⚠️ //testapp/AwesomeProject/node_modules/react-native/React/Base/RCTConvert.m:358:34: 'UIKeyboardTypeASCIICapableNumberPad' is only available on iOS 10.0 or newer [-Wunguarded-availability]
@"ascii-capable-number-pad": @(UIKeyboardTypeASCIICapableNumberPad),
^~~~~~~~~~~~~~~~~~~~~~~~~
▸ Compiling RCTConvert+Transform.m
▸ Compiling RCTConvert+CoreLocation.m
▸ Compiling RCTComponentEvent.m
▸ Compiling RCTComponentData.m
▸ Compiling RCTClipboard.m
▸ Compiling RCTBundleURLProvider.m
▸ Compiling RCTBridge.m
▸ Compiling RCTBorderDrawing.m
▸ Compiling RCTAsyncLocalStorage.m
▸ Compiling RCTAssert.m
▸ Compiling RCTAppState.m
▸ Compiling RCTAlertManager.m
▸ Compiling RCTActivityIndicatorViewManager.m
▸ Compiling RCTActivityIndicatorView.m
▸ Compiling RCTAccessibilityManager.m
▸ Compiling NSDataBigString.mm
▸ Compiling JSCExecutorFactory.mm
▸ Building library libReact-Core.a
▸ Compiling RCTTypedModuleConstants.mm
▸ Compiling RCTTypeSafety-dummy.m
▸ Compiling RCTConvertHelpers.mm
▸ Building library libRCTTypeSafety.a
▸ Compiling TurboModuleUtils.cpp
▸ Compiling TurboModuleBinding.cpp
▸ Compiling TurboModule.cpp
▸ Compiling TurboCxxModule.cpp
▸ Compiling ReactCommon-dummy.m
▸ Compiling RCTTurboModuleManager.mm
▸ Compiling RCTTurboModule.mm
▸ Compiling LongLivedObject.cpp
▸ Compiling BridgeJSCallInvoker.cpp
▸ Building library libReactCommon.a
▸ Compiling FBReactNativeSpec-dummy.m
▸ Compiling FBReactNativeSpec-generated.mm
▸ Building library libFBReactNativeSpec.a
▸ Compiling React-RCTActionSheet-dummy.m
▸ Compiling RCTActionSheetManager.m
▸ Building library libReact-RCTActionSheet.a
▸ Compiling RCTTransformAnimatedNode.m
▸ Compiling React-RCTAnimation-dummy.m
▸ Compiling RCTValueAnimatedNode.m
▸ Compiling RCTTrackingAnimatedNode.m
▸ Compiling RCTSubtractionAnimatedNode.m
▸ Compiling RCTStyleAnimatedNode.m
▸ Compiling RCTSpringAnimation.m
▸ Compiling RCTPropsAnimatedNode.m
▸ Compiling RCTNativeAnimatedNodesManager.m
▸ Compiling RCTNativeAnimatedModule.m
▸ Compiling RCTMultiplicationAnimatedNode.m
▸ Compiling RCTModuloAnimatedNode.m
▸ Compiling RCTInterpolationAnimatedNode.m
▸ Compiling RCTFrameAnimation.m
▸ Compiling RCTEventAnimation.m
▸ Compiling RCTDivisionAnimatedNode.m
▸ Compiling RCTDiffClampAnimatedNode.m
▸ Compiling RCTDecayAnimation.m
▸ Compiling RCTAnimationUtils.m
▸ Compiling RCTAnimatedNode.m
▸ Compiling RCTAdditionAnimatedNode.m
▸ Building library libReact-RCTAnimation.a
▸ Compiling React-RCTNetwork-dummy.m
▸ Compiling RCTNetworkTask.m
▸ Compiling RCTNetworking.mm
▸ Compiling RCTNetInfo.m
▸ Compiling RCTHTTPRequestHandler.mm
▸ Compiling RCTFileRequestHandler.m
▸ Compiling RCTDataRequestHandler.m
▸ Building library libReact-RCTNetwork.a
▸ Compiling RCTFileReaderModule.m
▸ Compiling React-RCTBlob-dummy.m
▸ Compiling RCTBlobCollector.mm
▸ Compiling RCTBlobManager.mm
▸ Building library libReact-RCTBlob.a
▸ Compiling RCTResizeMode.m
▸ Compiling React-RCTImage-dummy.m
▸ Compiling RCTUIImageViewAnimated.m
▸ Compiling RCTLocalAssetImageLoader.m
▸ Compiling RCTImageViewManager.m
▸ Compiling RCTImageView.m
▸ Compiling RCTImageUtils.m
▸ Compiling RCTImageShadowView.m
▸ Compiling RCTImageCache.m
▸ Compiling RCTImageBlurUtils.m
▸ Compiling RCTGIFImageDecoder.m
▸ Compiling RCTAnimatedImage.m
▸ Building library libReact-RCTImage.a
▸ Compiling React-RCTLinking-dummy.m
▸ Compiling RCTLinkingManager.m
▸ Building library libReact-RCTLinking.a
▸ Compiling RCTSettingsManager.m
▸ Compiling React-RCTSettings-dummy.m
▸ Building library libReact-RCTSettings.a
▸ Compiling RCTUITextView.m
▸ Compiling RCTVirtualTextShadowView.m
▸ Compiling RCTVirtualTextViewManager.m
▸ Compiling React-RCTText-dummy.m
▸ Compiling RCTUITextField.m
▸ Compiling RCTTextViewManager.m
▸ Compiling RCTTextView.m
▸ Compiling RCTTextShadowView.m
▸ Compiling RCTTextSelection.m
▸ Compiling RCTTextAttributes.m
▸ Compiling RCTSinglelineTextInputViewManager.m
▸ Compiling RCTSinglelineTextInputView.m
▸ Compiling RCTRawTextViewManager.m
▸ Compiling RCTRawTextShadowView.m
▸ Compiling RCTMultilineTextInputViewManager.m
▸ Compiling RCTInputAccessoryViewManager.m
▸ Compiling RCTMultilineTextInputView.m
▸ Compiling RCTInputAccessoryViewContent.m
▸ Compiling RCTInputAccessoryView.m
▸ Compiling RCTInputAccessoryShadowView.m
▸ Compiling RCTConvert+Text.m
▸ Compiling RCTBaseTextViewManager.m
▸ Compiling RCTBaseTextShadowView.m
▸ Compiling RCTBaseTextInputViewManager.m
▸ Compiling RCTBaseTextInputView.m
⚠️ //testapp/AwesomeProject/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.m:589:23: 'UIKeyboardTypeASCIICapableNumberPad' is only available on iOS 10.0 or newer [-Wunguarded-availability]
keyboardType == UIKeyboardTypeASCIICapableNumberPad
^~~~~~
▸ Compiling RCTBaseTextInputShadowView.m
▸ Compiling RCTBackedTextInputDelegateAdapter.m
▸ Compiling NSTextStorage+FontScaling.m
▸ Building library libReact-RCTText.a
▸ Compiling RCTVibration.m
▸ Compiling React-RCTVibration-dummy.m
▸ Building library libReact-RCTVibration.a
▸ Compiling RCTImageStoreManager.m
▸ Compiling RCTPlatform.mm
▸ Compiling React-CoreModules-dummy.m
▸ Compiling RCTImageLoader.mm
▸ Compiling RCTImageEditingManager.m
▸ Compiling RCTExceptionsManager.mm
▸ Compiling CoreModulesPlugins.mm
▸ Building library libReact-CoreModules.a
▸ Compiling MyFancyLibrary.m
▸ Compiling react-native-my-fancy-library-dummy.m
▸ Building library libreact-native-my-fancy-library.a
▸ Compiling Pods-AwesomeProject-dummy.m
▸ Building library libPods-AwesomeProject.a
▸ Running script '[CP] Check Pods Manifest.lock'
▸ Running script 'Start Packager'
▸ Compiling main.m
▸ Compiling AppDelegate.m
▸ Compiling AwesomeProject_vers.c
▸ Linking AwesomeProject
▸ Compiling LaunchScreen.xib
▸ Processing Info.plist
▸ Running script 'Bundle React Native code and images'
▸ Generating 'AwesomeProject.app.dSYM'
▸ Touching AwesomeProject.app (in target 'AwesomeProject' from project 'AwesomeProject')
▸ Compiling Pods-AwesomeProjectTests-dummy.m
▸ Building library libPods-AwesomeProjectTests.a
▸ Processing Info.plist
▸ Running script '[CP] Check Pods Manifest.lock'
▸ Compiling AwesomeProjectTests.m
▸ Linking AwesomeProjectTests
▸ Generating 'AwesomeProjectTests.xctest.dSYM'
▸ Copying //Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib/libXCTestBundleInject.dylib
▸ Copying //Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib/libXCTestSwiftSupport.dylib
▸ Copying //Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework
▸ Copying //Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework
▸ Touching AwesomeProjectTests.xctest (in target 'AwesomeProjectTests' from project 'AwesomeProject')
▸ Build Succeeded
info Installing "build/AwesomeProject/Build/Products/Debug-iphonesimulator/AwesomeProject.app"
info Launching "org.reactjs.native.example.AwesomeProject"
success Successfully launched the app on the simulator