The header file has been found, but the class name in the header file is not recognized

topic description

I"m sorry, the typesetting of Si No has made a mess of my problem. I"m really sorry that
has been correct-sharpimport loading header file, no error loading, but the system displays

when using the classes in the header file.
Declaration of "KSYVideoCodec" must be imported from module" KSYMediaEditorKit.KSYMediaEditor" before it is required

KSYVideoCodec is my class name

sources of topics and their own ideas

Google has passed, but there is no good method, and Baidu has no solution. It carefully confirms whether the address of the header file is correct, and the header file that you need can be displayed completely by using automatic completion

.

related codes

header files are integrated into other projects by pod. According to the online method, I directly throw the mobile pods.xcodeproj into the file structure directory of the Xcode of other new projects.

Code in KSYMediaEditorKit.KSYMediaEditor

-sharpimport <Foundation/Foundation.h>
-sharpimport "RecordConfigModel.h"
-sharpimport <libksygpulive/libksygpulive.h>   KSYVideoCodec



@interface OutputModel : NSObject
@property (nonatomic, assign) KSYRecordPreset resolution;     //
@property (nonatomic, assign) KSYVideoCodec videoCodec; //   
@property (nonatomic, assign) KSYAudioCodec audioCodec; //
@property (nonatomic, assign) CGFloat videoKbps; //
@property (nonatomic, assign) CGFloat audioKbps; //
@property (nonatomic, assign) KSYOutputFormat videoFormat; //

- (CGSize)getResolutionFromPreset;

@end

-Delimiter-
Code in libksygpulive/libksygpulive.h

-sharpimport <UIKit/UIKit.h>

-sharpimport "libksystreamerbase.h"  
//-sharpimport "libksystreamerengine.h"
//-sharpimport "libksygpufilter.h"

-sharpimport "KSYMoviePlayerController.h"
-sharpimport "KSYMediaInfoProber.h"
-sharpimport "KSYNetTracker.h"
-sharpimport "KSYReachability.h"

-delimiter-
libksystreamerbase.h

-sharpimport <UIKit/UIKit.h>
-sharpimport "KSYTypeDef.h"   
-sharpimport "KSYClipWriter.h"
-sharpimport "KSYStreamerBase.h"
-sharpimport "KSYMovieWriter.h"
-sharpimport "KSYAVMuxer.h"
-sharpimport "KSYMessage.h"
-sharpimport "KSYTranscoder.h"
-sharpdefine KSYSTREAMERBASE_VER 3.0.4
-sharpdefine KSYSTREAMERBASE_ID  1cb92e3f9ef6d159ee8c579339a4d7d81cb1c5da

-Delimiter-
"Code in KSYTypeDef.h

-sharppragma mark - Video & Audio Codec ID
/*!
 * @abstract  
 */
typedef NS_ENUM(NSUInteger, KSYVideoCodec) {
    ///  - h264 
    KSYVideoCodec_X264 = 0,
    ///  - KSY265 
    KSYVideoCodec_QY265,
    ///  - iOS VT264 (iOS 8.0)
    KSYVideoCodec_VT264,
    ///  - iOS VT265 (iOS 11.0 )
    KSYVideoCodec_VT265,
    ///  - SDK VT264 > X264
    KSYVideoCodec_AUTO = 100,
    ///  - gif
    KSYVideoCodec_GIF,
};

lib * * the opening files are all

in the libksygpulive folder.

what result do you expect? What is the error message actually seen?

problem description

the environmental background of the problems and what methods you have tried

arm64 armv7
ios8

have you ever encountered a god with the same problem? I have some skills, but I really can"t find a solution to the problem

.
Apr.05,2021
Menu