EDIT: Fixed! A somewhat of a solution below. Not exactly sure what caused this, and I’m not exactly sure what fixed it. Hell, I’m not really sure of what to be sure of anymore.
I’m using the latest release of Unity (5.0.2f1) and xcode 6.2. I’m at a total loss at what to do. The only plugins I’m using in my project are the materialUI plugin and adbuddiz sdk. I submitted a ticket but I haven’t gotten a response yet. Apple rejected my app because it crashes on iOS 8.1. I don’t have a device with iOS 8.1 to test it on (only an iOS 6 device, which it doesn’t crash on), and the iOS 8.1 simulator crashes (known bug apparently: Unity 5.0.2f1 doesn't run in XCode Version 6.3.2 (6D2105) Simulator - Unity Engine - Unity Discussions)
So what can I do? I’ve rebuilt my game from the ground up, removed everything I wasn’t using, and recompiled it but it still crashes. They sent me the following crash reports (I symbolicated them)
Dyld Error Message:
Symbol not found: _UnityRegisterProInterface
Referenced from: /private/var/mobile/Containers/Bundle/Application/E3FD9E90-4DF2-4CB8-A309-1B94E1DF88D4/RingPass.app/RingPass
Expected in: flat namespace
Dyld Version: 353.12
Does this mean I messed up something in xcode? I don’t remember changing any values, but some googling shows me that “dyld errors are caused by a missing or a bad library linking, not code”.
The ticket number is 699320. I upgraded to Unity 5.0.2p4 and the crash still occurs (this time I tried building with IL2CPP w/ Universal Architecture). This is the crash error (which also occurs on a device):
dyld: lazy symbol binding failed: Symbol not found: _UnityRegisterProInterface
Referenced from: /Users/shivangsaxena/Library/Developer/CoreSimulator/Devices/4E6F2909-E116-494D-9D9A-CF68E5E47ED1/data/Containers/Bundle/Application/68EE237C-6FBC-4F3B-8634-2871BF6E2D5E/RingPass.app/RingPass
Expected in: flat namespace
dyld: Symbol not found: _UnityRegisterProInterface
Referenced from: /Users/shivangsaxena/Library/Developer/CoreSimulator/Devices/4E6F2909-E116-494D-9D9A-CF68E5E47ED1/data/Containers/Bundle/Application/68EE237C-6FBC-4F3B-8634-2871BF6E2D5E/RingPass.app/RingPass
Expected in: flat namespace
After trying literally everything (creating new xcode, using different versions, etc), it FINALLY WORKS! I hate to say it, but I’m not exactly sure how it was fixed. Here were the things that were done:
Clicked licencing in the help menu and “reactivated” my personal licence.
Restarted Unity
Unchecked and rechecked “Use unity splash screen”
Put in textures for all of the splash screen files
Took off all textures of the splash screen files
Restarted Computer
Recompiled for xcode (IL2CPP, Universal, .net subset)
I left xcode completely untouched (except adding storekit and adsupport for adbuddiz). Sorry, but these are all the steps I remember doing.
I hope that anybody else that was having this issue gets theirs fixed as well because this bug frustrated a lot. I saw a few other people having this issue on the forums.