-
Notifications
You must be signed in to change notification settings - Fork 140
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
Using ARKit as optional framework and SCNHitTestSearchModeAll #166
Comments
you can use this: https://github.com/HippoAR/react-native-arkit/blob/8f872ea40d89e1f4b205a96e12ec93edf0079345/ios/RCTARKit.m#L241 this does a runtime check just change it to 11.0 or so |
I tried
but no luck, its still crashes at starutp, because once compiled runtime is searching for this symbol. |
it should work with this runtime check. Does xcode give you any warning, if you change the target to ios 10 or so? |
@macrozone not sure about warnings, but this change solved issue:
|
I'm using ARKit as optional framework for my app.
After recent update i've noticed that app started crashing under iOS 10.
After some research i've found that problem is caused by selector
@(SCNHitTestSearchModeAll)
.SCNHitTestSearchModeAll is available only in iOS 11. If i comment selector, everything starting ok.
What's the best way to isolate this selector? and make it used only in iOS11?
The text was updated successfully, but these errors were encountered: