Long story, but we had Burst package installed into the project. Unfortunately, we did not know that IL2CPP for ios causes crashing on iphones with burst compiler.
So I uninstalled burst on my computer and saw that the crashing was fixed on ios. The other project members also removed burst. (also whenever it’s removed, unity crashes and then you need to delete the library folder). Have had multiple successful builds since.
We are using github and deleting packages doesn’t always carry over. But somehow burst has snuck a reference back into the project that only causes an error in XCode.
Error:
clang error: No such file or directory: ‘[File Directory]/Libraries/lib_burst_generated.cpp’
I have tried reinstalling Burst. Same issue.
Then disabling burst compilation. Same issue.
Deleted library. Same issue.
Resetting packages to default and then reinstalling the ones we need without burst. Same issue
Making a new project with the assets and installing packages I need without burst. It comes over through that folder, but I don’t know where. Same issue.
Making the project a package and putting it into a new project. Same issue
Edit: also tried to reclone. Same issue
I need help as soon as possible.
Edit: none of the other builds even have that cpp file. I have no idea how to fix this…