4np / UitzendingGemist

An *Unofficial* Uitzending Gemist application for Apple TV 4 (**deprecated, use TV Gemist ☝🏻**)
Apache License 2.0
49 stars 8 forks source link

Xcode 9: build error #24

Closed dizzzz closed 7 years ago

dizzzz commented 7 years ago

when I wanted to update the app I got the following error:

object_cpp_and_new_issue_ _4np_uitzendinggemist

the git project is clean (no local changes). Any idea how to get the app built again?

(using xcode 9 as pushed this week)

4np commented 7 years ago

Hey Dannes,

Thanks for reporting, I will take a look. Just another heads up, the NPO has developed a new (authenticated) API that we can’t really use (although there is a way to use it, but that will be closed soon if we start using it). In practice this basically means that the API can be considered abandoned. As you may have noticed the tips section is rather empty, which is caused by the same abandonment. The result is that the we're at the mercy of the NPO; whenever they decided to close / pull the old API, the app will stop working. Let's hope they don't anytime soon :)

Cheers, Jeroen

sberrevoets commented 7 years ago

The solution here is a pod update RealmSwift. After it finishes, build again. The project still emits a bunch of warnings, but it compiles just fine.

@4np No recourse to this probably imminent shutdown? :/

tomvanhelderen commented 7 years ago

I hope Jeroen will fix it! Thanx, Tom

4np commented 7 years ago

Hey guys,

Sorry, I was away for the weekend (the weather was just too nice over here β˜€οΈπŸπŸ‚). Version 1.6.0 is now compatible with Xcode 9 / tvOS 11 :)

There are still a couple of warnings (and the code could use some improvement), but you can ignore all of that :)

@sberrevoets : I have been investigating an alternative a while ago, but the new API uses client tokens as well as https, so it seems like they started to close down unwanted API usage... The good news is I managed to find an API token, the bad news is that they can revoke the token at their pleasing. There is some other weirdness in the new API (sorting, searching, etc) that do not support everything I would like to see, nor does is the new API feature par with the current / old one, but on the other hand it does support pagination which makes the app far more responsive. But, let's see where that goes... I'll give it another stab when I have time :)

dizzzz commented 7 years ago

thnx for updating! I'll check asap...