I get this error message :
dyld[1057]: Library not loaded:
@rpath/AlgoliaSearchClient.framework/AlgoliaSearchClient Referenced from: <EFE10BCF-D1E4-32F9-9D3B-BC496485BF96>
/private/var/containers/Bundle/Application/B7356B54-300C-462B-8D92-61C64A9342F8/Flash.app/Flash
Reason: tried:
'/usr/lib/swift/AlgoliaSearchClient.framework/AlgoliaSearchClient' (no
such file, not in dyld cache),
'/private/preboot/Cryptexes/OS/usr/lib/swift/AlgoliaSearchClient.framework/AlgoliaSearchClient'
(no such file),
'/private/var/containers/Bundle/Application/B7356B54-300C-462B-8D92-61C64A9342F8/Flash.app/Frameworks/AlgoliaSearchClient.framework/AlgoliaSearchClient'
(no such file),
'/private/var/containers/Bundle/Application/B7356B54-300C-462B-8D92-61C64A9342F8/Flash.app/Frameworks/AlgoliaSearchClient.framework/AlgoliaSearchClient'
(no such file),
'/private/var/containers/Bundle/Application/B7356B54-300C-462B-8D92-61C64A9342F8/Flash.app/Frameworks/AlgoliaSearchClient.framework/AlgoliaSearchClient'
(no such file),
'/usr/lib/swift/AlgoliaSearchClient.framework/AlgoliaSearchClient' (no
such file, not in dyld cache),
'/private/preboot/Cryptexes/OS/usr/lib/swift/AlgoliaSearchClient.framework/AlgoliaSearchClient'
(no such file),
'/private/var/containers/Bundle/Application/B7356B54-300C-462B-8D92-61C64A9342F8/Flash.app/Frameworks/AlgoliaSearchClient.framework/AlgoliaSearchClient'
(no such file),
'/private/var/containers/Bundle/Application/B7356B54-300C-462B-8D92-61C64A9342F8/Flash.app/Frameworks/AlgoliaSearchClient.framework/AlgoliaSearchClient'
(no such file),
'/private/var/containers/Bundle/Application/B7356B54-300C-462B-8D92-61C64A9342F8/Flash.app/Frameworks/AlgoliaSearchClient.framework/AlgoliaSearchClient'
(no such file),
'/System/Library/Frameworks/AlgoliaSearchClient.framework/AlgoliaSearchClient'
(no such file, not in dyld cache) (lldb) ’
The error is not from algolia but from cocoap or xcode because Algolia is only the first framework in the install list and when I remove it from podfile I get the same error with the second framework.
I tried many thing, clean build folder, delete derived data, restart mac, uninstall and reinstall all pod files.
I hope someone can help me solve this problem!
2
Answers
I finaly fix after 2 days of hard trying with this :
https://medium.com/app-makers/how-to-remove-cocoapods-from-xcode-project-5166c19152
and re install
When installing cocoapods, you’ll need to close the xcodeproj and open the
.xcworkspace
generated when you runpod install
.Cocoapods also warns you of this: