纯属很迷糊,[_LSDefaults sharedInstance]: unrecognized selector sent to class
也没有指定是友盟,呃呃呃呃呃,看网友的解决方法,可用,具体如下:
友盟iOS13报错([_LSDefaults sharedInstance]: unrecognized selector sent to class)。
这个报错友盟已经提示了,需要把UMCCommon更新到最新版本2.1.1。
但是我的pod配置一直是pod 'UMCCommon'。并没有指定版本。这个配置并不会在每次pod install的时候把相应的库更新到最新。这时候只需要指定版本号如下:pod 'UMCCommon', '~> 2.1.1'。然后pod install就好了