googlevr / gvr-ios-sdk

Google VR SDK for iOS
http://developers.google.com/vr/ios/
Other
647 stars 191 forks source link

App freezes when switching viewer. #136

Closed iraritchiemeek closed 8 years ago

iraritchiemeek commented 8 years ago

TCC__CRASHING_DUE_TO_PRIVACY_VIOLATION__:

I believe this is because it never asks for camera permission, works fine in simulators.

iraritchiemeek commented 8 years ago

nathanmartz commented 8 years ago

This is a change in iOS policy. To fix it you need to add the NSCameraUsageDescription key to the app’s Info.plist as we've done in our sample.

On Sun, Oct 9, 2016 at 3:27 PM, Ira. notifications@github.com wrote:

https://camo.githubusercontent.com/ad6ca62491672fe7792b90750cc18e0da7c64570/687474703a2f2f692e696d6775722e636f6d2f3970624e4431462e6a7067

https://camo.githubusercontent.com/9e82a442804e2f5366300186a38270cde0da53fe/687474703a2f2f692e696d6775722e636f6d2f63664e493538312e706e67

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/googlevr/gvr-ios-sdk/issues/136#issuecomment-252517401, or mute the thread https://github.com/notifications/unsubscribe-auth/ANamfj2Jw3xmaukC95ZkjVw-wqoVAe2qks5qyWo6gaJpZM4KSIZF .

iraritchiemeek commented 8 years ago

Oh oops thanks!