iosxcodelldbgoogle-vr-sdkresonance-audio

GVR Audio Engine for iOS crashing


I'm trying to run a program using the Google Resonance Audio SDK for iOS, but every time I try to initialize the GVRAudioEngine, the application crashes and this error appears in XCode:

Thread 1: EXC_BAD_ACCESS (code=1, 
      address=0xffffffffffffffe8)

Does anyone have experience running Google Resonance Audio on iPhone?

Specifically, I'm trying to run the program from this tutorial, Treasure Hunt Demo, the example tutorial provided by Google, but using Xcode 10.0 and iOS 11 or 12, I get the error message above while following the directions.


Solution

  • Use this podfile

    target 'TreasureHunt' do
      pod 'GVRKit' , '1.140.0'
      pod 'GVRAudioSDK' , '1.140.0'
    end
    

    And run pod update

    This crash could be caused when there is a version mismatch between GVRSDK and GVRAudioSDK(source).