Open naoyax628X opened 5 years ago
Can you make sure the version number of GVDSDK matches to the GvrAudioSDK in Podfile.lock?
This happens when there is a version mismatch.
It worked fine if you match the version of GVSDK with the version of GvrAudioSDK. Thank you very much.
I also encountered this problem, and specified the corresponding version, it's ok.
target 'TreasureHunt' do
pod 'GVRKit', '~>1.140.0'
pod 'GVRAudioSDK', '~>1.140.0'
end
and now google vr version info:
ft$ pod trunk info GVRAudioSDK
GVRAudioSDK
- Versions:
- 1.100.0 (2017-10-17 19:04:21 UTC)
- 1.120.0 (2017-12-15 21:36:22 UTC)
- 1.140.0 (2018-04-23 17:28:05 UTC)
- Owners:
- Google <cocoapods@google.com>
- Google Daydream <daydream-releaser@google.com>
ft$ pod trunk info GVRKit
GVRKit
- Versions:
- 1.100.0 (2017-10-17 19:02:14 UTC)
- 1.120.0 (2017-12-15 21:38:09 UTC)
- 1.140.0 (2018-04-23 17:26:34 UTC)
- 1.170.0 (2018-09-27 01:01:06 UTC)
- 1.80.0 (2017-08-16 19:28:57 UTC)
- Owners:
- Google <cocoapods@google.com>
- Google Daydream <daydream-releaser@google.com>
that did not work for us. we had to comment out the whole initialization to make it work.
It crashes at line 517. _gvr_audio_engine = [[GVRAudioEngine alloc] initWithRenderingMode:kRenderingModeBinauralHighQuality];
Error Message: Thread 1: EXC_BAD_ACCESS (code=1, address=0xffffffffffffffe8)
Log: 2018-10-12 15:05:49.411154+0900 TreasureHunt[330:115749] [DYMTLInitPlatform] platform initialization successful W1012 15:05:49.476230 1 commandlineflags.cc:1311] Ignoring RegisterValidateFunction() for flag pointer 0x1015ec930: no flag found at that address 2018-10-12 15:05:56.737200+0900 TreasureHunt[330:115593] INFO [vr/gvr/capi/src/gvr.cc:116] Initialized GVR version 1.170.0 2018-10-12 15:05:56.930170+0900 TreasureHunt[330:115593] INFO [vr/gvr/hmd/cardboard/cardboard_api_impl.cc:515] Creating swap chain with id: [1] 2018-10-12 15:05:56.930421+0900 TreasureHunt[330:115593] INFO [vr/gvr/hmd/cardboard/cardboard_api_impl.cc:519] BufferSpec 0: Size=V[2720, 1732], ColorFormat=Rgba8888, DepthFormat=RenderbufferDepth16, Samples=1, Views=1 (lldb)
Xcode version 9.4.1 iPhone 7 iOS 11.4.1
Please fix this bug.