• <small id='berq8'></small><noframes id='berq8'>

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

      <tfoot id='berq8'></tfoot>

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

        Xcode 不会添加“嵌入式二进制".删除“DerivedData"后

        Xcode won#39;t add quot;Embedded binaryquot; after deleting quot;DerivedDataquot;(Xcode 不会添加“嵌入式二进制.删除“DerivedData后)

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

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

            • <tfoot id='UAmST'></tfoot>
                <tbody id='UAmST'></tbody>

                <bdo id='UAmST'></bdo><ul id='UAmST'></ul>
                  本文介绍了Xcode 不会添加“嵌入式二进制".删除“DerivedData"后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  辅助搜索的替代标题:

                  • 在 Xcode 中添加嵌入式二进制文件失败
                  • Xcode 不会链接来自单独项目的框架
                  • 由于缺少框架,应用在设备上崩溃,在模拟器中运行

                  删除DerivedData"后xcode6,我无法将另一个项目中的 CocoaTouch 框架添加到嵌入式二进制文件"中.部分(在常规"选项卡下).

                  After deleting the "DerivedData" folder (or performing a "Product > Clean") in xcode6, I cannot add CocoaTouch frameworks from another project to the "Embedded Binary" section (under General tab).

                  或者,Xcode 遇到链接器错误,因为它找不到以前可以找到的框架.

                  Or, Xcode hits a linker error because it cannot find a framework that if previously could.

                  单击嵌入式二进制文件"下的 +显示了框架选择器,但在工作区的不同项目中选择框架没有任何作用.

                  Clicking on the + under "Embedded Binaries" shows the Framework selector but selecting a framework in different project in the workspace does nothing.

                  推荐答案

                  这是我发现恢复嵌入式二进制文件的唯一方法,如果您发现不需要某些步骤,请发表评论.

                  This it the only way i have discovered to restore the embedded binaries, please leave comments if you find some steps are not required.

                  先决条件:阅读Daniel Tull 的回答.

                  1. 从工作区中删除所有框架项目
                  2. 执行干净构建"和/或删除DerivedData"
                  3. 将项目添加回工作区
                  4. 构建项目(可能是可选的)
                  5. 在应用目标的常规选项卡中,点击链接框架和库"下的 +,选择框架.
                  6. 在模拟器中构建和运行(构建或运行应该没有问题)
                  7. 为设备构建并运行(这可能会由于框架未正确链接而导致崩溃,请忽略此崩溃)
                  8. 点击Embedded Binaries"下的+,选择框架.这应该将其添加到项目中(可能在链接框架和库"下重复)
                  9. 对所有必需的框架重复
                  10. 确认构建和运行(在设备上)后,您可以在项目导航器或目标常规"选项卡中删除任何重复的(和/或红色)框架
                  1. Remove all framework projects from the workspace
                  2. Perform a "clean build" and/or remove the "DerivedData"
                  3. Add project back into the workspace
                  4. Build the project (possibly optional)
                  5. In the General tab of the app target click the + under "Linked Frameworks and Libraries", select the framework.
                  6. Build and run in the Simulator (there should be no issues building or running)
                  7. Build and run for device (this might cause a crash due to the framework not being correctly linked, ignore this crash)
                  8. Click the + under "Embedded Binaries", select the framework. This should add it to the project (possible duplicate under "Linked Frameworks and Libraries")
                  9. Repeat for all required frameworks
                  10. Once building and running (on device) is confirmed you can remove any duplicate (and/or red) frameworks in the Project Navigator or target General tab

                  这篇关于Xcode 不会添加“嵌入式二进制".删除“DerivedData"后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  iOS 6 rotations: supportedInterfaceOrientations doesn#180;t work?(iOS 6 旋转:supportedInterfaceOrientations 不起作用?)
                  CABasicAnimation rotate returns to original position(CABasicAnimation 旋转返回原始位置)
                  UITabBarController Rotation Issues in ios 6(ios 6 中的 UITabBarController 旋转问题)
                  iOS: How to run a function after Device has Rotated (Swift)(iOS:设备旋转后如何运行函数(Swift))
                  UIImageView Gestures (Zoom, Rotate) Question(UIImageView 手势(缩放、旋转)问题)
                  Responsive website on iPhone - unwanted white space on rotate from landscape to portrait(iPhone上的响应式网站-从横向旋转到纵向时不需要的空白)
                  <tfoot id='QrRpL'></tfoot>

                  1. <i id='QrRpL'><tr id='QrRpL'><dt id='QrRpL'><q id='QrRpL'><span id='QrRpL'><b id='QrRpL'><form id='QrRpL'><ins id='QrRpL'></ins><ul id='QrRpL'></ul><sub id='QrRpL'></sub></form><legend id='QrRpL'></legend><bdo id='QrRpL'><pre id='QrRpL'><center id='QrRpL'></center></pre></bdo></b><th id='QrRpL'></th></span></q></dt></tr></i><div id='QrRpL'><tfoot id='QrRpL'></tfoot><dl id='QrRpL'><fieldset id='QrRpL'></fieldset></dl></div>
                      • <small id='QrRpL'></small><noframes id='QrRpL'>

                        • <legend id='QrRpL'><style id='QrRpL'><dir id='QrRpL'><q id='QrRpL'></q></dir></style></legend>
                            <tbody id='QrRpL'></tbody>
                            <bdo id='QrRpL'></bdo><ul id='QrRpL'></ul>