3
私はポッドと私のメインプロジェクトも持っているフレームワークを持っています。フレームワークライブラリがロードされていません: '画像が見つかりません'
エラー:
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
はメインプロジェクトにフレームワークポッドに存在するがありません。
If the framework exist in the
main project
the error never appear. But is in-necessary haveAlamofire
in both projects in podfile, Considering that the main project does not use at all theAlamofire
.
私はこのポストを以下のよ:source 1とsource 2
は私が源であるが、何も動作手順のすべてをしようとしています。
これは唯一の解決策ですか?メインプロジェクトにAlamofireを含めたくないからです。 – User9527
申し訳ありませんが、それは私のために働いた唯一のものでした。別の方法を見つけたら、私にコメントすることをためらってください。 – jose920405
傘のフレームワークです。見つけたソリューションはこちら:https://stackoverflow.com/questions/41397746/umbrella-framework/41815368#41815368 and https://stackoverflow.com/questions/27868259/embedding-a-framework-within-a-framework-ios- 8、しかし、傘のフレームワークは、Appによって推奨されません:https://stackoverflow.com/questions/7365578/why-are-umbrella-frameworks-discouraged – User9527