-
Notifications
You must be signed in to change notification settings - Fork 72
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
Cannot open "Documentation.docc" as a "Swift Package Folder" because it is already open as a "Folder" #35
Comments
Little more background: A very similar issue occurred over in Nuke: kean/Nuke#609 Their solution was actually to remove the docc folders 😢 |
Okay, I'm closing the issue because it's not actually a problem. It was a bit of a red-herring. My main issue was solved in a very similar way to other people's here. |
Hi @huwr, thanks for looking into it more and letting us know what the underlying issue was. Glad we don't have to move docs out of |
Yeah. It's actually a totally separate issue. I still have the original error, in fact, but it is not causing any archive failures! I downgraded temporarily back to SwiftUI-Navigation 0.2.0 (which didn't have XCTestDynamicOverlay) and the warning went away, but the archive failure persisted. It turns out, there was errors elsewhere that my CI had made less than obvious. Just thought I'd leave the link to the solution in the thread in case someone finds this same issue and is having a similar trouble. |
What solved for me in the project I work on was to add the .target(
name: "MyTarget",
// ...
exclude: ["PathToDocc/MyDocs.docc"]
),
It looks like xcodebuild / Swift compiler considers that as valid (re)source path which causes those log entries. |
Hi,
I'm having an issue building this package. It's only started since we moved to Xcode 14 and 14.1. When archiving with
xcodebuild
it reports:Or more easily:
Really unsure as to what we can do here. We're brining XCTDynamicOverlay as a transitive dependency via SwiftUI-Navigation.
If it helps, here's a (sanitised) version of our xcodebuild command:
xcodebuild -workspace XXXXXX.xcworkspace -scheme XXXXXX -sdk iphoneos -disableAutomaticPackageResolution -archivePath 'Build/XXXXXX.xcarchive' archive -xcconfig XXXXXX/XXXXXX/Resources/Config/Distribution-AppStore.xcconfig XXXXXX_BUILD_NUMBER=477
The text was updated successfully, but these errors were encountered: