美文网首页iOS学习开发IOS
第一次上架Appstore所遇到的坑

第一次上架Appstore所遇到的坑

作者: molangwu | 来源:发表于2017-10-07 17:06 被阅读0次

    前言

    由于最近上架了一个app,期间被拒了三次,所以总结一下经验。

    App审计问题

    • 问题:提交ipa文件之后,一般10分钟左右,Itunes Connect的构建版本里面会有我们上传的ipa,如果没有出现我们上传的ipa。
    • 原因:iOS10 之后,苹果加强了用户的隐私保护,在用到本地权限配置的地方,需要添加相应的权限和描述
    • 解决办法:根据自己的App在info.plist —Source Code中添加
      UsageDescription相关的key, 描述字符串自己随意填写就可以,但是一定要填写,不然会引发包无效的问题,导致上传打包后构建版本一直不显示。
    <!-- 相册 --> 
    <key>NSPhotoLibraryUsageDescription</key> 
    <string>App需要您的同意,才能访问相册</string> 
    <!-- 相机 --> 
    <key>NSCameraUsageDescription</key> 
    <string>App需要您的同意,才能访问相机</string> 
    <!-- 麦克风 --> 
    <key>NSMicrophoneUsageDescription</key> 
    <string>App需要您的同意,才能访问麦克风</string> 
    <!-- 位置 --> 
    <key>NSLocationUsageDescription</key> 
    <string>App需要您的同意,才能访问位置</string> 
    <!-- 在使用期间访问位置 --> 
    <key>NSLocationWhenInUseUsageDescription</key> 
    <string>App需要您的同意,才能在使用期间访问位置</string> 
    <!-- 始终访问位置 --> 
    <key>NSLocationAlwaysUsageDescription</key> 
    <string>App需要您的同意,才能始终访问位置</string> 
    <!-- 日历 --> 
    <key>NSCalendarsUsageDescription</key> 
    <string>App需要您的同意,才能访问日历</string> 
    <!-- 提醒事项 --> 
    <key>NSRemindersUsageDescription</key> 
    <string>App需要您的同意,才能访问提醒事项</string> 
    <!-- 运动与健身 --> 
    <key>NSMotionUsageDescription</key> <string>App需要您的同意,才能访问运动与健身</string> 
    <!-- 健康更新 --> 
    <key>NSHealthUpdateUsageDescription</key> 
    <string>App需要您的同意,才能访问健康更新 </string> 
    <!-- 健康分享 --> 
    <key>NSHealthShareUsageDescription</key> 
    <string>App需要您的同意,才能访问健康分享</string> 
    <!-- 蓝牙 --> 
    <key>NSBluetoothPeripheralUsageDescription</key> 
    <string>App需要您的同意,才能访问蓝牙</string> 
    <!-- 媒体资料库 --> 
    <key>NSAppleMusicUsageDescription</key> 
    <string>App需要您的同意,才能访问媒体资料库</string>
    

    APP审核问题

    问题1
    Guideline 4.2.1 - Design - Minimum Functionality
    
    
    Your app has the UIFileSharingEnabled key set to true in the Info.plist, but the Documents folder includes files and folders not intended for file sharing.
    
    Next Steps
    
    To resolve this issue, please move all files that are not intended for user access via the file sharing feature to another part of your app's sandbox. When file sharing is enabled, the entire Documents folder is used for file sharing.
    
    解决办法

    因为app不需要文件共享,因此把info.plist里面的UIFileSharingEnabled 改成false,即禁止文件共享,就可以

    问题2
    Guideline 4.0 - Design
    
    
    Your app includes an update button or alerts the user to update the app, but the update button or alert does not link directly to the app’s page on the App Store.
    
    Specifically, the 当前版本 line/tab is responsive to tap. Users would confuse this with the version update mechanism. 
    
    Please see attached screenshots for details.
    
    Next Steps
    
    To resolve this issue, please ensure that tapping the update button takes the user directly to the app’s page on the App Store to update the app.
    
    attachment-5510362603187189229Screenshot-0927-170111.png
    解决办法

    把当前版本cell的selectionStyle设置为none即可,即让用户点击让他没反应,避免误导用户。

    问题3

    由于我这个app需要硬件,因此苹果叫我寄个硬件过去。

    解决办法

    拍个app的使用视频,最好把每个功能都拍到,然后上传到优酷上去,之后在Itunes Connect 自己对应的APP里面的App 审核信息下面的 备注 附上链接就可以。

    总结

    • 审核时间一般3天左右,上传到Itunes Connect的构建版本一般10分钟左右。
    • 要提前一周时间开始准备审核,毕竟被拒,不能及时上架。
    • 如果由于苹果不知道怎么使用APP频繁被拒,可以拍一个APP的使用视频传到优酷上去。这样可以很快的通过。

    相关文章

      网友评论

        本文标题:第一次上架Appstore所遇到的坑

        本文链接:https://www.haomeiwen.com/subject/tibjyxtx.html