iPhone UUID mismatch detected with the loaded library

March 19, 2009 § 5 Comments

UUID mismatch warning is a very common issue when iphone developers make minor modifications to the SDK app. The app doesn’t fail on iphone simulator. The UUID mismatch warnings would occur when it is run at build on debug and print on console.

Restoring iTouch from factory setting and restoring the iTouch back to the iTouch device won’t remove the warnings. Restoring to the device name where provisioning is generated for the app won’t remove the warnings.

Create a new project within Xcode won’t remove the warnings.

If you restore from factory setting and original device profile, unplug the device, start Xcode, open Organizer to select device “Use For Development” then build debug on console, it won’t remove the warnings.

In my case, UUID mismatch warnings print tens of lines and the app would not start. If you force to open the app, you would see the Default.png on MainView and UILabel and UIButton won’t render.

If you unplug the device from mac, run the app on device. The app works except you won’t be able to utilize console to debug any problems on device. After searching for answers on developer forums, it is a very common problem among developers. However, there is no known solutions except a few possible tips.

WARNING: Falling back to active SDK directory at: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.sdk

warning: UUID mismatch detected with the loaded library – on disk is:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.sdk/System/Library/Frameworks/Foundation.framework/Foundation
=uuid-mismatch-with-loaded-file,file=”/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.sdk/System/Library/Frameworks/Foundation.framework/Foundation”

….

What we learn:

- it doesn’t occur in simulator
– it appears when it runs on device and prints on console
– it seems to occur after device upgrade as the debugger version on the device is out-dated
– it occurs when building debug and not build release.
– app would crash when running from Xcode. It would run on device. After making minor modifications to the same app, the app would keep crashing on the device

These are steps other developers tried and failed

  • reinstall Xcode
  • re-install iphone OS 2.2
  • create a new project and copied all the sources

Explanation:

The message is telling you that a library on the device isn’t exactly the same as a library in the SDK, but the difference between the libraries in this case isn’t one which has any visible impact.

Try:

1. unplug the phone
2. delete the app from the phone (using the standard method of holding your finger on the icon until the ‘X’ appears)
3. Once deleted, plug back in and re-build
4. Again the app crashes on the device, but this time after the crash, unplug again and run it directly from the phone

Tips:
Array is missing a nil value at the end. Or undiscovered bugs from Apple SDK.
About these ads

§ 5 Responses to iPhone UUID mismatch detected with the loaded library

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading iPhone UUID mismatch detected with the loaded library at Web Builders.

meta

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: