mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Errors while adding as a SwiftPackage in Xcode 11 beta on MacOs 10.15 #279
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @darek on GitHub (Jul 13, 2019).
Adding library as a Swift Package works well, but when i tried to build project (even without using library in code) 3 errors appear. Deployment is set to iOS 13, and Swift version to 5.
/SourcePackages/checkouts/CoreStore/Sources/CoreStoreSchema.swift:463:39: 'uniquenessConstraints' is only available in iOS 9.0 or newer
/SourcePackages/checkouts/CoreStore/Sources/CoreStore+CustomDebugStringConvertible.swift:1209:56: 'uniquenessConstraints' is only available in iOS 9.0 or newer
/SmartInventory-bcxwvpbuikyfdpbncadpveegmjff/SourcePackages/checkouts/CoreStore/Sources/DataStack+Migration.swift:573:38: 'startMigrationForStorage(_:sourceModel:destinationModel:mappingModel:migrationType:progress:)' is only available in iOS 10.0 or newer
@jagbryrmiginte commented on GitHub (Jul 20, 2019):
Ran into the same issue. The problem is a missing definition of the minimum deployment target in the Package.swift file. I've forked the current master and fixed this. You can use https://github.com/jagbryrmiginte/CoreStore until @JohnEstropia fixes this in the main repo. Btw., I didn't release a new version, so you'll need to follow the master branch.
@JohnEstropia commented on GitHub (Jul 21, 2019):
@jagbryrmiginte Thanks for trying out a fix. Would you like to make a PR into the main repo's develop branch from your fork?
@jagbryrmiginte commented on GitHub (Jul 21, 2019):
@JohnEstropia Done :)
@darek commented on GitHub (Jul 21, 2019):
Works well, thanks. Now waiting for merge of pull request.