日本搞逼视频_黄色一级片免费在线观看_色99久久_性明星video另类hd_欧美77_综合在线视频

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

新 Xcode8打包發布應用

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

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(字符竄)你寫甚么,就看你自己的了。

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


生活不易,碼農辛苦
如果您覺得本網站對您的學習有所幫助,可以手機掃描二維碼進行捐贈
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關閉
程序員人生
主站蜘蛛池模板: 国产日韩av在线播放 | jizz久久| 最近免费观看电影大全在线观看 | 欧美日韩伊人 | 欧美一二三四 | 精品久久久久久亚洲精品 | 精品久久久免费 | 伦一理一级一a一片 | 国产午夜精品一区二区 | 精品国产一区二区三区久久影院 | 成人毛片视频在线观看 | 999视频在线观看 | 免费放黄网站在线播放 | 国产精品久久久久久久久久 | 91嫩草精品| 欧洲天堂网 | 久久久久一区二区三区 | 中文字幕一区二区av | 成人在线视频一区 | 国产伦精品一区二区三区免费 | 国产精品一区二区视频 | 国产精品成人一区 | 久久日av| 国产区在线 | 国产久 | 免费人成在线观看网站 | 午夜av免费在线观看 | 成人黄色免费网址 | 国产精品欧美一区二区三区不卡 | 成人伊人网 | 男插女网站 | 黄色免费在线播放 | 亚洲成a | 国产小视频在线播放 | 国产免费专区 | 亚洲首页| 九九九九九九精品 | 久久99网| 91精品福利 | 美女网站视频在线观看 | 免费av黄色片 |