首页 > 代码库 > embedded dylibs/frameworks are only supported on iOS 8.0 and later 错误解决

embedded dylibs/frameworks are only supported on iOS 8.0 and later 错误解决

ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
ld: embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/XXX.framework/XXX) for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
原因:主要是因为XXX的framework支持的最低开发环境为8.0,而使用该framework的工程支持版本为8.0以下(我这里的环境为4.3)

解决方法:选择低版本的开发环境,重新编译XXX的framework

技术分享



embedded dylibs/frameworks are only supported on iOS 8.0 and later 错误解决