[UMEnvelopeBuild buildEnvelopeWi

2020-12-03  本文已影响0人  GitArtOS

1.UMEnvelopeBuild 报错 出自最新的UMCCommon~7.2.4


Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UMEnvelopeBuild buildEnvelopeWithExtHeader:content:pathURL:type:version:]: unrecognized selector sent to instance 0x281006710'

*** First throw call stack:
(0x18e54d9d4 0x1a1efeb54 0x18e45dbac 0x18e550018 0x18e551f8c 0x102382e48 0x105343ce4 0x105345528 0x10534c5ac 0x10534d234 0x105358a5c 0x1d4b5a5a4 0x1d4b5d874)

libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UMEnvelopeBuild buildEnvelopeWithExtHeader:content:pathURL:type:version:]: unrecognized selector sent to instance 0x281006710'

解决办法:
有人说是SDK版本混用,请严格按照官方SDK使用,尤其是7.2以上的版本;我的解决方案是新的旧的全删除,重新来一遍,无缘无故就好了。

2.DYGLInitPlatform崩溃

2020-12-03 16:04:33.226995+0800 17duu[969:243686] [DYGLInitPlatform] connection to host has failed: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
2020-12-03 16:04:33.229663+0800 17duu[969:243686] aborting: platform initialization failed

解决方案:这种情况主要是由于编译过程中有损毁文件造成的,Clean一下就可以了

上一篇下一篇

猜你喜欢

热点阅读