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

Library missing Library not loaded: @rpath/GoogleMaps.framework/GoogleMaps #51

Open
KovalchukLTD opened this issue Jul 19, 2023 · 0 comments

Comments

@KovalchukLTD
Copy link

Hi, I have a bug. I use this library and have such case:
I have my local SPM that includes GoogleMaps-SP, and my package added to my app. When I building my app for the iPhone simulator like this

xcodebuild -scheme -workspace .xcworkspace -configuration Simulator -derivedDataPath build -sdk iphonesimulator

when I drop on iPhone simulator and launch it, I have a crash on librarary:

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: DYLD 1 Library missing
Library not loaded: @rpath/GoogleMaps.framework/GoogleMaps
Referenced from: /Users/USER/Library/Developer/CoreSimulator/Devices/5BC26852-49D8-46B3-9484-D63101EE7751/data/Containers/Bundle/Application/1B718674-D1BB-4F15-A98A-68752564C704/MyApp.app/...
Reason: tried: '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/GoogleMaps.framework/GoogleMaps' (no such file), '/usr/lib/swift/GoogleMaps.framework/GoogleMaps' (no such file, not in dyld cache), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/GoogleMaps.framework/GoogleMaps' (no such file), '/usr/lib/swift/GoogleMaps.framework/GoogleMaps' (no such file, not in dyld cache), '/Users/tequila/Library/Develope
(terminated at launch; ignore backtrace)

When I build an archive for a device(xcodebuild -scheme -workspace .xcworkspace -configuration Release -destination generic/platform=iOS clean) or run from xcode for the simulator - everything is ok.

Do you have any idea why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant