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

Carthage support #3

Closed
dcilia opened this issue Feb 11, 2016 · 10 comments
Closed

Carthage support #3

dcilia opened this issue Feb 11, 2016 · 10 comments

Comments

@dcilia
Copy link

dcilia commented Feb 11, 2016

A friendly request to add Carthage support (build into a framework)

@neonichu
Copy link
Contributor

Yep, this will happen soon once we're shipping 1.0

@dcilia
Copy link
Author

dcilia commented Feb 11, 2016

awesome, thanks.

@neonichu
Copy link
Contributor

The latest release has a binary build for Carthage attached: https://github.com/contentful/contentful.swift/releases/edit/0.2.0

@woxtu
Copy link

woxtu commented Apr 25, 2016

Hi,

I tried to add contentful.swift to my project using Carthage, and I got the following runtime error. How can I fix it?

dyld: Library not loaded: @rpath/Clock.framework/Clock
  Referenced from: ***/Contentful.framework/Contentful
  Reason: image not found

FYI, I wrote Cartfile as follows:

github "contentful/contentful.swift" ~> 0.2

Carthage 0.16.2, Xcode 7.3

@neonichu neonichu reopened this Apr 25, 2016
@neonichu
Copy link
Contributor

Thanks for reporting, I'll look into fixing this in the coming days.

@neonichu
Copy link
Contributor

I somehow expected that carthage archive would also archive the dependencies and did not actually test this in an example app. Have now added a Cartfile and properly tested this with:

github "contentful/contentful.swift" ~> 0.2.1

@woxtu
Copy link

woxtu commented Apr 29, 2016

It worked! Thank you.

@woxtu
Copy link

woxtu commented May 1, 2016

Just one more thing. Contentful.framework requires iOS 9.0+ now. Is this correct?

@neonichu
Copy link
Contributor

neonichu commented May 1, 2016

Thanks for noticing, that was configured wrong in the Xcode project, I have updated the build for version 0.2.1 with one that has 8.0 deployment target.

@woxtu
Copy link

woxtu commented May 1, 2016

That's good, thanks again.

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

3 participants