dyld: Library not loaded: @rpath/KSAdSDK.framework/KSAdSDKSDK

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.

解决:

你可能感兴趣的:(dyld: Library not loaded: @rpath/KSAdSDK.framework/KSAdSDKSDK)