简体   繁体   English

框架库未加载:'未找到图像'

[英]Framework Library not loaded: 'Image not found'

I have a framework that have Pods and my main project too. 我有一个框架,有Pods和我的主要项目。

Error: 错误:

dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire
  Referenced from: /Users/station7/Library/Developer/CoreSimulator/Devices/472E34A1-3D59-4C1F-90A3-3F3FF2998CC4/data/Containers/Bundle/Application/5E4E1D98-6451-4F1D-8E90-A032029D634D/MyApp.app/Frameworks/requestMyApp.framework/requestMyApp
  Reason: image not found
  • Alamofire.framework exist in framework pods But no in the main project. Alamofire.framework存在于框架pod中但在主项目中没有。

If the framework exist in the main project the error never appear. 如果框架存在于main project则错误永远不会出现。 But is in-necessary have Alamofire in both projects in podfile, Considering that the main project does not use at all the Alamofire . 但是必须在Alamofire中的两个项目中都有Alamofire,考虑到主要项目根本没有使用Alamofire

i'm following this post: source 1 and source 2 我正在关注这篇文章: 源1源2

I'm trying all of steps that are sources but nothing works. 我正在尝试所有步骤,但没有任何作用。

在此输入图像描述 在此输入图像描述 在此输入图像描述 在此输入图像描述 在此输入图像描述

The Framework uses post but put it into the Main Project , seems also need Alamofire in pods. Framework使用post但将其放入Main Project ,似乎还需要Alamofire in pods。 That is, to fix must be Alamofire in both projects. 也就是说,要在两个项目中修复必须是Alamofire

暂无
暂无

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

相关问题 dyld:库未加载:@rpath/Alamofire.framework/Alamofire 图像未找到 - dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire image not found dyld:库未加载:@ rpath / Almofire.framework找不到图像 - dyld: Library not loaded: @rpath/Almofire.framework Image not found 未加载库,因为未找到图像 - Library not loaded because image not found 终止说明:DYLD,未加载库:/System/Library/Frameworks/AdServices.framework/AdServices | 原因:找不到图片 - Termination Description: DYLD, Library not loaded: /System/Library/Frameworks/AdServices.framework/AdServices | Reason: image not found WatchOS 2 App无法在带有dyld_fatal_error的设备上启动,但未加载我的框架库:找不到图像 - WatchOS 2 App fails to launch on device with dyld_fatal_error for my Framework Library not loaded: Image not found dyld:库未加载:@rpath/Alamofire.framework/Versions/A/Alamofire 原因:找不到图像 - dyld: Library not loaded: @rpath/Alamofire.framework/Versions/A/Alamofire Reason: image not found dyld:库未加载:@ rpath / Alamofire.framework / Alamofire原因:找不到图像 - dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire Reason: image not found dyld:库未加载:@ rpath / libswiftCoreAudio.dylib引用自: <Framework> 原因:找不到图片 - dyld: Library not loaded: @rpath/libswiftCoreAudio.dylib Referenced from:<Framework> Reason: image not found dyld:库未加载:AlamofireObjectMapper 原因:找不到图像 - dyld: library not loaded: AlamofireObjectMapper Reason: image not found “库未加载 - 未找到合适的图像”错误 - "Library not loaded - no suitable image found" Error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM