Skip to content

Using Parse in Xcode Project with iOS and tvOS targets #693

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

Closed
istx25 opened this issue Dec 26, 2015 · 1 comment
Closed

Using Parse in Xcode Project with iOS and tvOS targets #693

istx25 opened this issue Dec 26, 2015 · 1 comment
Labels
type:question Support or code-level question

Comments

@istx25
Copy link

istx25 commented Dec 26, 2015

Hello!

I am trying to use Parse in a project that has heavily leveraged the iOS framework. I am building a similar version of the application for the TV, but of course I need the tvOS target included. I've scoured all of the issues on this repository related to tvOS support and I have searched Stack Overflow.

How do I use the tvOS framework and iOS framework in the same Xcode project?

Any leads would be appreciated.

Thanks! 💃

@nlutsenko
Copy link
Contributor

Hey @istx25, our SDK supports tvOS as well as iOS, but they are somewhat different behind the scenes.
To make this happen in your app - there are 2 paths you can follow:

Approach #1:

  • Download Parse-iOS and Parse-tvOS from releases page of this repo and unarchive in separate directories in your project folder.
  • Drag & Drop all frameworks in both folders to your Xcode project and link with relative targets (please note that both Parse.framework and Bolts.framework from archives are compatible with only either iOS or tvOS, so please make sure you are including the proper ones for each platform/target).

Approach #2:

  • Use CocoaPods 😁
  • Your podfile would look something like this:
# Uncomment this line if you're using Swift or targeting iOS 8.0+
# use_frameworks!

target 'PodTest' do
  platform :tvos, '9.0'
  pod 'Parse'
end

target 'PodTest-iOS' do
  platform :ios, '8.0'
  pod 'Parse'
end

Let me know if this helps or please reopen this issue if it doesn't.

@nlutsenko nlutsenko self-assigned this Dec 27, 2015
@nlutsenko nlutsenko added the type:question Support or code-level question label Dec 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:question Support or code-level question
Projects
None yet
Development

No branches or pull requests

2 participants