react-native-arkit
react-native-arkit copied to clipboard
Undefined in not an object (evaluating ARKit.ARPlaneDetection)
@nitish1099 can you verify that the library is installed correctly?
It should appear under your Libraries in xcode

some more context would be helpful.
Which version of the library do you use?
0.9.0-beta.7
ok thx. Can you give a better reproduction? Did it work with previous versions?
Haven't tried, This is the first time I'm using this kit. Also I'm getting this error in simulator. It should work there right?
arkit only works on the device, altough it should not through that error. You should get orbit control on the simulator.
Check that you are using ios11 and latest xcode.
I am using xcode 9 and iOS 11 iPhone 6 in simulator
On 10-Mar-2018 3:28 AM, "Marco Wettstein" [email protected] wrote:
arkit only works on the device, altough it should not through that error. You should get orbit control on the simulator.
Check that you are using ios11 and latest xcode.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/react-native-ar/react-native-arkit/issues/169#issuecomment-371956840, or mute the thread https://github.com/notifications/unsubscribe-auth/AB0a8MvT5cHrvsxS2ZehEP0RZDtNaqMRks5tcvr1gaJpZM4Sk4ry .
can you:
- check if under targets --> build phases --> you see libRCTARKit.a
- clean the projekt: cmd + shift + k
- restart packager (react-native start)
- run it again in xcode on real device
Okay it's working in iPhone 8 simulator for some reason
Thanks
On 10-Mar-2018 3:46 AM, "Marco Wettstein" [email protected] wrote:
can you:
- check if under targets --> build phases --> you see libRCTARKit.a
- clean the projekt: cmd + shift + k
- restart packager (react-native start)
- run it again in xcode on real device
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/react-native-ar/react-native-arkit/issues/169#issuecomment-371960823, or mute the thread https://github.com/notifications/unsubscribe-auth/AB0a8Cs-5Kx-yGFp3_x1rFwBbcF4Bk3Tks5tcv80gaJpZM4Sk4ry .
I had the same issue. I just followed the manual installation steps and added the .workspace instead of the .xcodeproj and it worked.