我们的公司已开始为企业部署构建Monotouch iPad / iPhone应用程序。

如何拍摄应用程序并创建一个* .ipa文件以进行上传到我们的MDM服务器?

有帮助吗?

解决方案

.ipa文件基本上是一个荣耀的.zip文件。有几条路线可以下降:

  1. 将项目导出到Xcode,并在“构建”下单击“构建和存档” - 填写相应的详细信息,项目应按预期创建。
  2. 如果这不是一个选项,(它是对我们而言的,所以这是我用的方法,取得了很大的成功),你可以简单地创建进入的所有组件并右键单击, “压缩......”在Finder中。

    .ipa由以下组件组成:

    • 一个名为“payload”的文件夹,其中包含编译(发布/ iphone).app
    • a 57x57 .png图标文件(在下载应用程序时显示)
    • 一个512x512 .png图标的文件再次 - 但是,这必须使用 no 扩展名 no 重命名iTunesArtwork
    • itunesmetadata.plist - 它包含有关应用程序的信息,例如版权名称,流派,itemname,sofficeiconneedsshine(您可以谷歌这需要哪些信息)。

      我打包我们的.ipa的方式,我有一个名为“app packaging”的文件夹,它已经进入了所有这些组件,我只需在我们上传时更新.app文件“compress ... “然后将文件重命名为x.ipa(操作系统x会询问您是否要使用此扩展,请确保选择(”使用.ipa“!)。

其他提示

目前的Monodevelop(2.8.6.5)和Monotouch(5.2.5)它同样右键单击您的项目 - >选项 - > iPhone IPA选项 - >检查构建ad-hoc /企业包(IPA)对于所需的配置。

我们创建了一种名为分发的特殊配置,它使用分发证书和房屋分发配置文件构建。

Luke, I like your answer and have given you the credit. I am adding some more details for my own, and others, notes.

Use SpotLight to find one of your own MonoTouch apps. Search on ".ipa". Rename it to SomeThing.Zip Unzip it.

You can then use the structure of the unzipped folder to edit then rezip. enter image description here

Just another way to get an IPA that made it easy for me, drag your .app file onto your itunes library and sync your device. ITunes then creates a copy of the app as an .ipa file in the user/music/itunes/itunes media/mobile applications. This can then be distributed much easier than the .app file.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top