Flipper
连接模拟器,提示证书错误 …
|
Flipper
连接模拟器,提示证书错误 …
|
|
react-native pod install 失败问题汇总
0.76.3
报错 …这个具体的报错信息没给,参考
https://github.com/facebook/react-native/issues/34189
Debugging this issue on my M1 mac, I discovered that I had
never set my git config to use the correct line endings for *nix on macOS.UPDATE: I had actually forgotten to unset them after working with a repo with Windows line endings. This means they were set togit config --global core.autocrlf true
which is the setting for windows.
This is the correct setting for linux/mac.
|
You can also unset
them and use the default which is false
|
After this, you will need to normalize all the line endings in the project (unless you want to re-clone).
https://stackoverflow.com/a/13154031
After you have done the configuration, you might want git to normalize all the files in the repo. To do this, go to to the root of your repo and run these commands:
|
If you now want git to also normalize the files in your working directory, run these commands:
|
There are some .bat
files for windows that you will not want to change, so discard those.
Once you have done these steps, you shouldn’t need any of the custom workarounds in this thread.
Originally posted by @shwanton in https://github.com/facebook/react-native/issues/34189#issuecomment-1502532287
https://blog.logrocket.com/adding-custom-fonts-react-native/
react-native.config.js
|
XCode
真的是越来越恶心了,升级macOS
就必须升级Xcode
,旧版本下载下来就没法运行。现在Xcode
和Simruntime
还是分开的,下载了无数次都是失败,这个月的流量都给我干了100GB
了 …
还有个更蛋疼的就是新版本的模拟器巨卡,据说是新版本的模拟器依靠个什么硬件,必须换Mac
才能搞定,哎 …
iOS
安装lottie
报错:
|
新项目执行pod install
报错 …
xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance
|