-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warning: Could not read SDKSettings.json for SDK #110
Comments
Please let me know if these warnings cause any issues for you, otherwise they're harmless and can be ignored. |
No issue other than making it harder to read the useful content in the build log output without filtering all these lines. Is there a simple work around like dropping an empty |
@MaxDesiatov @toffaletti I did a little research today about this issue and found that this I tried a very minimal file to see what would work to just silence the warning. Including the following content in {
"SupportedTargets": {},
"Version": "0.0.1",
"CanonicalName": "linux"
} Is it worth including this file by default in the generated SDKs to silence this warning and make the output cleaner? It seems like this is a feature of swiftpm now and unless it's removed, it's going to search for the file whenever cross-compiling is happening. In my SDK I'm adding this empty file to make the compilation output cleaner. It doesn't hurt anything although it's annoying that it has to be there just to make the warning go away. |
The warning is now suppressed in the main branch toolchain swiftlang/swift-driver#1619 |
custom SDKs generated with
swift-sdk-generator
causeswift build
to repeatedly output this warning:This can be seen in logs from other issues:
#12
#27
The text was updated successfully, but these errors were encountered: