Post

Replies

Boosts

Views

Activity

Xcode 15 beta 6: Undefined symbols, Linker command failed with exit code 1
Switched from Xcode 14.3.1 to Xcode 15 beta 6. My project does not build now. I fix one error - I get another. Works fine on 14.3.1 of course. Macbook Pro M1. Here are errors I got: DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS. I changed all DT_TOOLCHAIN_DIR to TOOLCHAIN_DIR. Then i got 'Stored properties cannot be marked unavailable with @available' in one pod, I removed these lines to silence this exception. Then some pods (SwiftSoup, Starscream, PromiseKit) gave me different errors, that I avoided with changing their min iOS version to 14.0. And finally I stuck with two errors: 'Undefined symbols' and 'Linker command failed with exit code 1'. None of them give me any info or show me the exact place of error. I tried updating, reinstalling cocoapods, reinstalling all pods, cleaning derived data, cleaning build folder, adding -v to 'other linker flags'. Nothing gave me any clue.
4
2
4.3k
Oct ’23