Comments (10)
It worked! Thank you.
from contentful.swift.
Yep, this will happen soon once we're shipping 1.0
from contentful.swift.
awesome, thanks.
from contentful.swift.
The latest release has a binary build for Carthage attached: https://github.com/contentful/contentful.swift/releases/edit/0.2.0
from contentful.swift.
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
from contentful.swift.
Thanks for reporting, I'll look into fixing this in the coming days.
from contentful.swift.
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
from contentful.swift.
Just one more thing. Contentful.framework
requires iOS 9.0+ now. Is this correct?
from contentful.swift.
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.
from contentful.swift.
That's good, thanks again.
from contentful.swift.
Related Issues (20)
- resolveLinksArray returns array of NSNulls HOT 6
- func handleJSON can call two failure completions HOT 1
- Xcode 12 build warnings because Contentful.podspec is still using iOS8
- Including .localizeResults(withLocaleCode:) causes decoding to fail due to keyNotFound HOT 1
- completion handler is invoked twice with two different failure results HOT 5
- Initial data sync with Contentful in iOS takes more time when compare with Andoid HOT 3
- Api Reference unreachable
- Need to register two or more classes to a single Content Type
- Client is failing to parse Contentful api response HOT 2
- Incremental sync not supported on Preview API
- Contentful API breaks Swift Concurrency by calling completion handlers more than once HOT 4
- Models that conform to Resource and have a member variable named id, breaks resolveLinksArray method
- 1b8b443b61b8b37fafb06c1abad9b6be244c9de9
- The Contentful framework fails to build in XCode Version 14.3.1 HOT 2
- Client.jsonDecoderBuilder is not thread-safe
- import Contentful // Retain the client as a property on a type you define so that // the client's asynchronous network callbacks are executed. let client = Client(spaceId: "<space_id>", environmentId: "<environment_id>", // Defaults to "master" if omitted accessToken: "<access_token>") // Snippets for the images API assume that you already have an `Asset` in memory. var asset: Asset = ... // Type passed into callback will be a UIImage or NSImage depending on the current platform. client.fetchImage(for: asset, with: [ImageOption.formatAs(.png(bits: .standard))]) { (image: Result<UIImage>) in switch result { case .success(let image): // Use the image. case .error(let error): print(error) } }
- fetch and fetchArray consistently taking upwards of 2s
- Privacy manifest updates HOT 4
- 'fetchDecodable'-function does not immediately complete in case of an error
- Can we have a Macro-based annotation approach to serialisation like the Android SDK has?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contentful.swift.