"ibtool … error … loading plug-in … Try reinstalling the bundle." How?
"ibtool … error … loading plug-in … Try reinstalling the bundle." How?
- Subject: "ibtool … error … loading plug-in … Try reinstalling the bundle." How?
- From: Jerry Krinock <email@hidden>
- Date: Thu, 4 Nov 2010 21:25:53 -0700
After upgrading to Xcode 3.2.5, I now get the following warning in the Build results, repeated 17 times, once for each nib in my project:
/* com.apple.ibtool.warnings */
/Users/jk/Documents/Projects/MyApp/Resources/SomeXib.xib: warning: ibtool encountered an error while loading the Interface Builder plug-in from /Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Interface Builder/Plug-ins/IBCocoaTouchPlugin.ibplugin.
Underlying Errors:
Description: The bundle “IBCocoaTouchPlugin.ibplugin” couldn’t be loaded because its executable couldn’t be located.
Failure Reason: The bundle’s executable couldn’t be located.
Recovery Suggestion: Try reinstalling the bundle.
So I looked at the indicated path:
/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Interface Builder/Plug-ins/IBCocoaTouchPlugin.ibplugin
opened the package and found that indeed its Contents/MacOS/ was empty.
Since I'm not doing any iPhone development, just Mac, I went into my Time Machine backup which has Xcode 3.2.2, and found that the old plug-in had an executable in Contents/MacOS/, and also it had many more items in its Contents/Resources. So I deleted the whole IBCocoaTouchPlugin.ibplugin and then copied into its place the old one from Time Machine using command sudo cp -Rfp. Now everything looks good. There is an executable at Contents/MacOS/IBCocoaTouchPlugin. Its size is 2,728,080 bytes, owner is root, group is admin and permissions are octal 775.
I quit Xcode and relaunched. Opened my project, cleaned, rebuilt.
Result: Still get the 17 warnings, but now the Underlying Errors are different:
Underlying Errors:
Description: The bundle “IBCocoaTouchPlugin” couldn’t be loaded because it is damaged or missing necessary resources.
Failure Reason: The bundle is damaged or missing necessary resources.
Debug Description: dlopen_preflight(/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Interface Builder/Plug-ins/IBCocoaTouchPlugin.ibplugin/Contents/MacOS/IBCocoaTouchPlugin): Library not loaded: @rpath/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient Referenced from: /Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Interface Builder/Plug-ins/IBCocoaTouchPlugin.ibplugin/Contents/MacOS/IBCocoaTouchPlugin Reason: image not found
Recovery Suggestion: Try reinstalling the bundle.
How do I "reinstall the bundle"? Alternatively, is there any reason to believe that redownloading and reinstalling the whole Xcode 3.2.5 would work any better the second time?
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden