SwiftString icon indicating copy to clipboard operation
SwiftString copied to clipboard

Fully reverted to stop error with package manager

Open wardour opened this issue 8 years ago • 3 comments

'dependencies' swiftLanguageVersions: [3], ^~~~~~~~~~~~~~~~~~~~~~~~~~ dependencies: [] Can't parse Package.swift manifest file because it contains invalid format. Fix Package.swift file format and try again.

wardour avatar Jul 11 '17 03:07 wardour

If you're not using a Swift 4 capable compiler you should probably be using SwiftString v1.0.x instead, though @iamjono will know more.

thislooksfun avatar Jul 11 '17 08:07 thislooksfun

This package is used by Perfect-Session and the change / partial revert @iamjono made, caused this to break.

swiftLanguageVersions: [3], <- Is unnecessary.

wardour avatar Jul 12 '17 16:07 wardour

Ah, I didn't realize Perfect-Session used it. Still, I'm running Swift 3.1.1 with no problems, and I'm using both Perfect-Session and I added SwiftString 2 to my Package.swift as well. What version of Swift are you trying to use?

thislooksfun avatar Jul 12 '17 18:07 thislooksfun