Xcode Build error with Unity 3D and Google Cardboard for iOS -
i created simple unity project google cardboard sdk ios downloaded github. working in unity editor, once build file , try run in xcode build failed. disabled bitcode because getting complier error asking me enable/disable it. didn't solve issue. when try build xcode following error instead:
undefined symbols architecture armv7: "_sectrustevaluate", referenced from: ___75-[gtmsessionfetcher urlsession:task:didreceivechallenge:completionhandler:]_block_invoke651 in libvrunity.a(gtmsessionfetcher.o) ld: symbol(s) not found architecture armv7 clang: error: linker command failed exit code 1 (use -v see invocation)
environment:
unity 5.3.2f1
xcode 7.2 (7c68)
ios 9.2.1 (iphone 6s plus)
google cardboard sdk ios
_sectrustevaluate part of security framework on ios , wouldn't loaded when running in unity editor. in xcode project open project view , select tab 'build phases'. towards bottom of view there 'link binary libraries' @ bottom of 2 buttons + , -. click + button , list select 'security framework' , press add. once complete project should build , run in xcode.
Comments
Post a Comment