Pattern colors are not supported by the iPhone SDK for iOS versions prior to 3.0 :: N-FAQ

Posted on Updated on

Last day i opened and compiled an old project of iPhone; I’m using Xcode 3.2.5 with iOS 4.2 on Mac OS X 10.6.6; When i complied that project I got the following error in multiple xib files

Pattern colors are not supported by the iPhone SDK for iOS versions prior to 3.0.

click to enlarge;

Reason of Error;

The project was built and compiled with iOS 3.0, and will work fine on sdk 3.2 and 2.2.1 but on sdk 4.0 it will throw that error;
The deployment target for xib files was set to iOS 2.1.1 when you use ios3.0 or prior;

Solutions;
While working on iOS 4.0+ you must need to change the the Deployment Target in xib file to 3.0;

How to do ;
Open the .xib file in Interface Builder, then select Window > Document Inf, select a later version of Deployment Target OS version. see the Image below;

click to enlarge;

Here the Deployment Target is set to iOS 2.1 and hence producing error; Change it to iOS 3.0 when you are working on iOS 4.0+;

Thats all;
Share every bit of knowledge you have;

Happy Development;

– This post belongs to N-FAQ category where i post anything i learn new during my work; N-FAQ = Not-FAQ;

free counters

Advertisements

3 thoughts on “Pattern colors are not supported by the iPhone SDK for iOS versions prior to 3.0 :: N-FAQ

    james said:
    February 15, 2011 at 23:33

    This web site is mostly a stroll-by means of for all the info you wanted about this and didn’t know who to ask. Glimpse here, and also you’ll definitely uncover it.

    Irfan Sayyed said:
    June 20, 2011 at 16:43

    Hi ANS,

    I have started developing iphone apps, please suggest a concept that i can leverage

    Thanks
    Irfan

      Ans responded:
      June 20, 2011 at 16:47

      depends in which domain you want to develop your application; Best is find trends over App Store and other platforms and build an idea as per current development;

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