Fastlane Error: Invalid UTF-8 continuation byte
whck6
啟動 Hermes 後遇到錯誤。
.../Release-iphoneos/main.jsbundle:1:1: Invalid UTF-8 continuation byte關閉 ram-bundle 功能即可解決!
export BUNDLE_COMMAND="ram-bundle" // delete this
export NODE_BINARY=node
../node_modules/react-native/scripts/react-native-xcode.sh官方中有說明:
If you are using Hermes JS Engine, you should not have RAM bundles feature enabled. In Hermes, when loading the bytecode, mmap ensures that the entire file is not loaded. Using Hermes with RAM bundles might lead to issues, because those mechanisms are not compatible with each other.