-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #455 from medz/feat/spm
feat: Swift Package Manager
- Loading branch information
Showing
11 changed files
with
142 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
## v0.0.2 | ||
|
||
- Upgrade `orm_flutter_android` to 0.0.2 version | ||
- Upgrade `orm_flutter_ios` to 0.0.4 version | ||
- Support SPM build for iOS | ||
|
||
## v0.0.1 | ||
|
||
- FFI implementation of Prisma and Flutter integration query engine, acknowledged by `orm_flutter` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
## v0.0.4 | ||
|
||
* Support Swift Package Manager | ||
|
||
## v0.0.3 | ||
|
||
* Upgrade Prisma CABI engine to `v6.0.0`. | ||
|
33 changes: 33 additions & 0 deletions
33
packages/orm_flutter_ios/ios/orm_flutter_ios/Package.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// swift-tools-version: 5.9 | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "orm_flutter_ios", | ||
platforms: [ | ||
.iOS(.v12) | ||
], | ||
products: [ | ||
.library( | ||
name: "orm-flutter-ios", | ||
type: .dynamic, | ||
targets: ["query_engine_bridge"] | ||
) | ||
], | ||
targets: [ | ||
.target( | ||
name: "query_engine_bridge", | ||
dependencies: [ | ||
.target(name: "PrismaQueryEngine") | ||
], | ||
linkerSettings: [ | ||
.linkedFramework("CoreFoundation"), | ||
.linkedFramework("Security"), | ||
] | ||
), | ||
.binaryTarget( | ||
name: "PrismaQueryEngine", | ||
path: "Frameworks/QueryEngine.xcframework" | ||
), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters