• 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: how to warn users of wrong system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to warn users of wrong system


  • Subject: Re: how to warn users of wrong system
  • From: Bill Cheeseman <email@hidden>
  • Date: Tue, 14 Oct 2003 06:35:46 -0400

on 03-10-14 5:27 AM, Chris Ridd at email@hidden wrote:

> On 14/10/03 10:08 am, Bill Cheeseman <email@hidden> wrote:
>
>> Sadly, it isn't very robust. I set LSMinimumSystemVersion to "10.2.0" in my
>> app's Info.plist and tried to launch it under 10.1.3. The icon bounced once
>> in the Dock and then nothing happened -- specifically, no dialog.
>>
>> I was hoping this was a solution for the problem of how to fail gracefully
>> under older systems when you use symbols that were first introduced in later
>> systems. No dice.
>
> Have you tried making your executable a shell script that invokes
> /usr/bin/sw_vers and depending on the output execs the real executable or
> some other executable displaying a graceful error?
>
> I daresay you could use an AppleScript instead of a shell script :-)

I know there are other techniques. But they're all harder than this one
promised to be.

Eventually, I intend to write a generic, reusable Xcode project template
that has a tiny, run-on-all-systems app to check the system version and
either fail gracefully or launch the "real" app.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: how to warn users of wrong system
      • From: Scott Anguish <email@hidden>
    • Re: how to warn users of wrong system
      • From: John Stiles <email@hidden>
References: 
 >Re: how to warn users of wrong system (From: Chris Ridd <email@hidden>)

  • Prev by Date: Re: NSImage problem
  • Next by Date: wchar_t and NSString
  • Previous by thread: Re: how to warn users of wrong system
  • Next by thread: Re: how to warn users of wrong system
  • Index(es):
    • Date
    • Thread