Trying to install the sdk-for-apple for my swift project. The app builds with no issue without the sdk. Once I install the sdk, set the target as my app and try to build. I get the error below.
Initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
TL;DR
Building a Swift project with sdk-for-apple SwiftUI results in the error "Initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'". This occurs after setting the target as the app. The solution involves importing the defining module 'CNIODarwin' to resolve the issue.