It seems that if you build a .framework out of FoundationKit NKAudioRecorder fails, since it depends on AudioToolbox. 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 bd6cfe2
I wasn't against the inclusion of NKAudioRecorder since I thought AudioToolbox gets pulled in by Foundation, but that has been wrong. We should therefore remove NKAudioRecorder (and move it to iOSKit/MacKit instead?)
It seems that if you build a .framework out of FoundationKit
NKAudioRecorderfails, since it depends onAudioToolbox. It works for a static library.My understanding is that this is since frameworks have dependencies (and
AudioToolboxis 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 bd6cfe2
I wasn't against the inclusion of
NKAudioRecordersince I thought AudioToolbox gets pulled in byFoundation, but that has been wrong. We should therefore removeNKAudioRecorder(and move it to iOSKit/MacKit instead?)