Dani
Dani

Reputation: 1

Xcode 11.3.1 with Firebase

I've been making an Xcode app. When I run it on the simulator it works. When I run it on my iPad it also works but when I try to use is on my iPhone 11, it doesn't work. Gets the following message:

Thread 1: signal SIGABRT"

And in the console:

dyld: Library not loaded: @rpath/GTMSessionFetcher.framework/GTMSessionFetcher Referenced from: /private/var/containers/Bundle/Application/B50AD250-D857-4C76-B9BB-EC8377913E91/WBG.app/WBG Reason: no suitable image found. Did find: /private/var/containers/Bundle/Application/B50AD250-D857-4C76-B9BB-EC8377913E91/WBG.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: code signature invalid for '/private/var/containers/Bundle/Application/B50AD250-D857-4C76-B9BB-EC8377913E91/WBG.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher'

/private/var/containers/Bundle/Application/B50AD250-D857-4C76-B9BB-EC8377913E91/WBG.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: stat() failed with errno=25 /private/var/containers/Bundle/Application/B50AD250-D857-4C76-B9BB-EC8377913E91/WBG.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: code signature invalid for '/private/var/containers/Bundle/Application/B50AD250-D857-4C76-B9BB-EC8377913E91/WBG.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher'

/private/var/containers/Bundle/Application/B50AD250-D857-4C76-B9BB-EC8377913E91/WBG.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: stat() failed with errno=1 /private/var/containers/Bundle/Application/B50AD250-D857-4C76-B9BB-EC8377913E91/WBG.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: code signature invalid for '/private/var/containers/Bundle/Application/B50AD250-D857-4C76-B9BB-EC8377913E91/WBG.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher'

/private/var/containers/Bundle/Application/B50AD250-D857-4C76-B9BB-EC8377913E91/WBG.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: stat() failed with errno=1

Upvotes: 0

Views: 288

Answers (2)

TheSwiftTeen
TheSwiftTeen

Reputation: 43

I have been facing the same problem... It got fixed by adding:

In you podfile:

use_modular_headers!

instead of

use_frameworks!

Good luck! I hope this works for you!

Upvotes: 0

kerim.ba
kerim.ba

Reputation: 286

Seems like the libary GTMSessionFetcher is not copied on your device. PLease check on Your Project target settings, under section Frameworks, Libraries and Embedded Content that you have chosen Embed & Sign or Embed Without Signing.

Alsom, one of the issues might be that library GTMSessionFetcher was built for iPad Architecture only when archived. Check sample image below enter image description here

Upvotes: 0

Related Questions