ios开发之--那些被苹果拒绝上架的原因

一、后台定位

Your app declares support for location in the UIBackgroundModes key in your Info.plist file but does not declare 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.

Please revise your app to include features that require the persistent use of real-time location updates while the app is in the background. Please also add the following battery use disclaimer in your Application Description:

"Continued use of GPS running in the background can dramatically decrease battery life."

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.

关于后台定位问题,需要拍相应视频,解释给苹果为什么会用到后台定位,什么情况下用到后台定位。然后并在提交版本的时候并向用户展示,参考APP:摩拜单车,永安行,悦跑圈.

请参考‘位置’描述



请参考“温馨提示”

二、APP弹框提示版本更新升级

自从15年3月起苹果不允许上架应用提示版本升级,解决方式是:一,删除更新代码不提示。二:也可以让后台控制,审查期间让后台隐藏掉,审核通过后再显示。检测版本:

NSString* currentVersion = [[[NSBundlemainBundle]infoDictionary]objectForKey:@"CFBundleShortVersionString"];

NSString* serviceVersion=[ZSToolstrFromStringOrNumber:dic[@"strVersion"]];

BOOLlittleSunResult =false;

NSMutableArray* a = (NSMutableArray*) [serviceVersioncomponentsSeparatedByString:@"."];

NSMutableArray* b = (NSMutableArray*) [currentVersioncomponentsSeparatedByString:@"."];

while(a.count< b.count) { [aaddObject:@"0"]; }

while(b.count< a.count) { [baddObject:@"0"]; }

for(intj =0; j

if([[aobjectAtIndex:j]integerValue] > [[bobjectAtIndex:j]integerValue]) {

littleSunResult =true;

break;

}elseif([[aobjectAtIndex:j]integerValue] < [[bobjectAtIndex:j]integerValue]){

littleSunResult =false;

break;

}else{

littleSunResult =false;

}

//littleSunResult,true就是有新版本,false就是没有新版本

三、热更新

2017年3月9日,国内大部分开发者收到苹果的最后通牒,禁止热更新。

Your app, extension, and/or linked framework appears to contain code designed explicitly with the capability to change your app’s behavior or functionality after App Review approval, which is not in compliance with App Store Review Guideline 2.5.2 and section 3.3.2 of the Apple Developer Program License Agreement.

This code, combined with a remote resource, can facilitate significant changes to your app’s behavior compared to when it was initially reviewed for the App Store. While you may not be using this functionality currently, it has the potential to load private frameworks, private methods, and enable future feature changes. This includes any code which passes arbitrary parameters to dynamic methods such as dlopen(), dlsym(), respondsToSelector:, performSelector:, method_exchangeImplementations(), and running remote scripts in order to change app behavior and/or call SPI, based on the contents of the downloaded script. Even if the remote resource is not intentionally malicious, it could easily be hijacked via a Man In The Middle (MiTM) attack, which can pose a serious security vulnerability to users of your app.

Next Steps

Perform an in-depth review of your app and remove any code, frameworks, or SDKs that fall in line with the functionality described above and resubmit your app’s binary for review.

热更新的话就是去除项目里的热更新代码,主要相关的有 JSPatch,以及一些第三方工具。例如:高德地图,百度统计等,第三方服务都已经更新相应的版本解决热更新问题,你只需更新至最新SDK即可。

四、第三方登录时未安装相应应用

We were required to install the QQ/WeChat app before we can log-in via QQ/WeChat. The user should be able to log-in and access their account, without requiring additional applications to be installed.

Next Steps

If you choose to allow users to log-in via QQ/WeChat, please use methods that can authenticate users from within your app, such as a native web-view.

最近在上传appStore的时候遇到了一个问题--在用支付宝(官方单独给我们公司开放的接口)第三方登录的时候,如果没有安装支付宝,苹果拒绝提示.这类问题很多人遇到过了.解决方案:

在未安装微信/QQ/支付宝时隐藏相应登录图标,就可以上线了.每个相应SDK都会提供检测是否安装相应应用方法。具体请查看SDK文档。

五、应用程序过于简单

Guideline 4.2 - Design

We found that the usefulness of your app is limited by the minimal amount of content or features it includes. Specifically, your app does not includes any interactive features.

Next Steps

We encourage you to review your app concept and incorporate different content and features that are in compliance with the App Store Review Guidelines.

We understand that there are no hard and fast rules to define useful or entertaining, but Apple and Apple customers expect apps to provide a really great user experience. Apps should provide valuable utility or entertainment, draw people in by offering compelling capabilities or content, or enable people to do something they couldn't do before or in a way they couldn't do it before.

六、苹果对应用程序不理解,询问是否可以购买彩票

Guideline 2.1 - Information Needed

We have started the review of your app, but we are not able to continue because we need additional information about your app.

Next Steps

To help us proceed with the review of your app, please provide detailed information to the following questions. The more information you can provide upfront, the sooner we can complete your review.

- Are users able to purchase lottery tickets in your app? Please provide detail steps to locate this feature.

Once you reply to this message in Resolution Center with the requested information, we can proceed with your review.

�七、欺骗用户的行为

Guideline 1.1.6 - Safety

Your app's metadata contains misleading content or content that is intended to deceive users.

Specifically, your metadata misleads users to believe your app has lottery purchase or real money gambling feature, while your app provides lottery information only.

Next Steps

To resolve this issue, please remove or revise any misleading content from your app and its metadata.

Please note that adding a disclaimer to the app description is not sufficient if the rest of the metadata and the app are misleading.

Since your iTunes Connect status is Metadata Rejected, we do NOT require a new binary. To revise the metadata, visit iTunes Connect to select your app and revise the desired metadata values. Once you’ve completed all changes, reply to this message in Resolution Center and we will continue the review.

NOTE: Please be sure to make any metadata changes to all app localizations by selecting each specific localization and making appropriate changes.

八、隐藏切换应用功能

Guideline 2.3.1 - Performance

We noticed that your app contains hidden features. Specifically, this app has hidden switching functionality to stream a full HTML app..

Next Steps

To resolve this issue, please remove these features from your app.

�九、下载其他应用的功能

We found that your app contains features that are downloaded or streamed to your app, which is not in compliance with theApp Store Review Guidelinesor section 3.3.2 of theApple Developer Program License Agreement.

Next Steps

It would be appropriate to remove these features from your app, or make them native to your app binary to be in compliance with the App Store Review Guidelines and Apple Developer Program License Agreement.

结语:

此文章会记录上线ios应用时遇到的各种被拒原因,后期会不断更新。

有疑问可以给我发邮件(或者QQ),看到了必定回复:1020351736@qq.com

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 159,716评论 4 364
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 67,558评论 1 294
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 109,431评论 0 244
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 44,127评论 0 209
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 52,511评论 3 287
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 40,692评论 1 222
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 31,915评论 2 313
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 30,664评论 0 202
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 34,412评论 1 246
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 30,616评论 2 245
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 32,105评论 1 260
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 28,424评论 2 254
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 33,098评论 3 238
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 26,096评论 0 8
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 26,869评论 0 197
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 35,748评论 2 276
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 35,641评论 2 271

推荐阅读更多精彩内容