Skip to content

Commit

Permalink
Commits for Initial upload
Browse files Browse the repository at this point in the history
  • Loading branch information
anilkumarjwr committed Mar 11, 2024
1 parent 0607f21 commit 92a7fb1
Show file tree
Hide file tree
Showing 21 changed files with 35,778 additions and 0 deletions.
79 changes: 79 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"object": {
"pins": [
{
"package": "AudioKit",
"repositoryURL": "https://github.com/AudioKit/AudioKit.git",
"state": {
"branch": null,
"revision": "491ae3d76c64c848e308fb1f659099e3c82cd65b",
"version": "5.3.0"
}
},
{
"package": "AudioKitEX",
"repositoryURL": "https://github.com/AudioKit/AudioKitEX",
"state": {
"branch": null,
"revision": "214bedd90e9a4ff03f55c4dc3b918082b6a7ebeb",
"version": "5.3.0"
}
},
{
"package": "DunneAudioKit",
"repositoryURL": "https://github.com/AudioKit/DunneAudioKit.git",
"state": {
"branch": null,
"revision": "66796ccdfd0991b2216e82baafe93c72c905fd15",
"version": "5.3.0"
}
},
{
"package": "GenericJSON",
"repositoryURL": "https://github.com/zoul/generic-json-swift",
"state": {
"branch": null,
"revision": "a137894b2a217abe489cdf1ea287e6f7819b1051",
"version": "2.0.1"
}
},
{
"package": "KissFFT",
"repositoryURL": "https://github.com/AudioKit/KissFFT",
"state": {
"branch": null,
"revision": "dd0636e151724b8ba2e0908eba4d99a6ff24d00c",
"version": "1.0.0"
}
},
{
"package": "SoundpipeAudioKit",
"repositoryURL": "https://github.com/AudioKit/SoundpipeAudioKit.git",
"state": {
"branch": null,
"revision": "a23a27c6ebe5fdf1911559cd82d899bfc6a7eda5",
"version": "5.3.0"
}
},
{
"package": "STKAudioKit",
"repositoryURL": "https://github.com/AudioKit/STKAudioKit.git",
"state": {
"branch": null,
"revision": "8a1685afad9b5e7e892f22a8411216a36e5bcb62",
"version": "5.3.0"
}
},
{
"package": "SwiftLocation",
"repositoryURL": "https://github.com/malcommac/SwiftLocation",
"state": {
"branch": null,
"revision": "f8ec8e97095eb3a5312370ad94b921768217625f",
"version": "5.1.0"
}
}
]
},
"version": 1
}
43 changes: 43 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "ToneLibrary",
platforms: [
.iOS(.v14), .macOS(.v11)
],
products: [
.library(
name: "ToneLibrary",
targets: ["ToneListenWrapper"]),
],
dependencies: [
.package(url: "https://github.com/AudioKit/AudioKit.git", .upToNextMajor(from: "5.3.0")),
.package(url: "https://github.com/AudioKit/SoundpipeAudioKit.git", .upToNextMajor(from: "5.3.0")),
.package(url: "https://github.com/AudioKit/DunneAudioKit.git", .upToNextMajor(from: "5.3.0")),
.package(url: "https://github.com/AudioKit/STKAudioKit.git", .upToNextMajor(from: "5.3.0")),
// .package(url: "https://github.com/AudioKit/AudioKitUI.git", from: "5.2.3"),
.package(url: "https://github.com/zoul/generic-json-swift", from: "2.0.1"),
.package(url: "https://github.com/malcommac/SwiftLocation", from: "5.1.0"),
],
targets: [
.target(
name: "ToneListenWrapper",
dependencies: [
.product(name: "AudioKit", package: "AudioKit"),
.product(name: "SoundpipeAudioKit", package: "SoundpipeAudioKit"),
.product(name: "SwiftLocation", package: "SwiftLocation"),
// .product(name: "AudioKitUI", package: "AudioKitUI"),
.product(name: "DunneAudioKit", package: "DunneAudioKit"),
.product(name: "STKAudioKit", package: "STKAudioKit"),
.product(name: "GenericJSON", package: "generic-json-swift"),
"ToneListen"
],
path: "Sources/Wrapper",
publicHeadersPath: ""
),
.binaryTarget(name: "ToneListen", path: "./Sources/ToneListen.xcframework")
]
)
Binary file added Sources/.DS_Store
Binary file not shown.
8 changes: 8 additions & 0 deletions Sources/ToneLibrary/ToneLibrary.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import ToneListen
public struct ToneLibrary {
public private(set) var text = "Hello, World!"

public init() {
// var toneFramework = ToneFramework()
}
}
29 changes: 29 additions & 0 deletions Sources/ToneListen.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>BinaryPath</key>
<string>ToneListen.framework/ToneListen</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>ToneListen.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Loading

0 comments on commit 92a7fb1

Please sign in to comment.