简体   繁体   English

Objective-C 错误:dyld:库未加载:@rpath/custom_framework.framework/VT_custom_framework

[英]Objective-C Error : dyld: Library not loaded: @rpath/custom_framework.framework/VT_custom_framework

im working on a iOS Project with XCODE Version 7.1.1 with iOS Version : 7.0 as Deployment Target & im using Objective-C Only .我正在使用 XCODE 版本 7.1.1 和 iOS 版本进行 iOS 项目:7.0 作为部署目标 & 我只使用 Objective-C。 I'm Using one of our custom frameworks inside my project .我在我的项目中使用我们的自定义框架之一。 But the issue is my project is running pretty fine in my simulator and is failing with the Error dyld: Library not loaded: when i'm running same in Device(iOS8) .但问题是我的项目在我的模拟器中运行得很好并且失败了错误 dyld: Library not loaded: 当我在 Device(iOS8) 中运行时相同。 when im trying to run the same project with out modifying any content of info.plist in one of my colleague's System,It's working in the other systems pretty fine in Simulator & Device as well .当我尝试运行同一个项目而不修改我同事系统中 info.plist 的任何内容时,它在模拟器和设备中的其他系统中也能正常工作。 I really dont know whats happening .我真的不知道发生了什么。 I re-installed my XCODE but the issue remained same .我重新安装了我的 XCODE,但问题仍然存在。 I added my framework in to the Embedded binaries also .我也将我的框架添加到嵌入式二进制文件中。 i disabled Bit-code both in my project and in the framework's project also .我也在我的项目和框架的项目中禁用了位代码。 For your reference I'm posting the complete error below .为了您的参考,我在下面发布了完整的错误。

dyld: Library not loaded: @rpath/custom_framework.framework/custom_framework
  Referenced from: /private/var/mobile/Containers/Bundle/Application/632142A6-4485-41D1-8A65-238112513129/MY_APP.app/MY_APP
  Reason: no suitable image found.  Did find:
    /private/var/mobile/Containers/Bundle/Application/632142A6-4485-41D1-8A65-238112513129/MY_APP.app/Frameworks/custom_framework.framework/custom_framework: mmap() error 1 at address=0x008C2000, size=0x0000C000 segment=__TEXT in Segment::map() mapping /private/var/mobile/Containers/Bundle/Application/632142A6-4485-41D1-8A65-238112513129/MY_APP.app/Frameworks/custom_framework.framework/custom_framework
 

iOS 7 doesn't support the loading of dynamic frameworks bundled with the app. iOS 7 不支持加载与应用程序捆绑的动态框架。 You will need iOS 8.您将需要 iOS 8。

I am surprised there wasn't an error while building the app in Xcode.我很惊讶在 Xcode 中构建应用程序时没有错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 自定义框架未加载dyld:库未加载:@rpath / Custom.framework / - Custom framework not loaded dyld: Library not loaded: @rpath/Custom.framework/ 运行时错误:dyld:库未加载:@rpath/AWSCore.framework/AWSCore - Runtime error: dyld: Library not loaded: @rpath/AWSCore.framework/AWSCore dyld:库未加载:@rpath/MicroBlink.framework/MicroBlink - dyld: Library not loaded: @rpath/MicroBlink.framework/MicroBlink dyld:库未加载:@ rpath / AnyFormatKit.framework / AnyFormatKit - dyld: Library not loaded: @rpath/AnyFormatKit.framework/AnyFormatKit dyld:库未加载:@rpath/Alamofire.framework/Alamofire 引用自: - dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire Referenced from: dyld:库未加载:@rpath/Alamofire.framework/Alamofire 和 AlamofireImage - dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire and AlamofireImage dyld:库未加载:@ rpath / Charts.framework / Charts - dyld: Library not loaded: @rpath/Charts.framework/Charts dyld:未加载库:@ rpath / Alamofire.framework / Alamofire - dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire dyld:库未加载:@rpath/MapboxMobileEvents.framework/MapboxMobileEvents - dyld: Library not loaded: @rpath/MapboxMobileEvents.framework/MapboxMobileEvents dyld:库未加载:XCode 11.3.1 中的@rpath/FBLPromises.framework/FBLPromises - dyld: Library not loaded: @rpath/FBLPromises.framework/FBLPromises in XCode 11.3.1
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM