I have my macOS app compiling and running under Big Sur and Xcode 12, however when I attempt to run the unit tests, I get the following two linker warnings.
Our deployment target is indeed 10.14.4. I've combed through the release notes for Xcode12 looking for some mention of XCTest only working on 10.15 and higher, but can't seem to find anything.
Can anyone offer any advice as to whether this is just a temporary problem with the beta, or if it's no longer possible to have a deployment target <10.15 with unit tests?
For the record, the unit tests end up running just fine, but I have this linker warning for every test target.
Thanks!
Code Block ld: warning: dylib (/Applications/Xcode12-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCTest.framework/XCTest) was built for newer macOS version (10.15) than being linked (10.14.4) ld: warning: dylib (/Applications/Xcode12-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/libXCTestSwiftSupport.dylib) was built for newer macOS version (10.15) than being linked (10.14.4)
Our deployment target is indeed 10.14.4. I've combed through the release notes for Xcode12 looking for some mention of XCTest only working on 10.15 and higher, but can't seem to find anything.
Can anyone offer any advice as to whether this is just a temporary problem with the beta, or if it's no longer possible to have a deployment target <10.15 with unit tests?
For the record, the unit tests end up running just fine, but I have this linker warning for every test target.
Thanks!