• 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: Debugging an AudioUnit in Xcode 2.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Debugging an AudioUnit in Xcode 2.0


  • Subject: RE: Debugging an AudioUnit in Xcode 2.0
  • From: "Mikael Hillborg" <email@hidden>
  • Date: Thu, 24 Nov 2005 01:05:01 +0100
  • Importance: Normal

Stefan Gretscher wrote:
>
> Many hosts including Logic will refuse to run when a debugger is
> present in order to fight against hackers.

But it used to work with Xcode 1.5 and the same hosts. But maybe
it's a changed policy in the versions of the OS and/or development
tools then. That's OK (but I don't think that's the problem).

> If you want to debug your AU in general, use AU Lab, which has been
> designed by the CoreAudio team for this very purpose.

Yes, but it's almost the same with AU Lab. AU lab does start though,
but it refuses to load any AUs, not even Apple's or any other
manufacturer's.

> If you did run into a problem specific to a certain host then you
> should contact the manufacturer.

That's why I haven't, because I don't think this is a host problem.

I use the latest CoreAudio SDK 1.4.3, but it looks like it's some
library compatibility issue. Maybe some frameworks. When AU lab is
started from Xcode 2.0 / GDB, then none of the AudioUnits are loaded.
However, they are when it's started without a debugger. They all
echo the following (snippet):

code 4, error number 0 (Symbol not found: __FSOpenForkWithCatalogInfo
  Referenced from: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
  Expected in: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices_debug
)
2005-11-24 00:31:43.199 AU Lab[272] Error opening component Emagic: ET1: -50
2005-11-24 00:31:43.251 AU Lab[272] CFLog (21): Error loading
/Users/mikaelhillborg/Library/Audio/Plug-Ins/Components/TCAU.component/Contents/MacOS/TCAU:  error code 4, error number 0 (Symbol
not found: __FSOpenForkWithCatalogInfo
  Referenced from: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
  Expected in: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices_debug
)

Looks like there are some new frameworks which need to be included in the
project to enable debugging. I'll check the sample projects in the CoreAudio 1.4.3
SDK, if sample projects were included. But ff anyone has a clue...

Regards
Mike

 _______________________________________________
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: Debugging an AudioUnit in Xcode 2.0
      • From: Stefan Gretscher <email@hidden>
    • RE: Debugging an AudioUnit in Xcode 2.0
      • From: "Mikael Hillborg" <email@hidden>
References: 
 >Re: Debugging an AudioUnit in Xcode 2.0 (From: Stefan Gretscher <email@hidden>)

  • Prev by Date: Re: Subject: convertInputSamples/clipOutputSamples
  • Next by Date: RE: Debugging an AudioUnit in Xcode 2.0
  • Previous by thread: Re: Debugging an AudioUnit in Xcode 2.0
  • Next by thread: RE: Debugging an AudioUnit in Xcode 2.0
  • Index(es):
    • Date
    • Thread