-
Notifications
You must be signed in to change notification settings - Fork 512
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 (#1328)
- Loading branch information
Showing
49 changed files
with
835 additions
and
1,034 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,9 +1,9 @@ | ||
[submodule "binding/unity/VoiceProcessor"] | ||
path = binding/unity/VoiceProcessor | ||
url = ../unity-voice-processor.git | ||
url = https://github.com/Picovoice/unity-voice-processor.git | ||
[submodule "demo/c/dr_libs"] | ||
path = demo/c/dr_libs | ||
url = ../../mackron/dr_libs.git | ||
url = https://github.com/mackron/dr_libs.git | ||
[submodule "demo/c/pvrecorder"] | ||
path = demo/c/pvrecorder | ||
url = ../pvrecorder.git | ||
url = https://github.com/Picovoice/pvrecorder.git |
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,64 @@ | ||
// swift-tools-version:5.3 | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "Porcupine-iOS", | ||
platforms: [ | ||
.iOS(.v13) | ||
], | ||
products: [ | ||
.library( | ||
name: "Porcupine", | ||
targets: ["Porcupine"] | ||
) | ||
], | ||
dependencies: [ | ||
.package( | ||
url: "https://github.com/Picovoice/ios-voice-processor.git", | ||
.upToNextMajor(from: "1.2.0") | ||
) | ||
], | ||
targets: [ | ||
.binaryTarget( | ||
name: "PvPorcupine", | ||
path: "lib/ios/PvPorcupine.xcframework" | ||
), | ||
.target( | ||
name: "Porcupine", | ||
dependencies: [ | ||
"PvPorcupine", | ||
.product(name: "ios_voice_processor", package: "ios-voice-processor") | ||
], | ||
path: ".", | ||
exclude: [ | ||
"binding/ios/PorcupineAppTest", | ||
"binding/flutter", | ||
"binding/react-native", | ||
"binding/unity", | ||
"demo" | ||
], | ||
sources: [ | ||
"binding/ios/Porcupine.swift", | ||
"binding/ios/PorcupineErrors.swift", | ||
"binding/ios/PorcupineManager.swift" | ||
], | ||
resources: [ | ||
.copy("resources/keyword_files/ios/alexa_ios.ppn"), | ||
.copy("resources/keyword_files/ios/americano_ios.ppn"), | ||
.copy("resources/keyword_files/ios/blueberry_ios.ppn"), | ||
.copy("resources/keyword_files/ios/bumblebee_ios.ppn"), | ||
.copy("resources/keyword_files/ios/computer_ios.ppn"), | ||
.copy("resources/keyword_files/ios/grapefruit_ios.ppn"), | ||
.copy("resources/keyword_files/ios/grasshopper_ios.ppn"), | ||
.copy("resources/keyword_files/ios/hey google_ios.ppn"), | ||
.copy("resources/keyword_files/ios/hey siri_ios.ppn"), | ||
.copy("resources/keyword_files/ios/jarvis_ios.ppn"), | ||
.copy("resources/keyword_files/ios/ok google_ios.ppn"), | ||
.copy("resources/keyword_files/ios/picovoice_ios.ppn"), | ||
.copy("resources/keyword_files/ios/porcupine_ios.ppn"), | ||
.copy("resources/keyword_files/ios/terminator_ios.ppn"), | ||
.copy("lib/common/porcupine_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
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,7 +1,7 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'Porcupine-iOS' | ||
s.module_name = 'Porcupine' | ||
s.version = '3.0.2' | ||
s.version = '3.0.4' | ||
s.license = {:type => 'Apache 2.0'} | ||
s.summary = 'iOS SDK for Picovoice\'s Porcupine wake word engine' | ||
s.description = | ||
|
@@ -22,7 +22,7 @@ Pod::Spec.new do |s| | |
DESC | ||
s.homepage = 'https://github.com/Picovoice/porcupine/tree/master/binding/ios' | ||
s.author = { 'Picovoice' => '[email protected]' } | ||
s.source = { :git => "https://github.com/Picovoice/porcupine.git", :tag => "Porcupine-iOS-v3.0.2" } | ||
s.source = { :git => "https://github.com/Picovoice/porcupine.git", :tag => s.version.to_s } | ||
s.ios.deployment_target = '13.0' | ||
s.swift_version = '5.0' | ||
s.vendored_frameworks = 'lib/ios/PvPorcupine.xcframework' | ||
|
@@ -35,5 +35,5 @@ Pod::Spec.new do |s| | |
s.source_files = 'binding/ios/*.{swift}' | ||
s.exclude_files = 'binding/ios/PorcupineAppTest/**' | ||
|
||
s.dependency 'ios-voice-processor', '~> 1.1.1' | ||
s.dependency 'ios-voice-processor', '~> 1.2.0' | ||
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.