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

Semantic Issues #226

Closed
charlie-campanella opened this issue Sep 7, 2018 · 12 comments
Closed

Semantic Issues #226

charlie-campanella opened this issue Sep 7, 2018 · 12 comments

Comments

@charlie-campanella
Copy link

charlie-campanella commented Sep 7, 2018

When building my application, I get semantic warnings similar to the following:

'NSLayoutYAxisAnchor' is only available on iOS 9.0 or newer
'NSLayoutYAxisAnchor' is only available on iOS 9.0 or newer

Is it possible to get rid of these warning messages? There's 24 of them every time I compile my application. I set my build target to iOS 9.0 -- not sure why this is happening.

@lwdupont
Copy link
Contributor

lwdupont commented Sep 7, 2018

Ah, I think I know what's going on.. Xcode 9 has a new way to check for availability (@available) - see https://medium.com/@derrickho_28266/xcode-9-ad8ee9c4cf9.

For now can you turn off warnings in your Pod file? I'll add a task to fix it.

@toohotz
Copy link
Member

toohotz commented Sep 13, 2018

@lwdupont I have a PR incoming that should resolve this, was hanging tight for the GM of Xcode 10 to be released.

@lwdupont
Copy link
Contributor

@toohotz Super, thank you!

@ismyhc
Copy link

ismyhc commented Oct 21, 2018

@toohotz any update on this PR? Id love to clean up these warnings in my project :)

@lwdupont
Copy link
Contributor

I think I was waiting for the other person tagged in the pr, but thanks for the tickle, I'll get it merged this afternoon my time.

@ismyhc
Copy link

ismyhc commented Oct 21, 2018

Awesome!! 🙂

@ismyhc
Copy link

ismyhc commented Oct 26, 2018

@lwdupont any word on getting this merged and updating cocoapods version? :)

@lwdupont
Copy link
Contributor

@ismyhc Sorry, the week has gotten away from me. Let me try my work laptop right now. @toohotz couldn't reproduce my assert at the end of the unit testing, so hoping it's just my personal laptop.

@lwdupont
Copy link
Contributor

@ismyhc No luck, I'm still getting the Apple assert. I'll see if I can fix it (I hate to comment out the unit test that's causing it, it's old though: testPriorityForPinningToLayoutGuides )

@ismyhc
Copy link

ismyhc commented Oct 27, 2018

@lwdupont no worries! 🙂 I appreciate you working on it!

@lwdupont
Copy link
Contributor

Ok, released!


🎉 Congrats

🚀 PureLayout (3.1.4) successfully published
📅 October 27th, 11:04
🌎 https://cocoapods.org/pods/PureLayout
👍 Tell your friends!

@ismyhc
Copy link

ismyhc commented Oct 29, 2018

@lwdupont awesome!! Thank you!

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

No branches or pull requests

4 participants