Pangle iOS SDK Beta package for Swift Package Manager.
Before integrating the package, make sure the app target enables the -ObjC linker flag in Xcode: select the app target, open Build Settings, search for Other Linker Flags, and add -ObjC.
For the full Pangle iOS integration guide, see the official Pangle documentation.
In Xcode, choose File -> Add Package Dependencies..., then enter:
https://github.com/bytedance/AdsGlobalPackage-Beta.git
Select a Beta tag, for example:
8.4.0-beta.0
Choose the product:
AdsGlobalPackage
Import the SDK in code:
import AdsGlobalPackageAdd the Beta package dependency:
dependencies: [
.package(
url: "https://github.com/bytedance/AdsGlobalPackage-Beta.git",
exact: "8.4.0-beta.0"
)
]Then add the product dependency to your target:
targets: [
.target(
name: "YourTarget",
dependencies: [
.product(name: "AdsGlobalPackage", package: "AdsGlobalPackage-Beta")
]
)
]Import the SDK in code:
import AdsGlobalPackage