1. 程式人生 > >iOS上架被拒原因及解決辦法

iOS上架被拒原因及解決辦法

簡單的記錄一下,近期APP上架所遇到的坑爹事兒吧!!

第一次提交:

第二天給了回覆,內容如下:

1、Guideline 2.5.1 - Performance - Software Requirements

Your app uses the "prefs:root=" non-public URL scheme, which is a private entity. The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.

Continuing to use or conceal non
-public APIs in future submissions of this app may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store. Next Steps To resolve this issue, please revise your app to provide the associated functionality using public APIs or remove the functionality using
the "prefs:root" or "App-Prefs:root" URL scheme. If there are no alternatives for providing the functionality your app requires, you can file an enhancement request.

這是因為公司專案已經近1年沒有更新了,很多訪問私有API的地方沒有進行刪除,我接手專案對裡面的程式碼也不太清楚,直接上傳了,結果悲劇了。。。。。

解決辦法如下:在xcode內進行全域性搜尋“prefs”

將類似這段私有api
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"
prefs:root=LOCATION_SERVICES"]];

換成下面的

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];

提醒:註釋掉也不行,蘋果機審仍然會檢查到,直接進行刪除或替換掉。

第二次提交:

結果如上,仍然有API存在(這叫一個鬱悶啊~明明全域性已經搜尋完了,為啥還會有私有API存在。)後來在網上搜索一下,才發現第三方庫中也有使用私有API的情況。

在終端下依次執行如下程式碼進行搜尋私有API.

cd 工程目錄
grep -r prefs .(注意此處有個點.)
grep -r App-Prefs .
grep -r GraphicsServices .

果然:真有存在的情況,這個TZImagePickerController第三方庫中有"prefs"存在。

那就好辦了:cocoapods進行更新TZImagePickerController版本。

第三次提交:

第二天一早就收到了蘋果的回覆郵件,當時滿心歡喜的去登入App Store Connect,可是一開啟,傻眼了,這是什麼鬼。竟然收到了傳說中的2.1大禮包。

Guideline 2.1 - Information Needed


This type of app has been identified as one that may violate one or more of the following App Store Review Guidelines. Specifically, these types of apps often:

1.1.6 - Include false information, features, or misleading metadata.
2.3.0 - Undergo significant concept changes after approval
2.3.1 - Have hidden or undocumented features, including hidden "switches" that redirect to a gambling or lottery website
3.1.1 - Use payment mechanisms other than in-app purchase to unlock features or functionality in the app
4.3.0 - Are a duplicate of another app or are conspicuously similar to another app
5.2.1 - Were not submitted by the legal entity that owns and is responsible for offering any services provided by the app
5.3.4 - Do not have the necessary licensing and permissions for all the locations where the app is used

此時,不用慌,凡事兒總會有解決的辦法,就仔細審查了一下,後來詢問過開發大佬後,才知道這未必就是你專案中的問題,如果確定專案中沒有以上問題,你直接回復蘋果稽核團隊就行了。

尊敬的蘋果稽核團隊:
感謝您對我們的App耐心稽核, 對於您提到的我們可能違反的其中11個稽核條款, 我們的研發團隊經過認真自查和研究, 我們現在對此回覆如下:

1.1.6:我們絕對沒有包含任何的虛假資訊和誤導使用者的功能,全都是真實的。
2.3.0:我們沒有在通過後修改任何概念和功能。 
2.3.1:我們沒有切換到任何賭博或彩票的網站。
3.1.1:我們沒有使用應用程式內購買以外的支付機制解鎖應用程式中的功能或功能
3.2.1; 我們沒有使用任何貸款業務。
4.3.0:我們的APP內容不存在抄襲或大量相似。
5.2.1:我們的App並沒有法人實體和版權的風險。
5.2.3:我們的app並沒有進行非法檔案共享,或包括從第三方來源儲存、轉換或下載媒體的能力
5.3.4:我們的App定位功能在使用者首次安裝時會以彈窗的形式提醒使用者,請點選“允許”以允許訪問。若不允許,APP”將無法獲取定位當前位置。
希望蘋果稽核團隊能繼續稽核,謝謝。

Dear Apple Review Team:
Thank you for your patience in reviewing our App (10000114). Our R&D team has carefully examined and studied 11 of the audit terms you mentioned that we may violate. We now reply as follows:

1.1.6: We absolutely do not contain any false information and misleading user functions, all are true.
2.3.0: We haven't changed any concepts and functions after adoption.
2.3.1: We haven't switched to any gambling or lottery websites.
3.1.1: We do not use payment mechanisms other than in-app purchases to unlock functions or functions in applications.
3.2.1; We did not use any loan business.
4.3.0: Our APP content is not plagiarized or largely similar.
5.2.1: Our App has no legal entity or copyright risk.
5.2.3: Our app does not have illegal file sharing, or includes the ability to save, convert or download media from third-party sources.
5.3.4: Our App Location function reminds users when they first install it in the form of a pop-up window. Please click "Allow" to allow access. If not, 10000114 APP will not be able to locate the current location.
I hope the Apple Audit Team can continue to audit. Thank you.

第四次提交:

這就開始了一段漫長時間的等待,APP一直處於等待稽核狀態,針對2.1大禮包,網上雲說亦云,各種說法,有的等待了三兩週,有的等了三兩月。。。。我就準備先等待一週看看情況再決定,然後每天給蘋果稽核團隊發一封郵件催他們,反正我有的是時間,就發唄!!!結果等到了第五天早晨手機叮的一聲兒~~~收到一封郵件,我飯都麼吃,趕緊開啟郵件。蘋果尼瑪~~~怎麼又給我拒絕了?

Guideline 2.1 - Information Needed


We were unable to sign in to review your app with the demo account information you provided. In order for us to review your app, please provide us with a functional demo account so that we may fully assess your app's features.

Next Steps

To help us proceed with the review of your app, please provide a user name and password in the App Review Information section for your app in App Store Connect. Please be sure to include content in your app that demonstrates the features and functionality available in your app.

To provide demo account information:

- Log in to App Store Connect
- Click "My Apps"
- Select your app
- Click on the app version on the left side of the screen
- Scroll down to "App Review Information"
- Select the "Sign-in required" box
- Enter demo credentials in the "User name" and "Password" fields
- Once you've completed all changes, click the "Save" button at the top of the Version Information page.

百度翻譯一下:原來說我提審的賬號密碼錯誤,我就無語了,尼瑪之前提交也沒有說登入不上去啊!!!閒的蛋疼了嗎?這不是沒事找事兒嗎?

吐槽一番之後,也沒辦法,誰讓蘋果是粑粑呢,只好老老實實的給回覆郵件,並上傳了一段演示視訊。

現在等結果吧!!