<bdo id='fWtib'></bdo><ul id='fWtib'></ul>
  • <small id='fWtib'></small><noframes id='fWtib'>

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

      1. Xcode 6.1:文件是为 x86_64 构建的,它不是被链接的架构 (i386)

        时间:2023-05-19

            <tbody id='3gdSS'></tbody>

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

            <small id='3gdSS'></small><noframes id='3gdSS'>

            <tfoot id='3gdSS'></tfoot>
            • <bdo id='3gdSS'></bdo><ul id='3gdSS'></ul>
            • <legend id='3gdSS'><style id='3gdSS'><dir id='3gdSS'><q id='3gdSS'></q></dir></style></legend>
                1. 本文介绍了Xcode 6.1:文件是为 x86_64 构建的,它不是被链接的架构 (i386)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我为 util/extensions 创建了一个 Swift 框架项目,它编译并复制一个 .framework 文件到我系统上的专用位置.我希望能够将此文件包含到其他项目中(Build Phases/Link Binary with Libraries).框架项目是 Cocoa Touch Framework 类型的项目(从 Xcode 6.1 项目模板浏览器中选择).

                  I've created a Swift framework project for util/extensions that compiles and copies a .framework file to a dedicated location on my system. I want to be able to include this file into other projects (Build Phases/Link Binary with Libraries). The framework project is a Cocoa Touch Framework type project (as selected from Xcode 6.1 project template browser).

                  但是当我尝试编译一个链接框架文件的项目时,我收到了这个警告:

                  But when I try compiling a project which links the framework file, I'm getting this warning:

                  ld:警告:忽略文件/Users/name/Projects/Xcode/Libs/swiftutils.framework/swiftutils,文件是为 x86_64 构建的,它不是被链接的架构(i386):/Users/name/Projects/Xcode/Libs/swiftutils.framework/swiftutils

                  ld: warning: ignoring file /Users/name/Projects/Xcode/Libs/swiftutils.framework/swiftutils, file was built for x86_64 which is not the architecture being linked (i386): /Users/name/Projects/Xcode/Libs/swiftutils.framework/swiftutils

                  我可以对框架项目做些什么以使其对其他 iOS 项目有效?这很令人困惑,因为框架项目是一个 Cocoa Touch 框架项目,它应该自然地与其他 Cocoa Touch(即 IOS)项目一起使用,不是吗?

                  Is there anything I can do with the framework project so that it is valid for other iOS projects? It's confusing because the framework project is a Cocoa Touch Framework project which should naturally work with other Cocoa Touch (i.e. IOS) projects, shouldn't it?

                  推荐答案

                  确保您的 lib 的 Build settings 中的 Architectures 中列出了 i386x86_64.还将 Build Active Architecture Only 明确设置为 No.

                  Make sure you have i386 and x86_64 listed in your Architectures in Build settings for your lib. Also set Build Active Architecture Only explicitly to No.

                  这篇关于Xcode 6.1:文件是为 x86_64 构建的,它不是被链接的架构 (i386)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:“弱链接"是什么意思?一个框架? 下一篇:IOS静态框架,里面有资源

                  相关文章

                  • <bdo id='YwO0z'></bdo><ul id='YwO0z'></ul>
                  <tfoot id='YwO0z'></tfoot>

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

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

                      <legend id='YwO0z'><style id='YwO0z'><dir id='YwO0z'><q id='YwO0z'></q></dir></style></legend>