Post

Replies

Boosts

Views

Activity

How to add swift packages from public github repositories in XCode 14.2?
How do you add swift packages from public github respositories? In previous Xcode-Versions you could use File -> Add packages to add swift packages directly via its Github URL (for example https://github.com/SourcePointUSA/ios-cmp-app.git). When I try this on XCode 14.2 I just get an error "The remote repository could not be accessed". The package manager then displays a dialog that asks me for credentials. Since I don't have nor need any credentials for a public respository I am unsure on how to continue. Do I need to manually download the library and copy it to my project? Or is there still a way to do this using the swift package managere? Upgrading to newer XCode verisons is not an option at the moment.
0
0
456
Dec ’23
XCode hangs when opening any project
XCode 13.4.1 on my M1 Mac Mini is always stuck when I try to open a project with it. Tried it on multiple projects but it always just shows the spinner and nothing happens. Menus don't work. There's no error message. The command line tool xcodebuild shows some informations, the last being the two "User defaults from the command line:" and then gets stuck forever as well. I removed XCode and reinstalled it from scratch. That didn't help. I removed everything from the ~/Library/Developer folder and reinstalled but that didn't help either. I also cleared out /Library/Developer/ and reinstalled but same results. I already wasted two days on this and I don't understand what else I could try. Does anybody have an idea on how to fix Xcode? Do I need to format the system drive and reinstall osx from scratch?
0
0
371
Jul ’23