- Xcode 13
- Monterey 12.1
- swift-tools-version:5.5
- iOS 13
| Platform / arch | arm64 | x86_x64 |
|---|---|---|
| iOS (device) | ✅ | N/A |
| iOS (simulator) | ✅ | ✅ |
We are happy to introduce DocC documentation for LASDKiOS. Simply build the documentation with Command + Control + Shift + D in your app and have all the documentation that you need right in Xcode.
1. In your Xcode Project, select File > Swift Packages > Add Package Dependency.
2. Follow the prompts using the URL for this repository
3. Choose which version you would like to checkout(i.e. 2.0.0)
4. Make sure the binary is linked in your Xcode Project via the target ``Target -> Build Phases -> Linked Binary``.
If you want to depend on LASDKiOS in your own project using SPM, it's as simple as adding a dependencies clause to your Package.swift:
dependencies: [
.package(url: "https://github.com/cbajapan/swift-lasdk-ios.git", from: "2.0.0")
]Starting in version 2.0.0 of LASDK we are supporting CocoaPods as a delivery mechanism.
In order to use our CocoaPod please follow the following instructions.
- Navigate to your project
- Run
pod init - Run
open -a Xcode Podfile - Edit the Podfile as indicated below
source 'https://github.com/cbajapan/swift-lasdk-ios'
target 'CBAFusion' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for CBAFusion
pod 'LASDKiOS', '~> 2.0.0'
pod 'WebRTC', '~> 110.0.0'
end
- Close the Podfile
- Run
pod install - You now will use the .xcworkspace instead of .xcodeproj as a project source.
NOTE: if you have trouble installing or updating the CocoaPod, you may have an issue with the local pod repo.
If that is the case please try running the following Pod Commands
sudo rm -rf ~/.cocoapods/repos/cbajapan-swift-lasdk-ios
pod setup
pod install
Afterwards you can run the install or update command again
pod install
Swift
import LASDKiOSObjective-C
@import LASDKiOS;Please Read our DocC Documentation for more information
WebSocket Reconnection Control