I want to delete swift package, but the delete action is disabled. So, how can I do?
Question posted in Xcode
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
2
Answers
xcodeproj
(the one with the blue icon).xcodeproj
, click on your project, then click on your project. You should be able to manage your packages under the "Swift Packages" section.It is not about the Xcode 12. As you realized your folder is red.
Probably you removed this folder from the target is supposed to be referenced from here..
In other words Xcode can’t see this folder. That is why your delete button disabled.
Just delete from target and restart the Xcode so it will be removed.
Click your project > Swift Packages and click – as below