Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dyld: Library not loaded: @rpath/GoogleUtilities.framework/GoogleUtilities #4723

Closed
yerkejs opened this issue Jan 22, 2020 · 12 comments
Closed

Comments

@yerkejs
Copy link

yerkejs commented Jan 22, 2020

dyld: Library not loaded: @rpath/GoogleUtilities.framework/GoogleUtilities
  Referenced from: /private/var/containers/Bundle/Application/09964578-5EB5-4F95-A827-3289DCE26BD3/BusinessCard.app/BusinessCard
  Reason: no suitable image found.  Did find:
	/private/var/containers/Bundle/Application/09964578-5EB5-4F95-A827-3289DCE26BD3/BusinessCard.app/Frameworks/GoogleUtilities.framework/GoogleUtilities: code signature invalid for '/private/var/containers/Bundle/Application/09964578-5EB5-4F95-A827-3289DCE26BD3/BusinessCard.app/Frameworks/GoogleUtilities.framework/GoogleUtilities'
  • Xcode version: 11.3
  • Firebase SDK version: latest
  • Firebase Component: Database
  • Component version: latest

I can not solve this problem, My certificate is not expired, so what to do ?

@yerkejs
Copy link
Author

yerkejs commented Jan 22, 2020

CocoaPods 1.8.4

@morganchen12
Copy link
Contributor

Make sure the GoogleUtilities framework is being embedded in your app. See this StackOverflow answer for more details: https://stackoverflow.com/questions/53437837/xcode10-dyld-library-not-loaded-for-pod-installed-in-framework

@yerkejs
Copy link
Author

yerkejs commented Jan 22, 2020

Still not working

@morganchen12
Copy link
Contributor

Looks like I misread your error. The framework is being properly embedded in the app, but either it's not signed correctly or Xcode doesn't think it's signed correctly. There's a number of ways people have fixed this in the past, but most of them seem to involve cleaning Xcode's various caches. https://stackoverflow.com/questions/32730312/reason-no-suitable-image-found

@yerkejs
Copy link
Author

yerkejs commented Jan 23, 2020

I can run my other projects, the problem is due to the package "Firebase"

@yerkejs
Copy link
Author

yerkejs commented Jan 23, 2020

Caching did not help

@yerkejs
Copy link
Author

yerkejs commented Jan 23, 2020

Снимок экрана 2020-01-23 в 10 42 38

Look it is pod's target

@yerkejs
Copy link
Author

yerkejs commented Jan 23, 2020

@morganchen12 so what to do ?

@thethirdtomas
Copy link

I'm having the same problem, but only when running on a physical device. The simulator runs fine.

@morganchen12
Copy link
Contributor

This is a code signing issue with no consistent solution, not a Firebase issue. Please ask on Stack Overflow, but be aware that it will be very difficult to debug without access to your code signing credentials or computer (neither of which you should give to strangers on the internet).

@nguyenh13
Copy link

I'm having the same problem when running on the physical device, have you figured it out yet?

@paulb777
Copy link
Member

With iOS 13.3.1, Apple started blocking free developer accounts from using dynamic frameworks on device.

A recommended workaround is using use_modular_headers! instead of use_frameworks! in the Podfile. More discussion on stackoverflow.

@firebase firebase locked and limited conversation to collaborators Feb 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants