-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
tvOS support #268
Comments
+1 |
Does it not work? If not, what prevents it working? |
We've got promises working in tvOS as is. |
I'm trying to build the swift2-beta5 branch (a413bba) using carthage update --platform tvOS. Perhaps there's a more current swift2 branch I didn't see, or maybe I'm missing something else? Anyway, this is the output I get: carthage update --platform tvOS If you believe this to be an error, please file an issue with the maintainers at https://github.com/mxcl/OMGHTTPURLRQ/issues/new |
Hmmm. We integrated with cocoapods and used that branch. |
What version of CocoaPods? I ask because it looks like tvOS support was worked on, but only lives in this PR right now: But it doesn't look like it's been merged in... |
We are on cocoa pods 0.38.2, and here's our podfile: platform :ios, '8.0'
use_frameworks!
inhibit_all_warnings!
pod 'PromiseKit'
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SUPPORTED_PLATFORMS'] = ['appletvos', 'appletvsimulator'];
end
end
end This doesn't use the new tvOS branch, and just manually updates the build settings to support tv and tv simulator. |
I've got problems with some other pods not being compatible with use_frameworks!, so it's Carthage for any swift libraries in the project. But your fix is interesting! |
@dbachrach has a great solution, but also causes PromiseKit to import some
|
it does not seem like this still works in the current version of cocoa pods (1.0.0.beta.2). my podfile requires this as the platform: 'platform :tvos, '9.0'' so this does not work:
any ideas on how this could work in the current cocoa pods version? |
The latest version (3.0.2, just released) includes proper tvOS support so the workarounds mentioned here should no longer be necessary. Please test and report back. Thanks! |
I would love to be able to use PromiseKit in a tvOS project... Is there any plan to add support for this in the near future?
The text was updated successfully, but these errors were encountered: