Uninote
Uninote
用户根目录
brdr
common
programming
docs
后端试题
问题讨论

SDK "iphoneos" cannot be located https://www.cnblogs.com/zzugyl/p/5438869.html

sudo xcode-select --switch /Users/cyb/Desktop/Xcode.app

install node

npm config set registry https://registry.npm.taobao.org

sudo npm install -g react-native-cli yarn

clone client code:

git clone http://git.xunwunet.com/collin/dajx_client.git

确认分支 cd dajx_client

yarn

CocoaPods的安装与使用 https://www.jianshu.com/p/c19df91997fd 启动 ss 复制终端代理命令,在 term 中粘贴 sudo gem install cocoapods

cd ios
pod install
mkdir bundle
cd ..
# 每次修改了js代码,都要执行这里才生效:
react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ./ios/bundle/index.ios.jsbundle --assets-dest ./ios/bundle

# open xcode
# menu > file > open > 选择 ios 文件夹

取消 test 的编译 archive

ipa 打包

修改类型 Product > archive window > oganizer

axure

mac

点赞(0) 阅读(12) 举报
目录
标题