Skip to content

Commit

Permalink
Merge pull request #1 from FlineDevPublic/main
Browse files Browse the repository at this point in the history
Add building support for visionOS
  • Loading branch information
Jeehut authored Feb 3, 2024
2 parents 6160d53 + c1e5d86 commit 4a1c055
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// swift-tools-version: 5.8
// swift-tools-version: 5.9
import PackageDescription

let package = Package(
name: "ReviewKit",
platforms: [.iOS(.v11), .macOS(.v10_14), .macCatalyst(.v14)],
platforms: [.iOS(.v12), .macOS(.v10_14), .macCatalyst(.v14), .visionOS(.v1)],
products: [.library(name: "ReviewKit", targets: ["ReviewKit"])],
dependencies: [],
targets: [.target(name: "ReviewKit", dependencies: [])]
Expand Down
2 changes: 1 addition & 1 deletion Sources/ReviewKit/ReviewKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public enum ReviewKit {
} else {
SKStoreReviewController.requestReview()
}
#else
#elseif os(macOS)
SKStoreReviewController.requestReview()
#endif
}
Expand Down

0 comments on commit 4a1c055

Please sign in to comment.