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>

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

    工作小记,欢迎共享
  • 相关阅读:
    Unity 3(一):简介与示例
    MongoDB以Windows Service运行
    动态SQL中变量赋值
    网站发布IIS后堆栈追踪无法获取出错的行号
    GridView Postback后出错Operation is not valid due to the current state of the object.
    Visual Studio 2010 SP1 在线安装后,找到缓存在本地的临时文件以便下次离线安装
    SQL Server 问题之 排序规则(collation)冲突
    IIS 问题集锦
    linux下安装mysql(ubuntu0.16.04.1)
    apt-get update 系列作用
  • 原文地址:https://www.cnblogs.com/fannyLi/p/5944912.html
Copyright © 2011-2022 走看看