xcode 如何为iphone应用程序创建ipa文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10695731/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 00:23:07  来源:igfitidea点击:

how to create ipa file for iphone app

iphonexcode

提问by user1397714

I am building an app and making an ipa file but is not ceated .I have xcode version 3.2.6 and followed the steps necessary to make the ipa file.But no hope . i and archived the application and opened it in organizer then distribute it but it does not show any alert that ipa file is creating.

我正在构建一个应用程序并制作一个 ipa 文件,但没有 ceated。我有 xcode 版本 3.2.6 并遵循制作 ipa 文件所需的步骤。但没有希望。我存档了应用程序并在管理器中打开它然后分发它,但它没有显示 ipa 文件正在创建的任何警报。

回答by Khushbu Patel

Steps to make .ipa file

制作 .ipa 文件的步骤

  1. First Clean the project(Command+Shift+K)
  2. Build the project(cammand + B) and/or Run the project(Command + R) (Make Sure to make Release build)
  3. Under project Navigator, go to Product/ProjectName.app
  4. Right click on ProjectName.app file and select "show in Finder "
  5. Copy the ProjectName.app file
  6. Create a new folder and paste the ProjectName.app file
  7. Compress the folder and name it ProjectName.ipa and remove the .zip extension.
  8. A pop will come to ask you for using .ipa extension, select "use .ipa" and press Enter.
  1. 首先清理项目(Command+Shift+K)
  2. 构建项目(cammand + B)和/或运行项目(Command + R)(确保进行发布构建)
  3. 在项目导航器下,转到 Product/ProjectName.app
  4. 右键单击 ProjectName.app 文件并选择“在 Finder 中显示”
  5. 复制 ProjectName.app 文件
  6. 创建一个新文件夹并粘贴 ProjectName.app 文件
  7. 压缩文件夹并将其命名为 ProjectName.ipa 并删除 .zip 扩展名。
  8. 弹出窗口会询问您是否使用 .ipa 扩展名,选择“使用 .ipa”并按 Enter。

Now your .ipa file is ready to use, You can drag and drop it to the iTunes and use it in a Testing device by syncing the device with the particular iTunes.

现在您的 .ipa 文件可以使用了,您可以将它拖放到 iTunes 中,并通过将设备与特定的 iTunes 同步来在测试设备中使用它。

回答by Dee

Create a folder and drag, drop .app and provisionaing profile into that folder. Compress it. Replace .zip extension with .ipa. Thats it.

创建一个文件夹并将 .app 和配置文件拖放到该文件夹​​中。压缩它。用 .ipa 替换 .zip 扩展名。就是这样。