atteneder / DracoUnity

Draco 3D Data Compression Unity Package
Apache License 2.0
247 stars 39 forks source link

build fail on iOS arm64 #50

Closed 625673575 closed 1 year ago

625673575 commented 2 years ago
企业微信截图_9589d623-e81a-4e81-9dac-3d06e93dbea1(1)

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

atteneder commented 2 years ago

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

akash14darshan commented 2 years ago

@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

AdamFrisby commented 1 year ago

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

AdamFrisby commented 1 year ago

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. ( :| )

625673575 commented 1 year ago

@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.

atteneder commented 1 year ago

I just tried to build the demo project successfully using:

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

atteneder commented 1 year ago

No more info, so I assume it was a GIT LFS error and is resolved. Re-open with more info if that's not the case. Thanks!