基本上,我的项目是基于书籍(pdf和xml的组合)。由于某些原因,我们正在维护十多个配置profiles.when,任何时候都会出现新的设备udid,我们需要创建另一个配置配置文件(根据需求)。对于每次构建,我需要在我的xcode中放置一些准备和替换书籍,这将导致更多的时间消耗。我看到了许多脚本,但是所有的脚本都没有完全填满场景。
问题:
1.是否有可能开发另一个应用程序(mac ),使ipa输入配置文件、我的代码(Ios)和书籍,然后将输出编译为.ipa文件,用于提供代码?
2.是否有其他减少投资促进机构创建所需时间的其他方式?
如果可能的话,请给我一些想法,让它成为现实,你的建议也是更重要的this.Thanks提前对每个人。
从其他Ipa文件生成ipa的新问题
我遵循了您的方法,但是请让我知道,我创建了一个ipa文件,现在我想修改ipa的内容和配置配置文件,可以吗?
发布于 2011-12-06 19:29:25
如果您使用旧的供应配置文件创建了一个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 Payloadhttps://stackoverflow.com/questions/8405447
复制相似问题