├── .gitignore ├── LICENSE.md ├── Package.swift ├── README.md └── Sources └── DittoSwiftWrapper └── dummy.swift /.gitignore: -------------------------------------------------------------------------------- 1 | *.xcframework* 2 | *.xcodeproj 3 | .DS_Store 4 | .build 5 | .swiftpm/ 6 | DerivedData/ 7 | Package.resolved 8 | Packages/ 9 | xcuserdata/ 10 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Ditto Binary License 2 | 3 | Copyright © 2019 DittoLive Incorporated. All rights reserved. 4 | 5 | NOTICE: All information contained herein is, and remains the property of 6 | DittoLive. The intellectual and technical concepts contained herein are 7 | proprietary to DittoLive and may be covered by U.S. and Foreign Patents, 8 | patents in process, and are protected by trade secret and copyright law. 9 | 10 | Redistribution and use in binary form, with or without modification, is 11 | permitted provided that the following conditions are met: 12 | 13 | 1. You agree not to attempt to decompile, disassemble, reverse engineer or 14 | otherwise discover the source code from which the binary code was derived. 15 | 16 | 2. Redistributions in binary form must reproduce the above copyright notice, 17 | this list of conditions and the following disclaimer in the documentation 18 | and/or other materials provided with the distribution. 19 | 20 | 3. Neither the name of the copyright holder nor the names of its 21 | contributors may be used to endorse or promote products derived from this 22 | software without specific prior written permission. 23 | 24 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 25 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 26 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 27 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 28 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 29 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 30 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 31 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 32 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 33 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 34 | POSSIBILITY OF SUCH DAMAGE. 35 | -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- 1 | // swift-tools-version:5.8.1 2 | 3 | import PackageDescription 4 | 5 | let package = Package( 6 | name: "Ditto", 7 | platforms: [ .iOS(.v14), .macOS(.v11), .macCatalyst(.v14), .tvOS(.v14) ], 8 | products: [ 9 | .library( 10 | name: "DittoSwift", 11 | targets: ["DittoSwiftWrapper"]), 12 | .library( 13 | name: "DittoObjC", 14 | targets: ["DittoObjC"]), 15 | ], 16 | targets: [ 17 | .target( 18 | name: "DittoSwiftWrapper", 19 | dependencies: [ 20 | .target(name: "DittoSwift"), 21 | .target(name: "DittoObjC"), 22 | ] 23 | ), 24 | .binaryTarget( 25 | name: "DittoSwift", 26 | url: "https://software.ditto.live/cocoa/DittoSwift/4.11.0-rc.4/dist/DittoSwift.xcframework.zip", 27 | checksum: "a6ff4f8e645cac4432dac60bfda90d1d4d7d11f567b8452605c9d0b2fe969f97" 28 | ), 29 | .binaryTarget( 30 | name: "DittoObjC", 31 | url: "https://software.ditto.live/cocoa/DittoObjC/4.11.0-rc.4/dist/DittoObjC.xcframework.zip", 32 | checksum: "a0240e660870baf0f680863a7adc7ab21976cd9eeb675b2846ab8bdc2cd845af" 33 | ), 34 | ] 35 | ) 36 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Ditto Swift Package 📦 2 | 3 | [](https://swiftpackageindex.com/getditto/DittoSwiftPackage) [](https://swiftpackageindex.com/getditto/DittoSwiftPackage) 4 | 5 |