ios開發(fā)之--那些被蘋果拒絕上架的原因

一蛾洛、后臺(tái)定位

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.

關(guān)于后臺(tái)定位問題蜗元,需要拍相應(yīng)視頻慨蛙,解釋給蘋果為什么會(huì)用到后臺(tái)定位年叮,什么情況下用到后臺(tái)定位。然后并在提交版本的時(shí)候并向用戶展示留凭,參考APP:摩拜單車辙浑,永安行,悅跑圈.

請(qǐng)參考‘位置’描述



請(qǐng)參考“溫馨提示”

二衷蜓、APP彈框提示版本更新升級(jí)

自從15年3月起蘋果不允許上架應(yīng)用提示版本升級(jí)累提,解決方式是:一,刪除更新代碼不提示磁浇。二:也可以讓后臺(tái)控制斋陪,審查期間讓后臺(tái)隱藏掉,審核通過后再顯示置吓。檢測(cè)版本:

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日友题,國(guó)內(nèi)大部分開發(fā)者收到蘋果的最后通牒,禁止熱更新戴质。

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.

熱更新的話就是去除項(xiàng)目里的熱更新代碼度宦,主要相關(guān)的有 JSPatch踢匣,以及一些第三方工具。例如:高德地圖戈抄,百度統(tǒng)計(jì)等离唬,第三方服務(wù)都已經(jīng)更新相應(yīng)的版本解決熱更新問題,你只需更新至最新SDK即可划鸽。

四输莺、第三方登錄時(shí)未安裝相應(yīng)應(yīng)用

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的時(shí)候遇到了一個(gè)問題--在用支付寶(官方單獨(dú)給我們公司開放的接口)第三方登錄的時(shí)候,如果沒有安裝支付寶,蘋果拒絕提示.這類問題很多人遇到過了.解決方案:

在未安裝微信/QQ/支付寶時(shí)隱藏相應(yīng)登錄圖標(biāo),就可以上線了.每個(gè)相應(yīng)SDK都會(huì)提供檢測(cè)是否安裝相應(yīng)應(yīng)用方法。具體請(qǐng)查看SDK文檔漾稀。

五模闲、應(yīng)用程序過于簡(jiǎn)單

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.

六、蘋果對(duì)應(yīng)用程序不理解崭捍,詢問是否可以購(gòu)買彩票

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.

八、隱藏切換應(yīng)用功能

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.

?九殷蛇、下載其他應(yīng)用的功能

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.

結(jié)語(yǔ):

此文章會(huì)記錄上線ios應(yīng)用時(shí)遇到的各種被拒原因实夹,后期會(huì)不斷更新。

有疑問可以給我發(fā)郵件(或者QQ)粒梦,看到了必定回復(fù):1020351736@qq.com

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末亮航,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子匀们,更是在濱河造成了極大的恐慌缴淋,老刑警劉巖,帶你破解...
    沈念sama閱讀 219,427評(píng)論 6 508
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件泄朴,死亡現(xiàn)場(chǎng)離奇詭異重抖,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī)祖灰,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,551評(píng)論 3 395
  • 文/潘曉璐 我一進(jìn)店門钟沛,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái),“玉大人局扶,你說我怎么就攤上這事恨统。” “怎么了三妈?”我有些...
    開封第一講書人閱讀 165,747評(píng)論 0 356
  • 文/不壞的土叔 我叫張陵畜埋,是天一觀的道長(zhǎng)。 經(jīng)常有香客問我畴蒲,道長(zhǎng)由捎,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,939評(píng)論 1 295
  • 正文 為了忘掉前任饿凛,我火速辦了婚禮狞玛,結(jié)果婚禮上软驰,老公的妹妹穿的比我還像新娘。我一直安慰自己心肪,他們只是感情好锭亏,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,955評(píng)論 6 392
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著硬鞍,像睡著了一般慧瘤。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上固该,一...
    開封第一講書人閱讀 51,737評(píng)論 1 305
  • 那天锅减,我揣著相機(jī)與錄音,去河邊找鬼伐坏。 笑死怔匣,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的桦沉。 我是一名探鬼主播每瞒,決...
    沈念sama閱讀 40,448評(píng)論 3 420
  • 文/蒼蘭香墨 我猛地睜開眼,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼纯露!你這毒婦竟也來(lái)了剿骨?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,352評(píng)論 0 276
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤埠褪,失蹤者是張志新(化名)和其女友劉穎浓利,沒想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體钞速,經(jīng)...
    沈念sama閱讀 45,834評(píng)論 1 317
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡贷掖,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,992評(píng)論 3 338
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了玉工。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片羽资。...
    茶點(diǎn)故事閱讀 40,133評(píng)論 1 351
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡淘菩,死狀恐怖遵班,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情潮改,我是刑警寧澤狭郑,帶...
    沈念sama閱讀 35,815評(píng)論 5 346
  • 正文 年R本政府宣布,位于F島的核電站汇在,受9級(jí)特大地震影響翰萨,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜糕殉,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,477評(píng)論 3 331
  • 文/蒙蒙 一亩鬼、第九天 我趴在偏房一處隱蔽的房頂上張望殖告。 院中可真熱鬧,春花似錦雳锋、人聲如沸黄绩。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,022評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)爽丹。三九已至,卻和暖如春辛蚊,著一層夾襖步出監(jiān)牢的瞬間粤蝎,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 33,147評(píng)論 1 272
  • 我被黑心中介騙來(lái)泰國(guó)打工袋马, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留初澎,地道東北人。 一個(gè)月前我還...
    沈念sama閱讀 48,398評(píng)論 3 373
  • 正文 我出身青樓飞蛹,卻偏偏與公主長(zhǎng)得像谤狡,于是被迫代替她去往敵國(guó)和親。 傳聞我的和親對(duì)象是個(gè)殘疾皇子卧檐,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,077評(píng)論 2 355

推薦閱讀更多精彩內(nèi)容