• 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: Finding non-backwards compatible code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding non-backwards compatible code


  • Subject: Re: Finding non-backwards compatible code
  • From: "Glenn L. Austin" <email@hidden>
  • Date: Tue, 28 Aug 2012 21:39:30 -0700

On Aug 28, 2012, at 7:14 AM, Owen Hartnett <email@hidden> wrote:

Hi all:

Just had a debug session where a user brought in an iPad running ios 4.3.2 and was crashing.  Turns out we had a couple of ios 5.0 only calls to UITabBar in there.  Our bug, obviously, and easy to fix with a couple of respondToSelectors. But there really isn't a good mechanism for finding these once you've written that code.  Our app says we're supposed to run on 4.3.2 on up.  The compiler settings we're using think self.tabBar.tintColor is good stuff, so we get no warnings or errors, even if I build for simulator 4.3.  How do you guys comb through your code looking for methods that are later then your lowest running system?  Do you set the compiler to build for the low end system or is there a better way?

Personally, I change the base SDK for the project to the minimum SDK and rebuild -- and then fix all of the errors.

-- 
Glenn L. Austin, Computer Wizard and Race Car Driver         <><
"Where there's breath, there's hope!"
<http://www.austin-soft.com>

 _______________________________________________
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

  • Prev by Date: Re: Xcode GUI not responsive in certain cases.
  • Next by Date: App phases + appropriate phase icon badges.
  • Previous by thread: Re: Xcode GUI not responsive in certain cases.
  • Next by thread: App phases + appropriate phase icon badges.
  • Index(es):
    • Date
    • Thread