我试图直接从终端运行发布版本,但我没有找到这样做的选项.
在XCode中,需要做的是:
Product -> Scheme -> Edit Scheme (cmd + <), make sure you're in the Run tab from the side, and set the Build Configuration dropdown to release.
react-native-cli
人中有没有同样的 Select ?大概react-native run-ios -configuration Release
?
我的目标是生成一个不需要正在运行的服务器提供给QA团队的构建.