Environment:
Mac: macOS Mojave 10.14Beta (18A326g)
Xcode Version : 10.0 beta 2 (10L177m)
目前遇到的问题 (后续会持续更新):
1, unable to attach DB error
感谢uerceg的回答:
(https://stackoverflow.com/questions/51153525/xcode-10-unable-to-attach-db-error)
Okay, seems like I managed to solve it. I was having `/bin/sh` script in `Build Phases` that was trying
to build fat static library. In the script, I had `OBJROOT` path set like this:
OBJROOT="${OBJROOT}"
Seems like Xcode 10 and new build system changed some paths on the way and this line was the
source of the issue. It needs to be adjusted to:
OBJROOT="${OBJROOT}/DependentBuilds"
After that, `xcodebuild` manages to build this target without issues with new build system introduced
in Xcode 10.
2, xcode10 library not found for -lstdc++.6
Apple 的 rd 回复:
libstdc++ was deprecated about 5 years ago (note that it hasn't been available in tvOS nor watchOS).
Please switch to using libc++.
网友评论