zoukankan      html  css  js  c++  java
  • xcode8 上传ipa文件无法构建版本

    在xcode8 升级后上传ipa文件 需要设置一个安全提示,现在上传app store的方式为xcode或者 application loader

    一、xcode

    准备工作完成后点击Product----->Archive------>upload to App store

    二、application loader

    程序完成后,1、先清空products下的.app文件 ,使其为红色状态

          2、选择真机测试,同时点击command+b 此时已经生成.app文件包,

          3、可通过直接拖进itunes里生成ipa文件

          4、拖到桌面上,通过application loader 选取ipa文件,上传。

    提示:在xcode8 ,不要根据application loader提示已经上传成功就以为成功了,如果在itunes中查看无法构建版本则需要去邮箱看一下苹果给的邮件提醒,

    必须要对App做好新特性–隐私 的适配,就是在plist.info文件中 添加如下 权限设置 和 提示文本文字

    <key>NSAppleMusicUsageDescription</key>

    <string>App需要您的同意,才能访问媒体资料库</string>

    <key>NSBluetoothPeripheralUsageDescription</key>

    <string>App需要您的同意,才能访问蓝牙</string>

    <key>NSCalendarsUsageDescription</key>

    <string>App需要您的同意,才能访问日历</string>

    <key>NSCameraUsageDescription</key>

    <string>App需要您的同意,才能访问相机</string>

    <key>NSHealthShareUsageDescription</key>

    <string>App需要您的同意,才能访问健康分享</string>

    <key>NSHealthUpdateUsageDescription</key>

    <string>App需要您的同意,才能访问健康更新 </string>

    <key>NSLocationAlwaysUsageDescription</key>

    <string>App需要您的同意,才能始终访问位置</string>

    <key>NSLocationUsageDescription</key>

    <string>App需要您的同意,才能访问位置</string>

    <key>NSLocationWhenInUseUsageDescription</key>

    <string>App需要您的同意,才能在使用期间访问位置</string>

    <key>NSMicrophoneUsageDescription</key>

    <string>App需要您的同意,才能访问麦克风</string>

    <key>NSMotionUsageDescription</key>

    <string>App需要您的同意,才能访问运动与健身</string>

    <key>NSPhotoLibraryUsageDescription</key>

    <string>App需要您的同意,才能访问相册</string>

    <key>NSRemindersUsageDescription</key>

    <string>App需要您的同意,才能访问提醒事项</string>

    添加成功后再打包上传就可以了

    工作小记,欢迎共享
  • 相关阅读:
    Codeforces467C George and Job
    Codeforces205E Little Elephant and Furik and RubikLittle Elephant and Furik and Rubik
    Codeforce205C Little Elephant and Interval
    51nod1829 函数
    51nod1574 排列转换
    nowcoder35B 小AA的数列
    Codeforce893E Counting Arrays
    gym101612 Consonant Fencity
    CodeForces559C Gerald and Giant Chess
    CodeForces456D A Lot of Games
  • 原文地址:https://www.cnblogs.com/fannyLi/p/5944912.html
Copyright © 2011-2022 走看看