1

Trying to figure out how to even start debugging this issue. I'm using Google VR on Unity, deploying to xcode for the build to iOS devices. I"ve opened the workspace instead of the project in xcode as referenced in: Xcode Project vs. Xcode Workspace - Differences

I've attempted to fix as referenced in: Duplicate Symbols for Architecture arm64

Still getting the same error and have no idea where to go from here.

duplicate symbol _OBJC_CLASS_$_DeviceParamsSyncHelper in: /Users/OriginDevIT/Documents/ODIT_ARVR/GP_Excel/builds/ios/V1.9.11.b11/Pods/GVRSDK/Libraries/libGVRSDK.a(DeviceParamsSyncHelper.mm.o) /Users/OriginDevIT/Documents/ODIT_ARVR/GP_Excel/builds/ios/V1.9.11.b11/Libraries/Plugins/iOS/libgvrunity.a(DeviceParamsSyncHelper.mm.o) duplicate symbol _OBJC_METACLASS_$_DeviceParamsSyncHelper in: /Users/OriginDevIT/Documents/ODIT_ARVR/GP_Excel/builds/ios/V1.9.11.b11/Pods/GVRSDK/Libraries/libGVRSDK.a(DeviceParamsSyncHelper.mm.o) /Users/OriginDevIT/Documents/ODIT_ARVR/GP_Excel/builds/ios/V1.9.11.b11/Libraries/Plugins/iOS/libgvrunity.a(DeviceParamsSyncHelper.mm.o) ld: 2087 duplicate symbols for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

f71316
  • 252
  • 3
  • 13
  • This is sometimes caused by the same file being included twice in the Xcode project. To see if this is the case, open your project, select the project, select the 'Build Phases' tab in the project settings, and check for duplicates in the 'Compile sources' phase. Use the 'filter' box to make this easier. Also, clean the project, and clean the Xcode derived data folder, and restart Xcode – Rich Tolley Mar 17 '18 at 17:25
  • Thanks for the quick reply. Ok, I did find a duplicate in the Compile sources, and removed it. Then cleaned the project, cleaned the xCode Derived Data folder (had to search to find how to do this, but easy enough). Then restarted xCode, and on build... same error. Any idea where else I should look or anything else I can do to try to debug this. I'm not an xCode expert and would love to avoid it completely, but sadly I'm required to use it to deploy Unity apps to iOS devices. – f71316 Mar 17 '18 at 18:00

0 Answers0