路径1
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/
路径2
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
路径3
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/
这三个目录添加一下这三个库完美解决 之前按照这三个路径添加上对应文件即可。
然后在确认最开始的三个路径全部添加完成没有问题之后,按照下面给出的提示路径依次点开之后重新把.dylib格式的文件拖进去即可。
路径4 ------- 针对于模拟器不能运行报错
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulato
文件获取地址:
链接: https://pan.baidu.com/s/1oMXrPZtO2-BaMll90wJw7g
提取码: 57qc