dyld: Library not loaded: @rpath

2021-02-23  本文已影响0人  哈喽World

1、问题:手动导入KSAdSDK.framework运行报错

解决:在项目设置中,选择Build Phases->Embed Frameworks添加KSAdSDK.framework

(运行程序如果还报相同错误关闭项目重新运行)

2、再次运行如果报错

/Users/mac/Desktop/YLUISDK3.3.1.2/YLUISDKDemo.xcodeproj Building for iOS, but the linked and embedded framework 'KSAdSDK.framework' was built for iOS + iOS Simulator.

解决:

上一篇下一篇

猜你喜欢

热点阅读