Iphone – XIB Compiler Error

iphoneiphone-sdk-3.0

Getting a "Pattern colors are not supported by the iPhone SDK for iPhone OS versions prior to 3.0." error from Xcode when compiling an application for iPhone OS 2.2.1. I'm using Xcode 3.2 on Snow Leopard.

The interesting thing is that others (I don't know host OS or Xcode version) are compiling this code fine.

Best Answer

Do you have any pattern colors in the XIB? Those would include things like the pinstripe background. This XIB probably would compile with the 3.0 SDK. Like the compiler says, they're not supported in versions before 3.0.