Я просто пытался строить образец проекта для React-Native, и я получаю следующее сообщение об ошибке:Реагировать Native не может построить образец проекта (XCode 8.1/Sierra)
The following build commands failed:
Libtool /Users/computerName/project/react-native/AwesomeProject/ios/build/Build/Products/Debug-iphonesimulator/libRCTSettings.a normal x86_64
Libtool /Users/computerName/project/react-native/AwesomeProject/ios/build/Build/Products/Debug-iphonesimulator/libRCTVibration.a normal x86_64
Libtool /Users/computerName/project/react-native/AwesomeProject/ios/build/Build/Products/Debug-iphonesimulator/libRCTLinking.a normal x86_64
(3 failures)
Installing build/Build/Products/Debug-iphonesimulator/AwesomeProject.app
No devices are booted.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/AwesomeProject.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Я попытался удалить node_modules
и сделать переустановку.
Я бегу следующие срабатываю и срабатывает чужеродную-версию
"react": "15.3.2",
"react-native": "0.36.0"
Я также убил все процессы, которые были запущены на localhost:8081
Edit: Я получил это работает, загрузив старую Ios 8.1 имитатора и установить его вручную в Xcode:
он был установлен в $ (PRODUCT_BUNDLE_IDENTIFIER) – redconservatory