GitHub - bytedance/AdsGlobalPackage-Beta · GitHub
Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

Pangle iOS SDK Beta

Pangle iOS SDK Beta package for Swift Package Manager.

Integration

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.

Option 1: Add the package in Xcode

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 AdsGlobalPackage

Option 2: Add the package in Package.swift

Add 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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages