Skip to content

Commit

Permalink
OpenCV 4.6.0 package
Browse files Browse the repository at this point in the history
  • Loading branch information
benlau committed Aug 26, 2022
1 parent 7b4e0f3 commit e10287c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions OpenCV.podspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Pod::Spec.new do |s|
s.name = "OpenCV"
s.version = "4.5.5"
s.version = "4.6.0"
s.summary = "OpenCV (Computer Vision) for iOS."
s.homepage = "https://opencv.org/."

s.license = 'BSD'
s.author = 'https://github.com/opencv/opencv/graphs/contributors'

s.source = { :http => "https://github.com/oursky/opencv/releases/download/4.5.5/opencv2.xcframework.zip" }
s.source = { :http => "https://github.com/oursky/opencv/releases/download/#{s.version}/opencv2.xcframework.zip" }

s.module_name = "OpenCV"

Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PackageDescription
let package = Package(
name: "opencv2",
platforms: [
.macOS(.v10_12)
.macOS(.v10_12), .iOS(.v9)
],
products: [
.library(
Expand All @@ -13,8 +13,8 @@ let package = Package(
],
targets: [
.binaryTarget(name: "opencv2",
url: "https://github.com/oursky/opencv/releases/download/4.5.5/opencv2.xcframework.zip",
checksum: "54cfa730bc016412200fe7a190e88aedfaf8b72e5faba9f0f83d250276aaefc0"
url: "https://github.com/oursky/opencv/releases/download/4.6.0/opencv2.xcframework.zip",
checksum: "561eafb11ef915d4fd06c588b0825741f1a450ec345808bab854290c3ef16528"
)
]
)
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ Build instruction
./platforms/ios/build_framework.py build_xc --iphoneos_archs=arm64 --iphonesimulator_archs x86_64,arm64
```

3. Add the following line inside your Podfile

```
pod 'OpenCV', :git => 'https://github.com/oursky/opencv.git', branch: 'REPLACE_BY_VERSION'
```

0 comments on commit e10287c

Please sign in to comment.