多多色-多人伦交性欧美在线观看-多人伦精品一区二区三区视频-多色视频-免费黄色视屏网站-免费黄色在线

國內最全IT社區平臺 聯系我們 | 收藏本站
阿里云優惠2
您當前位置:首頁 > php開源 > 綜合技術 > 新 Xcode8打包發布應用

新 Xcode8打包發布應用

來源:程序員人生   發布時間:2016-09-27 09:02:21 閱讀次數:3534次

Xcode8 面世啦,升級以后要打包并上傳未完的項目,

但是每次提交以后都是無效版本,這是甚么情況呢。。。

登上QQ郵箱去看下有甚么消息,果然蘋果發來了郵件,

里面提到了

We have discovered one or more issues with your recent delivery for "xxxxx". To process your delivery, the following issues must be corrected:

Non-public API usage:

  • The app references non-public symbols in ComeToMe: _UICreateCGImageFromIOSurface.........
  • Missing Push Notification Entitlement - Your app includes an API for Apple's Push Notification service, but the aps-environment entitlement is missing from the app's signature.......

甚么意思呢,第1個是說app里面用私有API UICreateCGImageFromIOSurface了,

好嘛,想起來我app里面用了reveal ,刪掉;

然后第2個問題說丟失了推送的“Entitlement”,這個是甚么鬼呢,Xcode8有個新的改變,就是你在capabilities里面開通相應的功能時 bundle里面多出1個后綴為‘Entitlement’的文件,那末,怎樣解決這個問題呢,在證書配置都正確的條件下,把有問題的功能關閉重新打開就好了。

好了問題解決了,打包上傳。。。。

可是這次又是無效版本,我去,再去郵箱看看,額這回又來個郵件:

We have discovered one or more issues with your recent delivery for "xxxxxxxx". To process your delivery, the following issues must be corrected:

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSBluetoothPeripheralUsageDescription key with a string value explaining to the user how the app uses this data.

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

Once these issues have been corrected, you can then redeliver the corrected binary.

甚么意思呢,還記得,在Xcode7剛出世的1個改動嘛,就是必須在infoplist文件里面加幾個屬性,關于定位的NSLocationWhenInUseUsageDescription NSLocationAlwaysUsageDescription,這回也是這個意思,就是說你得在plist文件里面加上NSPhotoLibraryUsageDescription(相冊),NSBluetoothPeripheralUsageDescription(藍牙),NSMicrophoneUsageDescription(麥克風),NSCameraUsageDescription(攝像頭)的描寫,具體value(字符竄)你寫甚么,就看你自己的了。

改完以后,打包上傳,成功!


生活不易,碼農辛苦
如果您覺得本網站對您的學習有所幫助,可以手機掃描二維碼進行捐贈
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關閉
程序員人生
主站蜘蛛池模板: 色阁在线 | 福利视频99| a级网站 | www免费视频 | 色阁在线 | 成人欧美一区二区三区视频不卡 | 日韩天天摸天天澡天天爽视频 | 一二三四日本手机高清视频 | xxx性xxx| 亚洲天堂影院在线观看 | 久久精品成人 | 图片小说亚洲 | 日本亚洲网站 | 欧美成人综合在线观看视频 | 视频一区二区三区在线观看 | 中国做爰国产精品视频 | 日韩亚洲欧美综合 | 欧美一级爆毛片 | 亚洲成aⅴ人在线观看 | 交在线观看网站视频 | 日韩欧美天堂 | 国产精品入口麻豆免费 | 天堂在线xw | 欧美日韩亚洲精品一区二区三区 | 成 人 免费 网站 | 日韩一级片免费 | 国产1区2区 | 老司机午夜免费视频 | 日本一区二区三区在线 视频 | 另类图片另类小说 | 国产精品jizz在线观看软件 | 日韩一区在线视频 | 中文字幕免费观看 | 欧洲午夜视频 | 久久精品久 | 欧美成人免费网在线观看 | 国产精品99久久久久久夜夜嗨 | 欧美日韩在线一区二区三区 | 成人6969www色 | 性色aⅴ在线观看swag | 视频三区|