1

基本的に私のプロジェクトは本(pdfとxmlの組み合わせ)に基づいています。いくつかの理由により、10を超えるプロビジョニングプロファイルを維持しています。新しいデバイスudidが発生するたびに、別のプロビジョニングプロファイルを作成する必要があります(要件に従って)。ビルドするたびに、xcodeにプロビジョニングとブックの置き換えを行う必要があります。これにより、時間がかかります。私は多くのスクリプトを見ましたが、それらすべてがシナリオを完全に満たすわけではありません。

質問:

1.別のアプリケーション(mac osx)を開発して、プロビジョニングファイル、コード(ios)、およびブックの入力を受け取るipaを作成し、最終的にコンパイルして、コードを提供するための.ipaファイルとして出力することはできますか?

2. ipaの作成にかかる時間を短縮する他の方法はありますか?

可能であれば、それを実現するためのアイデアを教えてください。あなたの提案もこれに関してより重要です。皆さんに感謝します。

他のipaファイルからIpaを生成するための新しい質問

私はあなたのアプローチに従いました、しかし誰かが私に知らせてください、私はipaファイルを作成しました、そして今私はipaの内容を変更したいと思いますそしてまたプロビジョニングプロファイルはそれを可能にしますか?

4

1 に答える 1

2

古いプロビジョニング プロファイルを使用して作成された ipa があり、次のプロビジョニング プロファイルを取得する間にコードが変更されていない場合は、それを行う方法があります。

You can write a script from following steps:

1) Change the .ipa that you already have to .zip and extract zip contents. This would reveal Payload folder that has YourApp.app folder
2) Right click on YourApp.app folder and show package contents
3) find embedded.mobileprovision and delete it. Drag your new .mobileprovision file into this location and rename it to say embedded.mobileprovision.
4) Find and delete any _CodeSignature or CodeResources files/folders
5) From terminal delete .DS_Store files in Payload and YourApp.app folder
6) Use Codesign utility in /usr/bin/codesign to codesign your .app. Here is command for it:

codesign -f -s "iPhone Distribution: Your company Name" PathToYourApp

In your keychain utility find the certificate name that is used to create the distribution profile and match it to first argument in codesign -f -s
7) finally zip the payload to form an ipa

zip -r YourApp.ipa Payload
于 2011-12-06T19:29:25.617 に答える