错误
Xcode11找不到Application Loader解决方式
上传卡在 authentication with app store
针对xcode11的解决方案如下:
- 打开Finder,前往如下文件夹~/Library/Caches/com.apple.amp.itmstransporter/
- 删除该文件夹内的所有文件
- 打开终端,在终端输入:
/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/bin/iTMSTransporter
# 或者
/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter
耐心等待该进程执行完毕后,会发现文件夹内会下载大概65M左右的内容
这时重启Xcode,即可上传ipa文件到AppStore
CordovaError: Promise rejected with non-error: "xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance\n"
由于 xcodebuild 的路径不正确,解决方案:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/
Missing Purpose String in Info.plist
原文:https://www.jianshu.com/p/f4b48c6f57a8
这是因为在app中使用到关于相机/相册/定位等功能,我们要告他们一下下
全局搜索 info.plist
文件,一般为 "app名-info.plist"
常见的(注意根据需要选择)
<!-- 相册 -->
<key>NSPhotoLibraryUsageDescription