如何在不登录Xcode 8的情况下构建IPA [英] How to build an IPA without signing in Xcode 8

查看:110
本文介绍了如何在不登录Xcode 8的情况下构建IPA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在SO和其他地方搜索过。我只发现这个答案的旧版本似乎不再适用,以及大量其他在最新版本中甚至不相关的内容。

I have searched around SO and other places. I have only found older versions of this answer that don't seem to work any more, and tons of other stuff that isn't even relevant in the latest version.

简而言之,我们有一位开发人员向我们提供IPA,他们不想加入我们的开发者团队。我告诉他给我们发一份未经签署的IPA,但是根据我们的旧流程,我们无法弄明白。

Long story short, we have a developer providing an IPA to us, who doesn't want to join our developer group. I told him to send us an unsigned IPA, but we couldn't get it figured out based on our old process.

有没人做过这个,你介意吗?与世界分享你的方法?

Has anyone done this yet, and would you mind sharing your method with the world?

谢谢!

推荐答案

我最终找到了xcode 8的工作解决方案。这是一步一步

I ended up finding a working solution for xcode 8. Here is the step by step


  1. (可选)更改构建位置




Xcode>首选项> locations>派生数据> custom> your desktop

Xcode>preferences>locations>derived data>custom>your desktop




  1. 打开终端并导航到项目的文件夹

  2. 运行手动构建: xcodebuild -workspace(或-project)[workspacename.xcworkspace] -scheme [Schemename] -sdk iphoneos -configuration Release CODE_SIGN_IDENTITY =CODE_SIGNING_REQUIRED = NO

  3. 从步骤1(派生数据)打开位置并导航到>您的应用>构建>产品>发布-iphoneOS

  4. 复制.app将文件存入名为 Payload 的新子文件夹(此文件夹名称区分大小写,并且非常匹配)

  5. 压缩 Payload 文件夹并将其重命名为app_name-version_number.ipa

  1. Open Terminal and navigate to the project's folder
  2. Run manual build: xcodebuild -workspace (or -project) [workspacename.xcworkspace] -scheme [Schemename] -sdk iphoneos -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
  3. Open the location from Step 1 (derived data) and navigate to >your app>build>products>Release-iphoneOS
  4. Copy the .app file into a new subfolder named Payload (this folder name is case sensitive and much match verbatim)
  5. Compress Payload folder and rename it to app_name-version_number.ipa

Boom。完成。

这篇关于如何在不登录Xcode 8的情况下构建IPA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆