-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove bitcode from iOS and make available on SPM (#149)
- Loading branch information
Showing
29 changed files
with
318 additions
and
484 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
.idea | ||
multiple_keywords.idx | ||
.DS_Store | ||
.DS_Store | ||
.build | ||
Package.resolved | ||
.swiftpm |
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,37 @@ | ||
// swift-tools-version:5.3 | ||
import PackageDescription | ||
let package = Package( | ||
name: "Octopus-iOS", | ||
platforms: [ | ||
.iOS(.v13) | ||
], | ||
products: [ | ||
.library( | ||
name: "Octopus", | ||
targets: ["Octopus"] | ||
) | ||
], | ||
targets: [ | ||
.binaryTarget( | ||
name: "PvOctopus", | ||
path: "lib/ios/PvOctopus.xcframework" | ||
), | ||
.target( | ||
name: "Octopus", | ||
dependencies: ["PvOctopus"], | ||
path: ".", | ||
exclude: [ | ||
"binding/ios/OctopusAppTest", | ||
"demo" | ||
], | ||
sources: [ | ||
"binding/ios/Octopus.swift", | ||
"binding/ios/OctopusErrors.swift", | ||
"binding/ios/OctopusMetadata.swift" | ||
], | ||
resources: [ | ||
.copy("lib/common/param/octopus_params.pv") | ||
] | ||
) | ||
] | ||
) |
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,7 +1,7 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'Octopus-iOS' | ||
s.module_name = 'Octopus' | ||
s.version = '2.0.0' | ||
s.version = '2.0.1' | ||
s.license = {:type => 'Apache 2.0'} | ||
s.summary = 'iOS binding for Picovoice\'s Octopus Speech-to-Index engine' | ||
s.description = | ||
|
@@ -12,11 +12,15 @@ Pod::Spec.new do |s| | |
DESC | ||
s.homepage = 'https://github.com/Picovoice/octopus/tree/master/binding/ios' | ||
s.author = { 'Picovoice' => '[email protected]' } | ||
s.source = { :git => "https://github.com/Picovoice/octopus.git", :tag => "Octopus-iOS-v2.0.0" } | ||
s.source = { :git => "https://github.com/Picovoice/octopus.git", :tag => s.version.to_s } | ||
s.ios.deployment_target = '13.0' | ||
s.swift_version = '5.0' | ||
s.vendored_frameworks = 'lib/ios/PvOctopus.xcframework' | ||
s.resources = 'lib/common/param/octopus_params.pv' | ||
s.resource_bundles = { | ||
'OctopusResources' => [ | ||
'lib/common/param/octopus_params.pv' | ||
] | ||
} | ||
s.source_files = 'binding/ios/*.{swift}' | ||
s.exclude_files = 'binding/ios/OctopusTestApp/**' | ||
end |
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
Oops, something went wrong.