简体   繁体   中英

Xcode 5 Warning: Attribute Unavailable

I've updated my Xcode version to 5.0.

After this I got bunch of warnings which were not in my previous Xcode version.

The Warnings are these:

Attribute Unavailable
Attributed Text on iOS versions prior to 6.0

Attribute Unavailable
Minumum Font Scale on iOS versions prior to 6.0

Anyone who have removed this warning?

I'm going to go out on a limb here and suggest the problem is exactly what the error says. Your project is set to deploy on targets below iOS 6 and you have a XIB or Storyboard that uses Attributed Text, a feature that is not supported before iOS 6.

The fix is either:

  • Change your minimum supported version to iOS 6
  • Don't use Attributed text

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM