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

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

      1. <small id='cOPCG'></small><noframes id='cOPCG'>

      2. dyld:库未加载:@rpath 与 iOS8

        dyld: Library not loaded: @rpath with iOS8(dyld:库未加载:@rpath 与 iOS8)

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

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

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

                    <tbody id='Ctvhy'></tbody>
                • 本文介绍了dyld:库未加载:@rpath 与 iOS8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我正在使用 Xcode6 和 iOS8 创建一个 iOS 框架.当我将其与 iOS 应用程序链接并尝试在设备上运行时,我收到此错误

                  I'm creating an iOS framework with Xcode6 and iOS8. When I link this with an iOS app and try running it on the device I get this error

                  dyld: Library not loaded: @rpath/FrameworkName.framework/FrameworkName
                    Referenced from: /private/var/mobile/Containers/Bundle/Application/0F2C2461-A68B-4ABA-A604-B88E6E9D1BB1/AppName.app/AppName
                    Reason: image not found
                  

                  框架的运行路径搜索路径"构建设置默认设置为

                  The 'Runpath Search Paths' build setting for the framework is set by default to

                  '@executable_path/Frameworks', '@loader_path/Frameworks'
                  

                  我找不到与此相关的任何文档.这是 Xcode6 中新引入的东西,我希望它可以通过简单地将框架包含到任何需要它的应用程序中来工作.

                  I could not find any documentation related to this. This was something new introduced with Xcode6 and I would expect it to just work by simply including the framework into any app that needs it.

                  推荐答案

                  完成这项工作

                  1. 在框架项目设置中将安装目录从'/Library/Frameworks' 到 '@executable_path/../Frameworks'

                  1. In the framework project settings change the install directory from '/Library/Frameworks' to '@executable_path/../Frameworks'

                  在包含此框架的项目中,添加一个复制文件阶段,并将此框架复制到框架"文件夹中.完成此操作后,请确保此框架列在嵌入式二进制文件"部分下.

                  In the project that includes this framework, add a copy files phase and copy this framework to the 'Frameworks' folder. Once you do this ensure that this framework is listed under the 'Embedded Binaries' section.

                  这篇关于dyld:库未加载:@rpath 与 iOS8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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))
                  How to rotate an image 90 degrees on iOS?(如何在 iOS 上将图像旋转 90 度?)
                  iOS 8 Rotation Methods Deprecation - Backwards Compatibility(iOS 8 旋转方法弃用 - 向后兼容性)

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

                        <tbody id='mFuQN'></tbody>
                        <bdo id='mFuQN'></bdo><ul id='mFuQN'></ul>
                        • <small id='mFuQN'></small><noframes id='mFuQN'>

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