You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?)
The text was updated successfully, but these errors were encountered:
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 bd6cfe2
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?)The text was updated successfully, but these errors were encountered: