warning: could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available.


#1

在iOS 工程中 ,使用jpush-phonegap-plugin 插件,原生代码报错在这里

-(instancetype)init_plus{
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationDidLaunch:) name:UIApplicationDidFinishLaunchingNotification object:nil];
    return [self init_plus];
}

错误提示:

warning: could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available.

#2

使用的插件版本多少,有没有更多的错误信息,这个是警告


#5

不好意思,是我的问题,我们项目不是通过 cordova 命令行创建的,AppDelegate 的继承方式,改一下就可以了。打扰了。