Apple Mach-O Linker Error

I’ve just updated to the newest version of unity and xcode and now I’m unable to build to any device. xcode spits out this message to me. I’ve tried changing build settings, reinstalling unity and xcode, restarting ect. Nothing is working for me. Please help!

Ld /Users/AbsurdHome/Library/Developer/Xcode/DerivedData/Unity-iPhone-diwoznzqoasjwqabxsnjrzrfofkm/Build/Products/ normal armv7
cd /Users/AbsurdHome/ThisIsNotABallGame/newinstall
setenv PATH “/Applications/”
/Applications/ -arch armv7 -isysroot /Applications/ -L/Users/AbsurdHome/Library/Developer/Xcode/DerivedData/Unity-iPhone-diwoznzqoasjwqabxsnjrzrfofkm/Build/Products -L/Users/AbsurdHome/ThisIsNotABallGame/Assets/Editor/StoreKit -L/Users/AbsurdHome/ThisIsNotABallGame/Assets/Editor/Mobclix -L/Users/AbsurdHome/ThisIsNotABallGame/Assets/Editor/GameCenter -L/Users/AbsurdHome/ThisIsNotABallGame/newinstall -L/Users/AbsurdHome/ThisIsNotABallGame/newinstall/Libraries -F/Users/AbsurdHome/Library/Developer/Xcode/DerivedData/Unity-iPhone-diwoznzqoasjwqabxsnjrzrfofkm/Build/Products -filelist /Users/AbsurdHome/Library/Developer/Xcode/DerivedData/Unity-iPhone-diwoznzqoasjwqabxsnjrzrfofkm/Build/Intermediates/ -dead_strip -all_load -weak_framework CoreMotion -weak-lSystem -fobjc-link-runtime -miphoneos-version-min=5.1 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2 -lTestFlight -liPhone-lib -framework AudioToolbox -framework CFNetwork -framework MediaPlayer -framework CoreLocation -framework SystemConfiguration -weak_framework iAd -framework CoreMedia -framework CoreVideo -weak_framework AVFoundation -framework CoreGraphics -weak_framework CoreMotion -weak_framework GameKit -weak_framework MessageUI -lz.1.1.3 -lP31MonoBridge -framework AddressBook -framework AddressBookUI -weak_framework EventKit -lMobclix_nonthumb -framework StoreKit -lStoreKit -o /Users/AbsurdHome/Library/Developer/Xcode/DerivedData/Unity-iPhone-diwoznzqoasjwqabxsnjrzrfofkm/Build/Products/

Undefined symbols for architecture armv7:
“NotifyAutoOrientationChange()”, referenced from:
ScreenManager::SetIsOrientationEnabled(EnabledOrientation, bool) in libiPhone-lib.a(ScreenManager.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I also have this error. Unity 3.5.5f3 and Xcode 4.4.1, iOS target 5.1

I figured it out. I modified to handle a custom url scheme and overwrote the one in to the Xcode project using PostprocessBuildPlayer. To fix it I had to re-merge my custom code with the new

I also got these errors, with a completely different fix.
I had to go to the ‘capabilities’ tab and activate the (NYI) features that i’d requested for the application id. weird.
Switched on iCloud, Game Center and In-App purchases.
Apparently, anything not prohibited is mandatory.

I had the same problem.
I made a video to show you how to fix it.