Hello! My problem is part Xcode and part Player settings related, I really hope that somebody is able to help me!
I was ready to submit my app to the App Store but an error occurred when I tried to do so. It said that âall apps have to support 64 bit format from June 1st onwardâ or something similar. I then changed the changed architectures in Xcode (build settings) to Standard architectures (armv7, arm64). I also changed Scripting Backend to IL2CPP, checked âUse IL2CPP precompiled headerâ and changed Architectures to universal in the Unity Player settings.
At this point I think I deleted some .mm, .m & .h files, but only unused ones like soomla.
After this I tried the game and it crashed when I collided with a wall, which triggers
Handheld.Vibrate();
The error said (in Xcode) that there was bad access to some line.
Then I went to sleepâŚ
Today when I woke up the game didnât build at all. Xcode had several semantic issues, something like âxxx1 doesnât exist, did you mean xxx2â? Fixing them fixed that problem but created two new ones, so that was weird.
I recovered the deleted files from the trash and now I get one error (in Bulk_Arrays_10.cpp)
âUse of undeclared identifier âWaitHandleU5BU5D_t4552_StaticFieldsââ
Is there an easy fix to get the game working again? Validating project settings in Xcode doesnât help.
Thanks a lot in advance!
.
Edit: Changed .NET 2.0 subset to .NET 2.0 in the player settings but it didnât solve the problem.
Edit 2:
I replaced the build with a new one and got the same error (in Bulk_Arrays_10.cpp)
âUse of undeclared identifier âWaitHandleU5BU5D_t4552_StaticFieldsââ
EDIT 3: When building on Xcode I now get 2 Apple Mach-O Linker Errors.
Undefined symbols for architecture armv7:
âOBJC_CLASS$_OneSignalâ, referenced from:
objc-class-ref in OneSignalUnityRuntime.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Edit 4: Clearing DerivedData folder didnât solve the problem.