I bought the mac to be able to develop every platform. Because you cannot do iOS on windows or linux, or it's problematic. It turns out Apple with it market share forced me to have one.
Anyway I am having fun with react native recently and I had some trouble with installing it I want to sum up in this post. The issues causes that, after running react example in Xcode emulator the ract-native server gives me some errors and emulator shows red blank screen.
There are exactly two issues I run into.
sudo launchctl limit maxfiles 64000 64000
and create file to work after restart by typing :
sudo vi /etc/launchd.conf
and then finally put there formula
limit maxfiles 64000 64000
and that was it.
I had old version of node something like 10.x and was facing this error :
const babel = require('babel-core');
SyntaxError: Use of const in strict mode.
The command is :
brew updatebrew upgrade node
So far so good and I am impressed by react native. Looking forward into it's evolution.