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

Add support for tvOS #293

Merged
merged 3 commits into from
Jul 16, 2019
Merged

Add support for tvOS #293

merged 3 commits into from
Jul 16, 2019

Conversation

omidontop
Copy link
Contributor

Adding support for tvOS...

Related: #28

@pcantrell
Copy link
Member

Great, thanks! Are you using Siesta in a tvOS app? Is it working for you? Do the specs run?

I don't want to officially declare tvOS support until there’s confirmation from real projects that it’s working properly.

@omidontop
Copy link
Contributor Author

@pcantrell Cheers! I just started working on this project and got it to compile today with the updated specs. So far so good and it compiles nicely. I thought I'd create the PR early to keep you updated as I go forward.

@pcantrell
Copy link
Member

Excellent, please do. I’d love to officially add tvOS support once it’s confirmed to work.

@omidontop
Copy link
Contributor Author

Absolutely, I need that too.

@snoozemoose
Copy link

snoozemoose commented Apr 24, 2019

@pcantrell I've been using Siesta in a tvOS app for nearly 2 years now using a similar patch (requiring tvOS 10.0 instead) and it has been working very good. I did create my own version of ResourceStatusOverlay (swift and xib) to work on tvOS and to support some app specific requirements. But other than that I'm using vanilla Siesta.

@pcantrell
Copy link
Member

Thanks, @snoozemoose, that’s great to know!

@omidontop
Copy link
Contributor Author

@pcantrell I can now safely say that Siesta works very well on tvOS and the changes in this PR was the only thing needed for that matter.

@omidontop omidontop marked this pull request as ready for review July 14, 2019 11:41
@omidontop
Copy link
Contributor Author

@pcantrell It would be great if we can merge this in. If there's anything else associated with this merge request that needs to be done, I will try to help.

@pcantrell
Copy link
Member

Yes! Sorry to leave you hanging. I’m working on this now.

I’m doing a pass now to change all the settings for the tvOS targets to match the other targets as closely as possible. There are currently several places where there are minor internal differences that don’t stop the tvOS targets from working, but might cause trouble in the future (e.g. differences in how build settings specify relative paths). I’m also enabling the SiestaUI target for tvOS, where it should work other than lacking a default .xib file for the status overlay.

@pcantrell
Copy link
Member

I’ve pushed the build setting changes. While I get Travis sorted out, @omidontop, would you please try my latest push to this branch on your project and make sure my setting changes work on your end?

@omidontop
Copy link
Contributor Author

@pcantrell Great work! Thank you so much for picking this up again. Of course I can test it :) Give me a sec.

@omidontop
Copy link
Contributor Author

@pcantrell It compiles and works just fine!

@pcantrell
Copy link
Member

Fantastic! Now I just have to get tvOS working on CI, then I’ll merge.

@omidontop
Copy link
Contributor Author

Is the scheme name correct? You know with the whitespaces and all...

-scheme Siesta tvOS

@pcantrell
Copy link
Member

It’s some more fiddly mistake having to do with mismatches between the various names different Xcode CLI tools use for simulator platforms & versions. Trying different settings in between making dinner here.

Fair warning: once I have it figured out, I’m going to roll up all the intermediate “fiddling with Travis” commits and force push so we don’t end up with a dozen Travis experiments littering the history.

@pcantrell
Copy link
Member

OK, it’s working! Couldn’t get CI to work with any version of tvOS except 12.1, but I’m pretty sure it’s a Travis / Xcode issue and not a Siesta issue, so … oh well. Merging!

@pcantrell pcantrell merged commit 3847e03 into bustoutsolutions:master Jul 16, 2019
@omidontop
Copy link
Contributor Author

@pcantrell Bravoo! Thanks a lot for the awesome work! 🍺 Had many more bits and pieces involved than I imagined! Do you also have any new releases scheduled?

@pcantrell
Copy link
Member

Not scheduled, but planning to cut one whenever I finally get the new FileCache stuff sorted out.

@pcantrell
Copy link
Member

And thanks to you and everyone who tried it out on tvOS! It was crucial having real users for this.

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 this pull request may close these issues.

3 participants