DracoUnity icon indicating copy to clipboard operation
DracoUnity copied to clipboard

build fail on iOS arm64

Open 625673575 opened this issue 2 years ago • 1 comments

企业微信截图_9589d623-e81a-4e81-9dac-3d06e93dbea1(1)

I've tried to disable Burst compile, but it doesn't work

625673575 avatar Jul 19 '22 06:07 625673575

It seems like the binary libraries are not getting linked to properly.

Go to the project view and follow this path: Packages/Draco 3D Data Compression/Runtime/Plugins/iOS. Within that folder there should be a file named libdracodec_unity.a. Certify that it is around 10MB.

If not, chances are you cloned this package manually and did not pull the GIT LFS files properly.

hth

atteneder avatar Aug 26 '22 10:08 atteneder

@atteneder seems like something happening with xcode 14. i was able to build properly on xcode 13, but cant build it now with xcode14 + ventura

akash14darshan avatar Nov 03 '22 14:11 akash14darshan

Hi; can reproduce this issue as well - XCode 14.1 (14B47b), will post back if I get a workaround.

AdamFrisby avatar Nov 08 '22 14:11 AdamFrisby

Hi; can reproduce this issue as well - XCode 14.1 (14B47b), will post back if I get a workaround.

In my case it was git-lfs pointer files being copied into the build directory, manually repairing them fixed the error. ( :| )

AdamFrisby avatar Nov 08 '22 14:11 AdamFrisby

@atteneder seems like something happening with xcode 14. i was able to build properly on xcode 13, but cant build it now with xcode14 + ventura

I guess so, the .a file is manually copied into the Plugins/iOS.But I don't ever try another version of xCode.

625673575 avatar Nov 09 '22 08:11 625673575

I just tried to build the demo project successfully using:

  • Xcode 14.1 on Ventura
  • Unity 2019 LTS
  • DracoUnity 3.3.2 installed via OpenUPM

I need more information in order to help you. Maybe try building that project yourself and see if it works there?

atteneder avatar Nov 15 '22 14:11 atteneder