Skip to content
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

Swift PM fails to find your windowsdk repository #21

Open
paulober opened this issue Sep 5, 2024 · 1 comment
Open

Swift PM fails to find your windowsdk repository #21

paulober opened this issue Sep 5, 2024 · 1 comment

Comments

@paulober
Copy link

paulober commented Sep 5, 2024

I tried to build your thebrowsercompany/windows-samples but I get following error:

Updating https://github.com/thebrowsercompany/swift-windowsappsdk.git
Updated https://github.com/thebrowsercompany/swift-windowsappsdk.git (0.64s)
error: could not find a branch named ‘main’ in https://github.com/thebrowsercompany/swift-windowsappsdk.git

Also I used this swift build and since windowsappsdk package has issues disabled I opened it here.

@compnerd compnerd transferred this issue from thebrowsercompany/swift-build Sep 5, 2024
@tristanlabelle
Copy link

Hmm I can't explain that since the repository definitely has a main branch: https://github.com/thebrowsercompany/swift-windowsappsdk/tree/main . I've just tried on a fresh clone and it works:

Fetching https://github.com/thebrowsercompany/swift-windowsappsdk
Fetched https://github.com/thebrowsercompany/swift-windowsappsdk from cache (1.04s)
Fetching https://github.com/thebrowsercompany/swift-windowsfoundation
Fetched https://github.com/thebrowsercompany/swift-windowsfoundation from cache (0.87s)
Fetching https://github.com/thebrowsercompany/swift-winui
Fetched https://github.com/thebrowsercompany/swift-winui from cache (1.03s)
Fetching https://github.com/thebrowsercompany/swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (1.26s)
Fetching https://github.com/thebrowsercompany/swift-uwp
Fetched https://github.com/thebrowsercompany/swift-uwp from cache (0.92s)
Creating working copy for https://github.com/thebrowsercompany/swift-cwinrt
Working copy of https://github.com/thebrowsercompany/swift-cwinrt resolved at main (ad451d3)
Creating working copy for https://github.com/thebrowsercompany/swift-windowsappsdk
Working copy of https://github.com/thebrowsercompany/swift-windowsappsdk resolved at main (9706ffd)
Creating working copy for https://github.com/thebrowsercompany/swift-winui
Working copy of https://github.com/thebrowsercompany/swift-winui resolved at main (41e7b0f)
Creating working copy for https://github.com/thebrowsercompany/swift-uwp
Working copy of https://github.com/thebrowsercompany/swift-uwp resolved at main (cfad0a4)
Creating working copy for https://github.com/thebrowsercompany/swift-windowsfoundation
Working copy of https://github.com/thebrowsercompany/swift-windowsfoundation resolved at main (ba7a8b5)
Building for debugging...

Can you delete your .build folder and try again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants