XIB compiler error

Retrieving template colors is not supported by the iPhone SDK for iPhone versions prior to iPhone 3.0. "Error from Xcode when compiling application for iPhone OS 2.2.1. I am using Xcode 3.2 on Snow Leopard.

Interestingly, others (I don't know the host version or Xcode version) compile this code in order.

+2


source to share


5 answers


Do you have template colors in XIB? These include things like striped backgrounds. This XIB will probably be compiled with the 3.0 SDK. Like the compiler, they are not supported prior to 3.0.



+2


source


To clarify manson's answer , open the XIB issue in Interface Builder, then select Window | Document Info; from there you can set the deployment target.



+5


source


in interFace Builder - try setting Displouyment Target on OS 3.0 and height in my case it works

+3


source


I got the same error when trying to compile XIB with template colors using 3.1.2. The XIBs are compiled using 3.0, but when I upgraded to 3.1.2 I started getting the error. "Color templates are not supported by the iPhone SDK prior to iPhone 3.0."

I didn't find a solution to this problem and had to remove the template colors from my XIBs.

+1


source


click Xib -> Show File Inspector ---> Document Builder Document -> deplooyment (use your version)

hope this helps you

0


source







All Articles