2016-09-17 4 views
23

Obj C 프로젝트; Xcode 8 및 iOS/10으로 업데이트되었습니다. 응용 프로그램은 잘하지만, 점점 경고를 작동하는 것 같다 -AVFoundation 가져 오기 XCODE 8 업그레이드 후 경고

"누락 된 서브 모듈 'AVFoundation.AVSpeechSynthesis'" "누락 된 서브 모듈 'AVFoundation.AVAudioSession'"

이러한 메시지는 AVAudioSession &에 대한 # import를 문에 나타납니다 AVSpeechSynthesis.

누구에게이 일이 벌어지고 있는지 알고 있습니까?

TIA

답변

45

이 지금 경고하지만 AVAudioSessionAVSpeechSynthesis 수입을 삭제하면 멀리 갈 수 있습니다 이유는 확실하지 않다. 당신이 필요로하는 것은 우산 헤더입니다 :

#import <AVFoundation/AVFoundation.h> 
// delete us 
//#import <AVFoundation/AVSpeechSynthesis.h> 
//#import <AVFoundation/AVAudioSession.h> 
+0

시도해 보았지만 그렇게했습니다. 고마워 – RegularExpression