Configuration icon indicating copy to clipboard operation
Configuration copied to clipboard

Swift 4 Migration

Open youming-lin opened this issue 7 years ago • 2 comments

  • [ ] SPM is changing executable location again. BasePath.project will be removed along with implicit Xcode support.
  • [x] Update Package.swift to Swift 4 format.
  • [ ] Add new APIs to support Codable.

youming-lin avatar Aug 21 '17 17:08 youming-lin

@youming-lin I am using BasePath.project to load project files. What should I use instead?

svanimpe avatar Sep 20 '17 09:09 svanimpe

@svanimpe Depends on your use case, but I lean towards .pwd now. It is the method least affected by changes in build process. As it is currently,swift build --build-path can break .project as .project assumes the existence of a Package.swift somewhere in a parent folder of the executable.

youming-lin avatar Sep 20 '17 14:09 youming-lin