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

[DesigningDependencies] Unable to run example app on iOS device #67

Open
slashmo opened this issue Aug 21, 2020 · 1 comment
Open

[DesigningDependencies] Unable to run example app on iOS device #67

slashmo opened this issue Aug 21, 2020 · 1 comment

Comments

@slashmo
Copy link

slashmo commented Aug 21, 2020

Where you able to run the DesigningDependencies app (episode 113) on an actual iOS device? For me, there's the following linker issue (tested in both Xcode 12 beta 4 & 5):

dyld: Library not loaded: @rpath/LocationClient.framework/LocationClient
Referenced from: /private/var/containers/Bundle/Application/F0C8AB02-6BF5-4C73-AE80-C3A291595B2E/DesigningDependencies.app/Frameworks/WeatherFeature.framework/WeatherFeature
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/F0C8AB02-6BF5-4C73-AE80-C3A291595B2E/DesigningDependencies.app/Frameworks/WeatherFeature.framework/Frameworks/LocationClient.framework/LocationClient: code signature in (/private/var/containers/Bundle/Application/F0C8AB02-6BF5-4C73-AE80-C3A291595B2E/DesigningDependencies.app/Frameworks/WeatherFeature.framework/Frameworks/LocationClient.framework/LocationClient) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib

@mbrandonw
Copy link
Member

We're looking into this but we're honestly not sure what is going on. This seems to be related to all of the SPM+Xcode bugs with frameworks having dependencies. If you figure something else please let us know.

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

No branches or pull requests

2 participants