xcode编译错误 ld: framework not found UserNotifications clang: error: linker command failed with exit code 1 (use -v to see invocation)

ld: framework not found UserNotifications
clang: error: linker command failed with exit code 1 (use -v to see invocation)

项目使用xcode7写的,pod update升级几个库以后编译报错,后来查询了下,用xcode8运行 添加UserNotifications.framework即可

xcode编译错误 ld: framework not found UserNotifications clang: error: linker command failed with exit code 1 (use -v to see invocation)_第1张图片
WechatIMG64.jpeg

这样设置后 放到真机上到了启动图以后会闪退 报错
dyld: Library not loaded: /System/Library/Frameworks/UserNotifications.framework/UserNotifications解决办法

xcode编译错误 ld: framework not found UserNotifications clang: error: linker command failed with exit code 1 (use -v to see invocation)_第2张图片
WechatIMG65.jpeg

你可能感兴趣的:(xcode编译错误 ld: framework not found UserNotifications clang: error: linker command failed with exit code 1 (use -v to see invocation))