My Swift / iOS9 framework \'viewer_protocol\' uses another and external Objective-C framework (CocoaAsyncSocket). I\'m using Carthage to build CocoaAsyncSocket. So far everythin
Alternatively, you may have exposed files within the Public
area of your framework's build phases that should actually be moved back to the Project
area.
If you don't want those files to be within your framework's umbrella header so they're publicly accessible, you can revert this.
Goto Framework -> Target -> Build Phases and drag to move the unnecessary header files from Public to Project.
In my case (Obj-c framework):
Umbrella header for module 'opus' does not include header 'opus_multistream.h'
I needed to change:
@import opus.opus_defines;
into
@import opus;
(I don't have in #import "....h"
or #import <....h>
for frameworks)
trying to fix a archive build error led me to this error and post
my solution was real simple but took forever for me to figure out.
hope this helps someone! glhf!
For me the fix was rather simple, commit all your changes and build again. The warning disappeared.
We got this recently and it was due to corruption in DerivedData. Deleting that folder fixed the problem.
Take a look at this post:
@import vs #import - iOS 7
It goes over the concepts of the new module importing. I had my own custom framework and after adopting the new method to import objective-c framework
old:
#import <MyFramework/MyFramework.h>
new:
@import MyFramework;
it took care of the warning/