2017-09-21 8 views
1

Xcode 9.0の最終版に更新された後、私はObjective-Cプロジェクトを構築できません。それは言った:Xcode 9さまざまな型( 'NSString *'と 'AVMediaType')のtypedefの再定義

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaFormat.h:14:20: Typedef redefinition with different types ('NSString *' vs 'AVMediaType') 

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriter.h:135:41: Type argument 'AVMediaType' is neither an Objective-C object nor a block type 

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:513:102: Nullability specifier 'nullable' cannot be applied to non-pointer type 'AVMediaType' 

答えて

0

あなたは、このようなffmpegのライブラリを使用するときのように、プロジェクトにAVMediaTypeを使用している場所を確認し、名前を変更する必要がある「AVMediaTypeは」何か他にどこにでもそれがavutil.h avformat.hのようにffmpegの中で参照されていますavcodec.hなど

関連する問題