Closed wvteijlingen closed 8 years ago
I'm getting the following error when trying to compile my app with this branch: https://gist.github.com/kurko/560ccaf4df5207f10193
Do you have any idea what that is? Perhaps related to ResourceProtocol?
Are you using Cocoapods or Carthage here?
Cocoapods.
It seems to be some kind of problem with the Result dependency that BrightFutures needs. In any case, I removed the Future extensions to slim down this library.
@wvteijlingen :heart: gonna retry tonight.
@wvteijlingen :heart: gonna retry tonight.
EDIT: YAY! It worked! I was able to get my application to run in Swift 2 with Xcode 7 and this branch.
Only problem I have now is I am getting an error with spine.HTTPClient. I can't set authorization headers.
This should be fixed now. The easiest way to set headers would be as follows though, given that you are using the default HTTPClient.
(spine.networkClient as! HTTPClient).setHeader("header", to: "value")
Works great! This was the last pending thing. I'll continue working on Xcode7/Swift2 now until I find something else :D
:tada: :tada: :tada: :tada: :tada: