起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3682|回复: 14

[结贴] app带百度地图上传appstore,被拒绝问题

[复制链接]

40

主题

173

帖子

453

积分

中级会员

Rank: 3Rank: 3

积分
453
QQ
发表于 2017-10-19 12:56:07 | 显示全部楼层 |阅读模式
2. 5 Performance: Software Requirements
Guideline 2.5.4 - Performance - Software Requirements


Your app declares support for location in the UIBackgroundModes key in your Info.plist file but does not have any features that require persistent location. Apps that declare support for location in the UIBackgroundModes key in your Info.plist file must have features that require persistent location.

Next Steps

To resolve this issue, please revise your app to include features that require the persistent use of real-time location updates while the app is in the background.

If your app does not require persistent real-time location updates, please remove the "location" setting from the UIBackgroundModes key. You may wish to use the significant-change location service or the region monitoring location service if persistent real-time location updates are not required for your app features.

Resources

For more information, please review the Starting the Significant-Change Location Service and Monitoring Geographical Regions.

我百度翻译了一下如下:
2。5性能:软件要求
指南2.5.4 -性能-软件要求
你的应用程序声明支持位置在uibackgroundmodes关键在Info.plist文件但没有任何特点,需要持久的位置。应用程序声明支持位置在uibackgroundmodes关键在Info.plist文件必须需要持久的位置特征。
接下来的步骤
要解决这个问题,请修改您的应用程序,以包括在应用程序处于后台时需要持久使用实时位置更新的功能。
如果你的应用程序不需要持续的实时位置更新,请清除“位置”从uibackgroundmodes键设置。如果您的应用程序功能不需要持久的实时位置更新,您可能希望使用重要的更改位置服务或区域监视位置服务。
资源
欲了解更多信息,请查看启动重大更改位置服务和监视地理区域。

40

主题

173

帖子

453

积分

中级会员

Rank: 3Rank: 3

积分
453
QQ
 楼主| 发表于 2017-10-24 19:15:56 | 显示全部楼层
结贴,审核通过。分享一下,找资料处理这个问题真的很惨...

先说明,这个拒审的原用是我的app用了后台更新定位,本想处理他以为把百度地图插件的plugin.xml的UIBackgroundModes,拿掉,但是拿掉重新打包后百度地图失效用不了。后来把编译好的ios源文件拿到mac 打包服务器虚拟机上,用xcode打开,在他的info.list里加上
<config-file platform="ios" target="*-Info.plist" parent="NSLocationAlwaysUsageDescription">
            <string>允许后台定位,会大大消耗电池续航。</string>
        </config-file>     
<config-file platform="ios" target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
        <string>允许后台定位,会大大消耗电池续航。</string>
      </config-file>
然后在cap开头那个选项卡,把background mode 设为OFF..用xcode重新打包app,转出来的app上传到appstore。。最后发现重新打包出来的百度地图可以用,也能过了审核...希望让遇到这个问题wex5的朋友少走弯路


回复 支持 1 反对 0

使用道具 举报

40

主题

173

帖子

453

积分

中级会员

Rank: 3Rank: 3

积分
453
QQ
 楼主| 发表于 2017-10-19 12:59:20 | 显示全部楼层
本帖最后由 skyappleid 于 2017-10-19 13:15 编辑

大神们,有遇到吗?  Info.plist 这个是什么东东啊,,打包的app里没有用到这个插件哦,de.appplant.cordova.plugin.background-mode在com.justep.cordova.plugin.baiduMapBase,插件里的plugin.xml,里面发现有一段这个

QQ图片20171019131806.png
回复 支持 反对

使用道具 举报

发表于 2017-10-19 13:56:11 | 显示全部楼层
skyappleid 发表于 2017-10-19 12:59
大神们,有遇到吗?  Info.plist 这个是什么东东啊,,打包的app里没有用到这个插件哦,de.appplant.cordova.p ...

http://docs.wex5.com/wex5-app-question-list-2066/


论坛搜下  uibackgroundmodes  
我记得这个问题有人解决过!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

40

主题

173

帖子

453

积分

中级会员

Rank: 3Rank: 3

积分
453
QQ
 楼主| 发表于 2017-10-19 14:40:23 | 显示全部楼层
http://bbs.wex5.com/forum.php?mo ... p;extra=&page=2
这个贴子上是有人提过把
<<<<<<
我是把com.justep.cordova.plugin.baiduMapBase/plugin.xml修改了,注释了下面内容;
<!--添加GPRS访问
            <config-file platform="ios" target="*-Info.plist" parent="NSLocationAlwaysUsageDescription">
            <string></string>
        </config-file>-->
              <!-- 添加后台定位权限
              <config-file platform="ios" target="*-Info.plist" parent="UIBackgroundModes">
                <array>
                    <string>location</string>
                </array>
            </config-file>-->
>>>>>>

但是我注释打包后,app里的百度地图就用不了,一片空白的,后来我把这个开放,就正常了。

回复 支持 反对

使用道具 举报

发表于 2017-10-19 15:21:30 | 显示全部楼层
skyappleid 发表于 2017-10-19 14:40
http://bbs.wex5.com/forum.php?mod=viewthread&tid=179208&extra=&page=2
这个贴子上是有人提过把

只注释掉 下面代码 ,试试行吗?

  1. <!-- 添加后台定位权限
  2.               <config-file platform="ios" target="*-Info.plist" parent="UIBackgroundModes">
  3.                 <array>
  4.                     <string>location</string>
  5.                 </array>
  6.             </config-file>-->
复制代码
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

40

主题

173

帖子

453

积分

中级会员

Rank: 3Rank: 3

积分
453
QQ
 楼主| 发表于 2017-10-19 16:52:23 | 显示全部楼层
不行,我试过了
回复 支持 反对

使用道具 举报

发表于 2017-10-19 17:31:43 | 显示全部楼层

那些人解决过这个问题!你可以加他们为好友咨询一下!
应该就是改一个配置就可以的!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

40

主题

173

帖子

453

积分

中级会员

Rank: 3Rank: 3

积分
453
QQ
 楼主| 发表于 2017-10-19 17:44:55 | 显示全部楼层
http://bbs.wex5.com/thread-182553-1-1.html
帮我看看这个打包问题啊,我刚才还可以的,现在不行了,
回复 支持 反对

使用道具 举报

40

主题

173

帖子

453

积分

中级会员

Rank: 3Rank: 3

积分
453
QQ
 楼主| 发表于 2017-10-20 20:23:29 | 显示全部楼层
这个审核问题,我把iOS后台的定位刷新 文件baiduMapViewController.mm里的   _locService.allowsBackgroundLocationUpdates = NO;
再次提交审核,但是还是被同样的反回信息拒绝。 我在测试当中如果我把com.justep.cordova.plugin.baiduMapBase插件里的plugin.xml
里的UIBackgroundModes拿掉,百度地图会显示不出来,,我用的是wex5 3.6版

2. 5 Performance: Software Requirements
Guideline 2.5.4 - Performance - Software Requirements


Your app declares support for location in the UIBackgroundModes key in your Info.plist file but does not have any features that require persistent location. Apps that declare support for location in the UIBackgroundModes key in your Info.plist file must have features that require persistent location.

Next Steps

To resolve this issue, please revise your app to include features that require the persistent use of real-time location updates while the app is in the background.

If your app does not require persistent real-time location updates, please remove the "location" setting from the UIBackgroundModes key. You may wish to use the significant-change location service or the region monitoring location service if persistent real-time location updates are not required for your app features.

Resources

For more information, please review the Starting the Significant-Change Location Service and Monitoring Geographical Regions.

Request a phone call from App Review

At your request, we can arrange for an Apple Representative to call you within the next three to five business days to discuss your App Review issue. Our representative will be able to discuss the issue in English or Chinese.

Request a call to discuss your app’s review.

申请应用审核团队致电联系

如果您有需要,我们将根据您的要求在三到五个工作日内安排一位精通中文的苹果公司代表致电与您联系,讨论您的应用审核结果。
申请应用审核团队致电联系

申請應用審核團隊致電聯繫

如果您有需要,我們將根據您的要求在三到五個工作日內安排一位精通中文的蘋果公司代表致電與您聯繫,討論您的應用審核結果。
申請應用審核團隊致電聯繫

回复 支持 反对

使用道具 举报

40

主题

173

帖子

453

积分

中级会员

Rank: 3Rank: 3

积分
453
QQ
 楼主| 发表于 2017-10-23 10:04:17 | 显示全部楼层
我把工程,导到xcode里打包,在使用定位的时候,会显示,“需要定位会降低电池使用时候”,但是还是打回了
如果我把百度地图 UIBackgroundModes 拿掉,地图会加载不出来

现在还是拒审,提示如下
Guideline 2.5.4 - Performance - Software Requirements


Your app declares support for location in the UIBackgroundModes key in your Info.plist file but does not have any features that require persistent location. Apps that declare support for location in the UIBackgroundModes key in your Info.plist file must have features that require persistent location.

Next Steps

To resolve this issue, please revise your app to include features that require the persistent use of real-time location updates while the app is in the background.

If your app does not require persistent real-time location updates, please remove the "location" setting from the UIBackgroundModes key. You may wish to use the significant-change location service or the region monitoring location service if persistent real-time location updates are not required for your app features.

Resources

For more information, please review the Starting the Significant-Change Location Service and Monitoring Geographical Regions.

Request a phone call from App Review

At your request, we can arrange for an Apple Representative to call you within the next three to five business days to discuss your App Review issue. Our representative will be able to discuss the issue in English or Chinese.

Request a call to discuss your app’s review.

申请应用审核团队致电联系

如果您有需要,我们将根据您的要求在三到五个工作日内安排一位精通中文的苹果公司代表致电与您联系,讨论您的应用审核结果。
申请应用审核团队致电联系

申請應用審核團隊致電聯繫

如果您有需要,我們將根據您的要求在三到五個工作日內安排一位精通中文的蘋果公司代表致電與您聯繫,討論您的應用審核結果。
申請應用審核團隊致電聯繫


回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-4-19 21:28 , Processed in 0.060290 second(s), 27 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表