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

When built with Carthage, version is 0.0.0 #131

Closed
drekka opened this issue Jul 20, 2018 · 3 comments · Fixed by #132
Closed

When built with Carthage, version is 0.0.0 #131

drekka opened this issue Jul 20, 2018 · 3 comments · Fixed by #132

Comments

@drekka
Copy link

drekka commented Jul 20, 2018

I've been trying to use the Stylist framework which has a dependency on Yams. Stylist is expecting version 1.0.0 of Yams, but when the apps tries to start, it returns this message:

dyld: Library not loaded: @rpath/Yams.framework/Yams
Referenced from: /Users/derekclarkson/Library/Developer/CoreSimulator/Devices/5951E8ED-55B2-4E70-BDE3-0858F47C7C40/data/Containers/Bundle/Application/9FD14F8C-C4D8-4735-AAC0-46D5C61F74A4/Crux.app/Frameworks/Stylist.framework/Stylist
Reason: Incompatible library version: Stylist requires version 1.0.0 or later, but Yams provides version 0.0.0

I've no idea at this time why Yams is reporting 0.0.0 as a version.

@jpsim
Copy link
Owner

jpsim commented Jul 20, 2018

Please let us know if you find out why this is happening.

norio-nomura added a commit that referenced this issue Jul 20, 2018
Since CocoaPods installs dependencies with setting `DYLIB_*_VERSION` as `1`, `DYLIB_*_VERSION` did not match between `Yams.framework` built with own `Yams.xcodeproj` and installed by CocoaPods.
This change matches them and resolves #131.
@norio-nomura
Copy link
Collaborator

norio-nomura commented Jul 20, 2018

I opened #132 that would fix this issue.
@drekka Could you please try using following entry in your Cartfile?

github "jpsim/Yams" "nn-dylib-versions"

@drekka
Copy link
Author

drekka commented Jul 23, 2018

Thanks. Looks like that works just fine.

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

Successfully merging a pull request may close this issue.

3 participants