iOS 中的 .ipa 和 .app 格式有什么区别?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2949916/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the difference betwen .ipa and .app format in iOS?
提问by vijayakumar flex
I tried Adobe flash professional CS5 based to develop an iPhone application in windowsOS but when I publish it's out will be .ipa
format. Will this work properly for an iPhone?
我尝试过基于 Adobe Flash Professional CS5 在 windowsOS 中开发 iPhone 应用程序,但是当我发布它时,它将是.ipa
格式。这适用于 iPhone 吗?
Can anyone explain .ipa
and .app
?
任何人都可以解释.ipa
和.app
?
And also is it possible to develop an iPhone application in Adobe flash professional CS5 and how can we get .app
format ?
以及是否可以在 Adobe Flash Professional CS5 中开发 iPhone 应用程序,我们如何获取.app
格式?
回答by BoltClock
Disclaimer: my answer comes completely from digging around the files themselves.
免责声明:我的答案完全来自于文件本身的挖掘。
.app
s are application bundles. They contain the executable file, an Info.plist
file, an icon, a launch image, and some other application resources. Application bundles are the only ones that actually get installed onto your device.
.app
s 是应用程序包。它们包含可执行文件、Info.plist
文件、图标、启动图像和一些其他应用程序资源。应用程序包是唯一真正安装到您设备上的包。
.ipa
s are archives that contain.app
bundles as well as some other files meant only for iTunes to use, for instance iTunesArtwork
. They are how iTunes manages applications, and as far as I can tell have little to do with the applications themselves other than App Store information.
.ipa
s 是包含.app
捆绑包以及其他一些仅供 iTunes 使用的文件的档案,例如iTunesArtwork
. 它们是 iTunes 管理应用程序的方式,据我所知,除了 App Store 信息之外,与应用程序本身几乎没有关系。
I haven't worked with Flash CS5's export to iPhone feature, but you should be able to just drag your .ipa
file to iTunes and it'll appear in the Apps list.
我没有使用 Flash CS5 的导出到 iPhone 功能,但是您应该能够将.ipa
文件拖到iTunes,它会出现在应用程序列表中。
And also is it possible to develop iphone application in Adobe flash professional cs5?
是否可以在 Adobe Flash Professional cs5 中开发 iphone 应用程序?
It is possible in the sense that your iPhone software won't crash permanently or something, but as phwd and David have said, your app will not make it to the App Store.
从某种意义上说,您的 iPhone 软件可能不会永久崩溃或其他什么原因,但正如 phwd 和 David 所说,您的应用程序不会进入 App Store。
回答by yoAlex5
iOS supports next app formats
iOS 支持下一个应用程序格式
.deb
- Debian package. Since iOS is based on Darwin (BSD) Unix family it is *possible to run such Linux format. For example Cydiapackage manager uses .deb
for sharing applications on jailbrokeddevices.
.deb
- Debian 软件包。由于 iOS 是基于 Darwin (BSD) Unix 系列的,因此 * 可以运行这种 Linux 格式。例如Cydia包管理器.deb
用于在越狱设备上共享应用程序。
.app
- during development when you build your application for simulator or real device the .app
is generated. You can find it in Products
group. Sometimes .app
is used to share application thought iOS simulators[About]
.app
- 在开发过程中,当您为模拟器或真实设备构建应用程序时.app
会生成。您可以在Products
组中找到它。有时.app
用来分享应用心得的iOS模拟器[关于]
.ipa
- iOS App Store Package for iOS devices. When you publish/distribute or download an app using App Store
your operates .ipa
files. This container includes .app
and other metadata
.ipa
- 适用于 iOS 设备的 iOS App Store 包。当您使用App Store
您的操作.ipa
文件发布/分发或下载应用程序时。此容器包含.app
和其他元数据