Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AVFoundation Import Warnings after XCODE 8 upgrade

Obj C project; just updated to Xcode 8 and iOS/10. App seems to work fine, however, getting warnings --

"Missing submodule 'AVFoundation.AVSpeechSynthesis'" "Missing submodule 'AVFoundation.AVAudioSession'"

These messages appear on the #import statements for AVAudioSession & AVSpeechSynthesis.

Does anyone know what's going on with this?

TIA

like image 405
RegularExpression Avatar asked Sep 17 '16 19:09

RegularExpression


1 Answers

I'm not sure why this is now a warning, but deleting the AVAudioSession and AVSpeechSynthesis imports makes it go away. All you need is the umbrella header:

#import <AVFoundation/AVFoundation.h>
// delete us
//#import <AVFoundation/AVSpeechSynthesis.h>
//#import <AVFoundation/AVAudioSession.h>
like image 147
Rhythmic Fistman Avatar answered Nov 20 '22 19:11

Rhythmic Fistman