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

watchOS 2.0 support? #135

Closed
mohwaili opened this issue Oct 31, 2015 · 4 comments
Closed

watchOS 2.0 support? #135

mohwaili opened this issue Oct 31, 2015 · 4 comments

Comments

@mohwaili
Copy link

Will the watchOS 2.0 get any support?

@sucharuhasija
Copy link

Yes
On 31-Oct-2015 9:39 pm, "mohwaili" notifications@github.com wrote:

will the watchOS 2.0 be supported?


Reply to this email directly or view it on GitHub
#135.

@phimage
Copy link
Member

phimage commented Oct 31, 2015

must edit podspec and add

s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'

then add in code watchos ant tvos case (#if os (watchOS)) when there is

#if os(iOS)

I can PR next week but don't know when PR will be merged

@phimage
Copy link
Member

phimage commented Nov 9, 2015

@mohwaili or @sucharuhasija did you make development for watchos ?
Is it really necessary to make a framework compatible with watchos because when I create a project on xcode, all controller code seems to be executed on iOS, only UI is on the watch, but maybe I am wrong

I already add compatibility into podspec with one of my own project and see that watch os compile code with i386 , not x86_64 '(and have some bugs)

@mohwaili
Copy link
Author

mohwaili commented Nov 9, 2015

@phimage The problem I had is: my project has a shared framework and I wanted to reuse it for the apple watch (since watch os2 it's only possible when duplicating the framework target). The user authentication is embedded in this shared framework, when installing the pod I received an error. So the quick fix was adding watch os2 support without changing anything in my shared framework.

The answer to your question: it's not necessary to add watch os2 support, I should have had considered this issue from the beginning. Now I've separated the login and authentication from the shared framework and everything is working.

@phimage phimage closed this as completed in c74f3df Dec 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants