iPhone开发--xcode15报错问题

  1. libarclite_iphoneos.a not fond
File not found: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

解决办法:
把target改成iOS10及以上。

  1. ‘iconv.2.4.0’ not found
Library 'iconv.2.4.0' not found Linker command failed with exit code 1 (use -v to see invocation)

解决办法:

I was able to fix this by going into Build Phases > Link Binary With Libraries, removing the old versions of libiconv (in my case I was seeing libiconv.2.4.0.tbd and libiconv.2.4.0.dylib), and adding libiconv.tbd back using the + button.

进入Build Phases > Link Binary With Libraries,去掉libiconv.2.4.0.tbd,之后添加libiconv.tbd库即可。

参考链接:

  • https://stackoverflow.com/questions/75574268/missing-file-libarclite-iphoneos-a-xcode-14-3
    https://stackoverflow.com/questions/76455043/download-xcode15beta-and-build-errror

你可能感兴趣的:(iphone,ios,xcode)