alickbass / CodableFirebase

Use Codable with Firebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dyld: Library not loaded error

westsider opened this issue · comments

This package is amazing and works great on the sim. When I run on a device I get this error. dyld: Library not loaded error

Been trying this workaround with otool but I'm not able to manually link the library.
https://stackoverflow.com/questions/29809069/dyld-library-not-loaded-on-os-x

I'm using Xcode 11.3.1 and here is the error that shows up in the output window.

dyld: Library not loaded: @rpath/CodableFirebase.framework/CodableFirebase
Referenced from: /private/var/containers/Bundle/Application/3C5A2E90-60F4-4CF2-A8A6-E96F55BC7CD2/CodeableFirebase.app/CodeableFirebase
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/3C5A2E90-60F4-4CF2-A8A6-E96F55BC7CD2/CodeableFirebase.app/Frameworks/CodableFirebase.framework/CodableFirebase: code signature invalid for '/private/var/containers/Bundle/Application/3C5A2E90-60F4-4CF2-A8A6-E96F55BC7CD2/CodeableFirebase.app/Frameworks/CodableFirebase.framework/CodableFirebase'

/private/var/containers/Bundle/Application/3C5A2E90-60F4-4CF2-A8A6-E96F55BC7CD2/CodeableFirebase.app/Frameworks/CodableFirebase.framework/CodableFirebase: stat() failed with errno=25
/private/var/containers/Bundle/Application/3C5A2E90-60F4-4CF2-A8A6-E96F55BC7CD2/CodeableFirebase.app/Frameworks/CodableFirebase.framework/CodableFirebase: code signature invalid for '/private/var/containers/Bundle/Application/3C5A2E90-60F4-4CF2-A8A6-E96F55BC7CD2/CodeableFirebase.app/Frameworks/CodableFirebase.framework/CodableFirebase'

/private/var/containers/Bundle/Application/3C5A2E90-60F4-4CF2-A8A6-E96F55BC7CD2/CodeableFirebase.app/Frameworks/CodableFirebase.framework/CodableFirebase: stat() failed with errno=1
/private/var/containers/Bundle/Application/3C5A2E90-60F4-4CF2-A8A6-E96F55BC7CD2/CodeableFirebase.app/Frameworks/CodableFirebase.framework/CodableFirebase: code signature invalid for '/private/var/containers/Bundle/Application/3C5A2E90-60F4-4CF2-A8A6-E96F55BC7CD2/CodeableFirebase.app/Frameworks/CodableFirebase.framework/CodableFirebase'

/private/var/containers/Bundle/Application/3C5A2E90-60F4-4CF2-A8A6-E96F55BC7CD2/CodeableFirebase.app/Frameworks/CodableFirebase.framework/CodableFirebase: stat() failed with errno=1

@westsider Did you solve this issue?

@westsider Did you solve this issue?

I did not

Yes, I have the same issue, is there any update?