• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode 4.6 leaves unsupported attribute in xib files even after turned off?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 4.6 leaves unsupported attribute in xib files even after turned off?


  • Subject: Re: Xcode 4.6 leaves unsupported attribute in xib files even after turned off?
  • From: Matt Neuburg <email@hidden>
  • Date: Mon, 04 Mar 2013 10:03:57 -0800

On Mon, 04 Mar 2013 01:28:41 -0800, Laurent Daudelin <email@hidden> said:
>I just tried my build on the 5.1 simulator and the app started crashing with an NSInconsistencyException while the UI was being loaded. The exception message was "The NIB data was invalid". I realized that the nib compiler was giving me warning for the new UILabel setting "Tighten Letter Spacing". Fine, so I turned it off, saved the file and recompiled. Got the same warnings! So, I double-checked everything and no check box checked but compiling gave still the same warning.
>
>So, I opened the xib file in BBEdit and did a search for "letterspacing" and BBEdit found 15 occurrences!
>
>Does anyone know if that is a known defect with Xcode 4.6? Even if you turn this "Tighten Letter Spacing" to off, the key with a YES value stays in the interface file which will cause warnings and a crash on anything prior to iOS 6?

I think what's changed is the Deployment setting in the XIB's File Inspector. I'm guessing that if you set it manually back to iOS 5.1, the XIB will work on on iOS 5.1 (assuming you don't use Autolayout or any other incompatible features). m.


--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 5! http://shop.oreilly.com/product/0636920023562.do
 _______________________________________________
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

  • Follow-Ups:
    • Re: Xcode 4.6 leaves unsupported attribute in xib files even after turned off?
      • From: Laurent Daudelin <email@hidden>
  • Prev by Date: Inadvertent Oracle dylib library linking
  • Next by Date: Re: Xcode 4.6 leaves unsupported attribute in xib files even after turned off?
  • Previous by thread: Inadvertent Oracle dylib library linking
  • Next by thread: Re: Xcode 4.6 leaves unsupported attribute in xib files even after turned off?
  • Index(es):
    • Date
    • Thread