I downloaded xcode15 beta, and then run the project and reported an error, but I did not report an error when I ran it with xcode14.3.
the error info is:
Library ‘iconv.2.4.0’ not found
Linker command failed with exit code 1 (use -v to see invocation)
2
Answers
In my case, I seemed to be linking against an older version of libiconv that was no longer available.
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
andlibiconv.2.4.0.dylib
), and addinglibiconv.tbd
back using the+
button.Search for ‘iconv.2.4.0‘ globally and replace it with ‘iconv.2‘ , then I compiled successfully. Because I did not search for ‘iconv.2.4.0’ in xcode 15 beta 3, it should be renamed to ‘iconv.2’.