warning: UUID mismatch detected with the loaded library
April 22, 2009 § Leave a comment
This error occurs on Console only on device, not iphone simulator. It basically complaints your debugging version on your device is out-of-date, not matching your Xcode OS version. If you are developing 2.2+, you will run into this Console inconvenience.
Your app will still run and operate. It just print out a long running list of mismatching warnings on your console.
To get around the warning issue, after you build on the device, close your app. Remove the device from USB cable, start the app manually. You are good to go.
There is a possible fix if you are on earlier version 2.1:
“Get Info” on project name.
First tab – General
Set “Base SDK for All Configurations” to “Device – iPhone 2.1”
Second Tab – Build
Set “Base SDK” to “Device – iPhone 2.1”
Set “Code Signing Identity” to “Device – iPhone 2.1”
I discovered this fix not help Xcode on OS 2.2. First you will get a error “Configuration Debug” on your build.
You will receive error on your console:
CodeSign error: code signing is required for product type ‘Application’ in SDK Device – iPhone OS 2.2
Your Xcode will show warning sign “red” on any framework that requires OS 2.2 like AVFoundation.framework for playing audio.
So it is better to ignore the mismatch warning from your device because no one seems to know how to upgrade the device debugging version. At least the device debugging version won’t come with normal iphone OS upgrade via iTune. Restore your device with previous OS version won’t help. You are still using more advance version on iPhone SDK on your Xcode.