報錯:No template named 'unary_function' in namespace 'std'; did you mean '__unary_function'??
解決:
Xcode點擊Pods點擊Build Settings點擊 Basic找到Apple Clang-Preprocessing下的Preprocessor Macros?
添加:_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION文章來源:http://www.zghlxwxcb.cn/news/detail-840860.html
文章來源地址http://www.zghlxwxcb.cn/news/detail-840860.html
到了這里,關于Xcode 15(iOS17)編譯適配報錯的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網!