In your Xcode project, select the app target under the TARGETS section.Select your Xcode project in the Project Navigator.To install Tealium Swift libraries in additional app targets: If your project has more than one app target and needs Tealium Swift libraries in more app targets, you have to manually add them in the Frameworks, Libraries, and Embedded Content section. Select the modules to install, and select the app target you want the modules to be installed in.If the current Tealium Swift library version does not appear in the list, then reset your Swift package cache. Typically, Up to next major is recommended. In your Xcode project, select File > Add Packages… > Add Package Dependency.Swift Package Manager is the recommended and simplest way to install the Tealium Swift library: Install the Tealium for iOS library with Swift Package Manager, CocoaPods, or Carthage. Learn more about the modules available for iOS. It is recommended to install only the modules that you need in order to maintain a smaller resource footprint. The Tealium iOS library is divided into modules. It also allows you to update the code in your helper file, and not in every single View or Swift file. This gives you a single entry point from which to initialize and make tracking calls. ![]() To abstract the Tealium implementation from the rest of your app, we recommend using a helper class. iOS 9.0+, macOS 10.11+, watchOS 3.0+, or tvOS 9.2+Įxplore the iOS (Swift) sample apps to help familiarize yourself with the Tealium library, tracking methods, and best practice implementation.Swift code co-exists along side your existing Objective-C files in the same project, with full access to your Objective-C API, making it easy to adopt. For previous versions, see Swift 1.x or Objective-C. The current Tealium for Swift SDK version is 2.x.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |