解决办法:
在 Build Settings 中的 Runpath Search Paths中,@executable_path/Frameworks 上一行加入 /usr/lib/swift

可能的原因:
在 @executable_path/Frameworks 目录找到的 libswiftCore.dylib 不适用于 ios 12.2.0以上,ios12.2.0以上应使用系统库
在 Build Settings 中的 Runpath Search Paths中,@executable_path/Frameworks 上一行加入 /usr/lib/swift
在 @executable_path/Frameworks 目录找到的 libswiftCore.dylib 不适用于 ios 12.2.0以上,ios12.2.0以上应使用系统库
本文标题:OC和Swift混编出现闪退,提示This copy of li
本文链接:https://www.haomeiwen.com/subject/vgqvqrtx.html
网友评论