• 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: Building AudioUnits for Mac OS 10.4 on Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building AudioUnits for Mac OS 10.4 on Snow Leopard


  • Subject: Re: Building AudioUnits for Mac OS 10.4 on Snow Leopard
  • From: tahome izwah <email@hidden>
  • Date: Mon, 7 Sep 2009 11:45:15 +0200

You can do this via the -respondsToSelector method.

Setting the deployment target to 10.4 is all you need to do. On 10.5.
setting both the target and base SDK to 10.4. fails as well on my
machine.

--th


2009/9/7 Jean-Daniel Dupas <email@hidden>:
>
> Le 7 sept. 2009 à 10:58, Muon Software Ltd - Dave a écrit :
>
>> Bill,
>>
>> I just got around to trying to build one of the demo AUs (sinSynth)
>> against Core Audio SDK 1.5 (as deployed with XCode 3.1.3) and it definately
>> fails when the Base SDK and Deployment Target are both set to 10.4. Changing
>> the Base SDK to 10.5 and leaving Deployment Target on 10.4 allows the build
>> to succeed. Target architecture is 32-bit Universal in both cases.
>>
>> If this isn't the desired behaviour I'm happy to file a bug.
>>
>> However, if I am understanding cross-development correctly (and there's a
>> good chance I am not!) then surely changing the Deployment Target to 10.4
>> and leaving the Base SDK at 10.5 *should* give you an AU that will work fine
>> on Tiger, right? what would be the possible disadvantages of doing things
>> this way?
>
> That's the recommended way to do. The main disadvantage is that if you
> inadvertently call a method that is available on 10.5 only, the compiler
> will not warn you. Note that using 10.5 feature is perfectly valid even if
> you deploy on 10.4, as long as you check that the function exists before
> calling it:
>
> if (AFunctionAvailableOn105Only) {
>        AFunctionAvailableOn105Only(args);
> } else {
>        // 10.4 way to do this
> }
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Building AudioUnits for Mac OS 10.4 on Snow Leopard
      • From: Adam Somers <email@hidden>
    • RE: Building AudioUnits for Mac OS 10.4 on Snow Leopard
      • From: Muon Software Ltd - Dave <email@hidden>
References: 
 >Building AudioUnits for Mac OS 10.4 on Snow Leopard (From: patrick machielse <email@hidden>)
 >Re: Building AudioUnits for Mac OS 10.4 on Snow Leopard (From: tahome izwah <email@hidden>)
 >RE: Building AudioUnits for Mac OS 10.4 on Snow Leopard (From: Muon Software Ltd - Dave <email@hidden>)
 >Re: Building AudioUnits for Mac OS 10.4 on Snow Leopard (From: Jean-Daniel Dupas <email@hidden>)
 >RE: Building AudioUnits for Mac OS 10.4 on Snow Leopard (From: Muon Software Ltd - Dave <email@hidden>)
 >Re: Building AudioUnits for Mac OS 10.4 on Snow Leopard (From: Jean-Daniel Dupas <email@hidden>)
 >RE: Building AudioUnits for Mac OS 10.4 on Snow Leopard (From: Muon Software Ltd - Dave <email@hidden>)
 >Re: Building AudioUnits for Mac OS 10.4 on Snow Leopard (From: William Stewart <email@hidden>)
 >RE: Building AudioUnits for Mac OS 10.4 on Snow Leopard (From: Muon Software Ltd - Dave <email@hidden>)
 >Re: Building AudioUnits for Mac OS 10.4 on Snow Leopard (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: RE: Building AudioUnits for Mac OS 10.4 on Snow Leopard
  • Next by Date: RE: Using an AU directly
  • Previous by thread: RE: Building AudioUnits for Mac OS 10.4 on Snow Leopard
  • Next by thread: RE: Building AudioUnits for Mac OS 10.4 on Snow Leopard
  • Index(es):
    • Date
    • Thread