-
-
Notifications
You must be signed in to change notification settings - Fork 530
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
xcodebuild show issues: Cannot open "*.docc" as a "Swift Package Folder" because it is already open as a "Folder".} #609
Comments
Can you please provide an example project? |
I had a similar error on our CI with another project. Downgrading Xcode from 14.0.1 to 13.4.1 fixed the issue |
Hi @kean, |
Just a heads up, our team at work is also experiencing this issue with other Swift Packages (e.g.
Our resolution was similar after a lot of back and forth with the folks at Azure. Seems like something undocumented changed in Xcode 14 with |
I have the same issue. |
I'm able to reproduce it. There seems to be an issue with xcodebuild and |
Thanks so much 11.3.1 works great |
I tried Xcode 14.1 RC and it's not fixed. Please upgrade to Nuke 11.3.1 that has a workaround for this issue. |
@gabors, @Sam-Spencer, can you please share your |
I was actually ok with Xcode 14.1 RC1 (didn't have a chance to try with today's RC2). |
@kean
I do not believe |
OK, I initially thought it was failing the build for some people, but looks like it isn't, is it? If it's not, I'll consider adding Unfortunately, I can still see the (false positive) error messages when I install the previous version of Nuke and use xcodebuild in Xcode 14.1 RC. I don't want to pollute the builds with these errors. |
Yeah I was also enjoying the build log without those docc errors. |
It contains additional documentation: articles, extensions for types, etc. When you click "Open in Developer Documentation" for the first time, it'll ask you to build the documentation. It uses these DocC files to generate the docs. Without them, you'll see only a subset of what's currently hosted on GitHub. |
Ah very cool, looks really good. |
Downgrading to Xcode 13.4.1 worked for me as well 👍 |
The real cause was NOT the .docc warnings for the build to fail, to make that clear. |
I'm going to put docc files back into the Sources/ folder in the upcoming release as this issue seems to be a false positive and doesn't affect the build. Hopefully the error message will be fixed in one of the upcoming Xcode release, if not already fixed. |
Hi all, I'm experiencing this issue on
|
It used to be an error message that wasn't failing the build. It looks like it depends on something else in the project setup. There is a workaround to address the build failure: add Update: I removed docc files again in 11.5.2 and will look for a better long-term solution. |
@kean thank you for that |
Hi @kean – I work on the same project as @JackTudor96. We're still seeing the same issue on 11.5.2 unfortunately. We've also tried setting the |
Tagged the wrong brach, sorry. Should now be fixed. |
No worries! Is this for 11.5.2? If so, I've just run another build on our CI to test and still seeing the same issue but I'm not sure if I'm missing something. In the logs below you can see just before the issue occurs it's using 11.5.2.
|
Hi @kean – it seems the issue has been resolved in 11.5.3 now, thanks for your help! 👍 |
Tested in Xcode 14.3 beta – the issue still persists. |
Update: it appears to be a non-blocking issue. I tested it in the following project: xcodebuild archive -scheme test-nuke-docc -configuration Release There are also other reports, for example in swift-log that confirm that it's non-blocking. Tools like
If you remove
|
I totally agree. This is just a warning when using Regarding |
Thanks!. This solved my issue!!!. |
Xcode Version 14.0.1 (14A400)
Nuke version: 11.3.0
The text was updated successfully, but these errors were encountered: