Open MSch opened 13 years ago
Or is it possible to weak-link the framework? And should we do that?
I've now weakly linked the necessary Audio frameworks. See 5d67236742f6c038f051
What's 'weak' linking? If it doesn't work, just remove it. We shouldn't sacrifice the ease-of-use for certain classes, should we?
Yeah, I +1 for removal
+1 for removal/moving to MacKit.
It seems that if you build a .framework out of FoundationKit
NKAudioRecorder
fails, since it depends onAudioToolbox
. It works for a static library.My understanding is that this is since frameworks have dependencies (and
AudioToolbox
is missing) while static libraries don't have any dependencies to begin with (the embedding app has to provide the dependencies)Please check out my branch that adds a .framework target for Mac OS X bd6cfe285950311fc49ce245cabf74974103c515
I wasn't against the inclusion of
NKAudioRecorder
since I thought AudioToolbox gets pulled in byFoundation
, but that has been wrong. We should therefore removeNKAudioRecorder
(and move it to iOSKit/MacKit instead?)