既然要分發的企業(即不通過App Store),這裏有一個想法:它已經建立了一個應用程序包後,因爲你可以重新協同設計,而且ipa只是一個重命名的zip文件,爲什麼不把它作爲一個解壓縮的包放到服務器上,並且每次有人下載應用程序時都要有一個服務器端腳本插入settings.plist,zip和codesign應用程序?
總結:
1. Compile the package, but don't code-sign it.
2. Place the app folder (*.app) onto a server.
3. When the user downloads it by requesting a link, have the server generate your desired url into a plist and overwrite the existing settings.plist in the bundle
4. Code-sign the package using apple's codesign tool via command line
5. Zip the whole thing and rename to .ipa
6. Serve the package to the client.
嗨,這就是我試圖避免真的,這是我想到的,但我害怕的時候簽署了一大捆(100MB +),其中一些的應用程序將是。你對性能有任何想法嗎?另一個問題是我們運行的是Windows Server,因爲我們需要一些蘋果構建服務器。感謝您的回答,恐怕我認爲這看起來像唯一的選擇(因爲我已經回到繪圖板這麼多次了!)Davoc – 2012-03-06 09:34:39
您是否嘗試過在Windows中運行cygwin上的apple codeign工具?看起來像是一個BSD工具 – futureelite7 2012-03-14 10:26:46
不知道這是可能的,因爲鑰匙串? – 2012-03-26 15:07:18