You need to enable JavaScript to run this app.
Torch Log Service

Torch Log Service

Copy page
Download PDF
iOS SDK( v2.x)
Install iOS SDK (v2.x)
Copy page
Download PDF
Install iOS SDK (v2.x)
Before using the Volcano Engine iOS SDK to call TLS API endpoints and implement related features, you must first install the iOS SDK. This article describes the steps for installing the iOS SDK.​
Prepare the development environment​
​
Environment​
Notice​
Xcode​
Version 14.3.1 and later.​
Swift​
Version 5.8 and later.​
Operating system​
  • iOS: Version 13.0 and later.​
  • Intel: macOS 10.15 and later.​
  • Apple Silicon: macOS 11.0 and later.​
For the complete platform declaration and verification scope, see Compatibility.​
​
Install the SDK​
The ve-tls-ios-sdk can be installed using the following methods:​
​
Swift Package Manager
CocoaPods
​
  • Xcode configuration:​
  1. Select File > Add Package Dependencies.​
  1. Enter https://github.com/volcengine/ve-tls-ios-sdk.git.​
  1. Select 2.0.1 or a higher compatible version.​
  1. Add the VolcengineTLSProducer product to the target where logging is required.​
  • Package.swift configuration:​
  • ​
    dependencies: [​
    .package(​
    url: "https://github.com/volcengine/ve-tls-ios-sdk.git",​
    from: "2.0.1"​
    )​
    ],​
    targets: [​
    .target(​
    name: "YourTarget",​
    dependencies: [​
    .product(​
    name: "VolcengineTLSProducer",​
    package: "ve-tls-ios-sdk"​
    )​
    ]​
    )​
    ]​
    ​
​
Installation verification​
Add the following content to the target source code to compile the target:​
​
import VolcengineTLSProducer​
​
let metadata = ProducerMetadata()​
​
If No such module 'VolcengineTLSProducer' appears:​
  1. Verify that the product or Pod has been added to the current Target, not just to the project.​
  1. Open the CocoaPods project using .xcworkspace. Opening .xcodeproj alone will not load Pod dependencies.​
  1. Check whether the Deployment target meets the minimum version requirement.​
  1. Clear DerivedData and re-resolve dependencies.​
tip​
  • The public import entry for the business Target is VolcengineTLSProducer; other modules in the package are not part of the public API.​
​
Last updated: 2026.10.27 17:51:01