Issue
I have made a framework, which is mixed with Swift and Objective-C.
In the Objective-C Code, I have imported header of CoreAudioTypes as:
#import <CoreAudio/CoreAudioTypes.h>
Using CocoaPods, when integrating the framework as open source code, it works fine. When integrating as closed source, a compiled library, Xcode produces an error saying: framework 'CoreAudioTypes' not found
Validation
I created a brand new project, with nothing in it except the template code.
In the TARGETS -> GENERAL -> Frameworks, Libraries, and Embedded Content, I added CoreAudioTypes.framework
Eventually, Xcode produced the same error framework 'CoreAudioTypes' not found
So I wonder it may be an issue of Xcode? If not, how can i solve it?
Thanks!
Xcode Version 15.0, installed from App Store