firebase / geofire-objc

GeoFire for Objective-C - Realtime location queries with Firebase
MIT License
435 stars 176 forks source link

dyld[3143]: Library not loaded: @rpath/GeoFire.framework/GeoFire #167

Closed Bobbykart closed 6 months ago

Bobbykart commented 6 months ago

When i try to test my app i get this error: dyld[3143]: Library not loaded: @rpath/GeoFire.framework/GeoFire Referenced from: <66D6BC38-251B-33DA-AABE-9ED3D3A4E452>

morganchen12 commented 6 months ago

You'll need to either copy GeoFire into the test bundle where dyld looks for libraries or add the existing location of GeoFire to your target's Runpath Search Paths. See Apple's docs for why you're getting this error: https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/RunpathDependentLibraries.html