iOS 打包 上傳 發(fā)布 及一些細(xì)節(jié)

開(kāi)發(fā)者賬號(hào)

賬號(hào)分兩種.

  1. 需要向appstore提交應(yīng)用
  2. 不需要向appstore提交應(yīng)用.

向appstore提交應(yīng)用的賬號(hào). 可以用個(gè)人身份申請(qǐng), 也可以以公司的身份申請(qǐng).

不向appstore提交應(yīng)用的賬號(hào). 只能使用企業(yè)身份申請(qǐng).(需要企業(yè)的鄧白氏編碼.)

打包

編譯

編譯.png

導(dǎo)出

導(dǎo)出.png

這里有三個(gè)選項(xiàng)分別是上傳appstore. 檢驗(yàn)ipa包. 導(dǎo)出ipa包.

  1. UpLoad to App Store 點(diǎn)這里會(huì)上傳appstore. 不推薦使用這個(gè)方法上傳appstore(很慢) 使用applicationloader會(huì)快很多(可能是我的錯(cuò)覺(jué)) (強(qiáng)烈推薦手機(jī)4G網(wǎng), 加ApplicationLoader上傳ipa. 飛一般的速度);
  2. Validate 校驗(yàn)ipa包. 在上傳前可以用它校驗(yàn)一下(其實(shí)并沒(méi)有什么卵用). 在上傳的過(guò)程中apple還會(huì)校驗(yàn)一次. 校驗(yàn)步驟一般會(huì)檢驗(yàn)出的錯(cuò)誤類型: 有簽名錯(cuò)誤,例如用了develop證書(shū)上傳appstore. plist文件中的某些錯(cuò)誤, 例如重復(fù)的plist文件. app沒(méi)有圖標(biāo)等等.
  3. Export 導(dǎo)出ipa.

不同的ipa包類型

導(dǎo)出不同的ipa包.png

如圖 在 iOS 導(dǎo)出 ipa包的時(shí)候 會(huì)有四個(gè)選項(xiàng)

  1. Save for iOS App Store Deployment
    保存到本地 準(zhǔn)備上傳App Store 或者在越獄的iOS設(shè)備上使用

  2. Save for Ad Hoc Deployment

    保存到本地 準(zhǔn)備在賬號(hào)添加的可使用設(shè)備上使用(具體為在開(kāi)發(fā)者賬戶下添加可用設(shè)備的udid),該app包是發(fā)布證書(shū)編譯的(The app will be code signed with the distribution certificate.)

  3. Save for Enterprise Deployment
    這種主要針對(duì)企業(yè)級(jí)賬戶下 準(zhǔn)備本地服務(wù)器分發(fā)的app (分發(fā)服務(wù)器可以使用fir, 蒲公英之類的, 但是使用這些有被蘋果封開(kāi)發(fā)者賬號(hào)的風(fēng)險(xiǎn)(一次封1年以上))

  4. Save for Development Deployment
    針對(duì)內(nèi)部測(cè)試使用,主要給開(kāi)發(fā)者的設(shè)備(具體也為在開(kāi)發(fā)者賬戶下添加可用設(shè)備的udid)。該app包是開(kāi)發(fā)證書(shū)編譯的(The app will be code signed with your development certificate)

Save for Ad Hoc Deployment和Save for Development Deployment的區(qū)別


下面是 stackworkflow 上的原文. 我覺(jué)得解釋的很清楚了 (簡(jiǎn)單的說(shuō)就是使develop證書(shū)也可以導(dǎo)出ipa. 就像一題多解, 并沒(méi)有什么特殊用處 )(添加Save For Development Deployment 我個(gè)人認(rèn)為可能是對(duì)TestFlight推廣做一些準(zhǔn)備)

  1. As apple integrated testflight in itunes connect so when you select "Save for Ad Hoc Deployment" then you can distribute your app to users with designated devices. The app will be code signed with the distribution certificate. i.e it will use distribution certificate which we used to submit app on appstore. Previously when you use "Save for Ad Hoc Deployment" then you can create an ipa from development profile also. but now on it requires distribution certificate for "Save for Ad Hoc Deployment".
  1. When you select "Save for Development Deployment" then you can distribute your app using development profile. it just like previously we did with "Save for Ad Hoc Deployment". i.e you can create your ipa file using development certificate also and you can distribute this ipa to your client and testers who's device id is present in your provisioning profile.

1down vote

I think:

1.The purpose of "Save for Development Deployment" is that If you don't have the distribution certificate,you can also use development certificate to distribute your app!

2.The difference between "Save for Development Deployment" and “Save for Ad Hoc Deployment.” ,the difference is the type of certificate.


itunesconnect操作

(假設(shè)上傳前的工作都已經(jīng)做好)上傳appstore成功, 還需要做一些操作.

上傳appstore == 構(gòu)建版本!!!

構(gòu)建版本成功后填寫相關(guān)信息.提交審核. over

附錄

ApplicationLoader是什么鬼:
Xcode ApplicationLoader




提交審核時(shí)遇到的坑:

這里上傳圖片時(shí),圖片名稱最好用English且圖片名稱需要一點(diǎn),圖片名稱中不要有空格.

曾經(jīng)遇到圖片上傳不成功. 產(chǎn)品認(rèn)為是尺寸不符合標(biāo)準(zhǔn)(畢竟4.7 5.5等尺寸應(yīng)該是不一樣的.) (我這里,產(chǎn)品負(fù)責(zé)提交審核, 產(chǎn)品不懂技術(shù). 我出于程序員的強(qiáng)迫癥. 修改了鬼畜的圖片名稱, 上傳成功)

提交審核.png
]

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

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