react-native入門できなかった

インストールまではいいんだけどどうしてもreact-native runがうまくいかない

本に書いてあったとおりにinitして、runこんな感じでやっていった

$ react-native init --version="0.54.2" NewProject

$ cd NewProject
$react-native run-ios

エラーしちゃう

Installing build/Build/Products/Debug-iphonesimulator/NewProject.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/NewProject.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

だいたい試してみたけどダメだった。xcodeちょっと古いからかなーって思うけどそもそもMacOSがまだMojaveでないので最新のxcodeインストールできなかったと気づいて、ここで心折れた。。

それ以前にiosシミュレーター起動しなくてこれらも対処してた。

というかやっぱもうMacが限界なんだよなあ古すぎて。買いたいけどお金ないし困る・・