Swifter icon indicating copy to clipboard operation
Swifter copied to clipboard

Basic question / adding to my xcode project

Open evfrenkel opened this issue 4 years ago • 2 comments

Sorry for bothering you with what is probably a basic question, but I'm new to Xcode.

The readme says:

Swifter can be installed by simply dragging the Swifter Xcode project into your own project and adding either the SwifteriOS or SwifterMac framework as an embedded framework.

Can someone elaborate on this? I haven't been able to get it working. When I drag the project (.xcodeproj file) to the left sidebar of my project I see that the .xcodeproj file is added there, but I do not see an option to add a SwifteriOS framework as an embedded framework.

evfrenkel avatar Jul 21 '20 04:07 evfrenkel

Make sure you drag the project to be at the same level as your project's .xcodeproj Once you do that, Xcode will prompt you to create a workspace. If you added the project to be nested within your current project (i.e. inside the .xcodeproj's tree), then you'll only copy the file and not bundle the project. Let me know if you are still having trouble with it.

meteochu avatar Jul 25 '20 18:07 meteochu

You might want to take a look at SwifteriOS or SwifterMac Build settings.

image

Try to change "Always Embed Swift Standard Libraries" to "Yes", and it should solve the issue.

Let me know if it solves your issue.

creative-dev-lab avatar Feb 10 '21 19:02 creative-dev-lab