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

updating podspec for tvos #353

Closed
wants to merge 1 commit into from
Closed

Conversation

rcarlsen
Copy link

Recent branches of CocoaPods support tvos as a platform:
CocoaPods/Core#263

It seems that tvOS provides frameworks that CocoaAsyncSocket uses, so we should enable tvos as a supported platform.

@chrisballinger
Copy link
Collaborator

Does this require a pre-release version of Cocoapods for Travis to pass? If you fix the .travis.yml that I'll merge, thanks!

@rcarlsen
Copy link
Author

Yes, it's using the tvOS branches of several CocoaPods repos listed in the linked issue.
I also assume that it will require Xcode 7.1 (which is still in beta) for the tvOS SDK.

You can close this, or revisit it when these tools are released.

CocoaAsyncSocket does compile and function on Apple TV.

@chrisballinger
Copy link
Collaborator

I'll leave the PR open and merge it after the Travis Xcode 7.1 issue is closed: travis-ci/travis-ci#4799

@JazzBallet
Copy link

@rcarlsen How do you get this to compile for tvos? I need it so bad and I can't add any of the frameworks to my project since they are only for OS X or iOS. Is there a specific branch I need to use, I need don't really need the pods, just the framework.

@rcarlsen
Copy link
Author

Follow the comment thread in the CocoaPods issue linked above. You need to create a Gemfile to build the tvos branches of the CocoaPods tools and use that to compile this modified version of the CocoaAsyncSocket Podspec.

@vassilisimon
Copy link

@rcarlsen Could you please tell me how to compile your Podspec? I want to use CocaoAsyncSocket in my tvOS project, but I've no idea how.

Edit: okay, I forked and modified it.

@ChaosCoder
Copy link
Contributor

I created a new tvOS target + scheme for Carthage and Cocoapods support, see issue #362 and pull request #363.

@rcarlsen
Copy link
Author

I believe that cocoapods has released the version which supports tvos:
(https://github.com/CocoaPods/CocoaPods/releases/tag/0.39.0)

However, it seems that #363 should supersede this pull request.

@rcarlsen rcarlsen closed this Oct 15, 2015
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.

5 participants