1

I want to add SwiftyDropbox package locally to my Xcode Swift project so it builds fastest.

I added dependency to SwiftyDropbox github URL and it runs ok, but takes over a minute to build after Xcode clean (ie. realclean).

I'm following Apple's article "Editing a Package Dependency as a Local Package" but step 3. doesn't work: "Select the Swift package’s folder in Finder and drag it into the Project navigator".

enter image description here

Doug Null
  • 7,989
  • 15
  • 69
  • 148
  • Are you dragging the folder into the project or the `KP_to_iOS_5.xcodeproj` file? Apple's tutorial says: "Select the Swift package’s **folder** in Finder and drag it into the Project navigator." – JustMakeStuff May 30 '22 at 18:46
  • I'm dragging folder SwiftyDropbox-master, which I cloned from github and it doesn't have .xcodeproj file. – Doug Null May 31 '22 at 17:22
  • Sorry - I thought your picture showed you dragging a `.xcodeproj` file to Xcode. – JustMakeStuff May 31 '22 at 17:57
  • Same problem here. Following Apple description and stuck at step 3. Did you find an answer? – Martin Nov 15 '22 at 15:41

1 Answers1

0

I've added it to the local repo and then added the local path to the folder of that repo.

file:///absolute_path

enter image description here

Vitalii Boiarskyi
  • 1,363
  • 2
  • 10
  • 25