<bdo id='T3oqD'></bdo><ul id='T3oqD'></ul>

<small id='T3oqD'></small><noframes id='T3oqD'>

<tfoot id='T3oqD'></tfoot>

    1. <legend id='T3oqD'><style id='T3oqD'><dir id='T3oqD'><q id='T3oqD'></q></dir></style></legend>
      1. <i id='T3oqD'><tr id='T3oqD'><dt id='T3oqD'><q id='T3oqD'><span id='T3oqD'><b id='T3oqD'><form id='T3oqD'><ins id='T3oqD'></ins><ul id='T3oqD'></ul><sub id='T3oqD'></sub></form><legend id='T3oqD'></legend><bdo id='T3oqD'><pre id='T3oqD'><center id='T3oqD'></center></pre></bdo></b><th id='T3oqD'></th></span></q></dt></tr></i><div id='T3oqD'><tfoot id='T3oqD'></tfoot><dl id='T3oqD'><fieldset id='T3oqD'></fieldset></dl></div>

        如何在 Xcode 中构建 iOS 框架的发布版本?

        时间:2023-05-18
            <bdo id='oWobg'></bdo><ul id='oWobg'></ul>

            <i id='oWobg'><tr id='oWobg'><dt id='oWobg'><q id='oWobg'><span id='oWobg'><b id='oWobg'><form id='oWobg'><ins id='oWobg'></ins><ul id='oWobg'></ul><sub id='oWobg'></sub></form><legend id='oWobg'></legend><bdo id='oWobg'><pre id='oWobg'><center id='oWobg'></center></pre></bdo></b><th id='oWobg'></th></span></q></dt></tr></i><div id='oWobg'><tfoot id='oWobg'></tfoot><dl id='oWobg'><fieldset id='oWobg'></fieldset></dl></div>
              1. <legend id='oWobg'><style id='oWobg'><dir id='oWobg'><q id='oWobg'></q></dir></style></legend>

                <small id='oWobg'></small><noframes id='oWobg'>

                <tfoot id='oWobg'></tfoot>

                    <tbody id='oWobg'></tbody>

                • 本文介绍了如何在 Xcode 中构建 iOS 框架的发布版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  假设我做了以下事情:

                  1. 打开 Xcode 7
                  2. 文件 |新 |项目 |Cocoa Touch 框架
                  3. 使用 Swift 语言创建TestFramework"
                  4. 使用 public func hello() { print("Hello") } 创建一个文件 Hello.swift.

                  从这里,我可以构建框架的调试版本(在 Debug-iphoneos 文件夹内),但我不知道如何构建框架的发布版本(在 Release-iphoneos 内).我认为存档可能会这样做,但事实并非如此.请指点?

                  From here, I can build a debug build of the framework (inside the Debug-iphoneos folder), but I cannot figure out how to build the release version of the framework (inside Release-iphoneos). I thought Archive might do it, but it doesn't. Pointers please?

                  推荐答案

                  要获得发布版本,您需要更改方案设置:

                  To get a release build, you need to change your scheme settings:

                  或者,为发布构建创建一个新方案.

                  Alternatively, create a new scheme for release builds.

                  确保您已选择设备.不是模拟器.

                  Ensure you have a device selected. Not the simulator.

                  构建您的项目,您应该会看到它已添加到此位置:(单击箭头在查找器中导航)

                  Build your project and you should see that it gets added to this location: (Click the arrow to navigate there in finder)

                  向下钻取后,您应该能够找到包含您的发布框架的发布文件夹.

                  And after drilling down, you should be able to find the release folder with your release framework inside.

                  这篇关于如何在 Xcode 中构建 iOS 框架的发布版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:带有子项目和项目依赖项的 Xcode 工作区触发构建 下一篇:什么是最有用的第三方 iPhone 框架?

                  相关文章

                      <bdo id='SgMPp'></bdo><ul id='SgMPp'></ul>

                      <tfoot id='SgMPp'></tfoot>
                      <legend id='SgMPp'><style id='SgMPp'><dir id='SgMPp'><q id='SgMPp'></q></dir></style></legend>

                      <i id='SgMPp'><tr id='SgMPp'><dt id='SgMPp'><q id='SgMPp'><span id='SgMPp'><b id='SgMPp'><form id='SgMPp'><ins id='SgMPp'></ins><ul id='SgMPp'></ul><sub id='SgMPp'></sub></form><legend id='SgMPp'></legend><bdo id='SgMPp'><pre id='SgMPp'><center id='SgMPp'></center></pre></bdo></b><th id='SgMPp'></th></span></q></dt></tr></i><div id='SgMPp'><tfoot id='SgMPp'></tfoot><dl id='SgMPp'><fieldset id='SgMPp'></fieldset></dl></div>

                      <small id='SgMPp'></small><noframes id='SgMPp'>