The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.
Once you have your Swift package set up, adding
iOSClientExposure as a dependency is as easy as adding it to the dependencies value of your Package.swift.
dependencies: [ .package(url: "https://github.com/EricssonBroadcastServices/iOSClientExposure", from: "3.1.6") ]
Carthage is a decentralized dependency manager that builds your dependency graph without interfering with your
Xcode project setup.
CI integration through fastlane is also available.
Install Carthage through Homebrew by performing the following commands:
$ brew update $ brew install carthage
Once Carthage has been installed, you need to create a
Cartfile which specifies your dependencies. Please consult the artifacts documentation for in-depth information about
Cartfiles and the other artifacts created by Carthage.
carthage update will fetch your dependencies and place them in
/Carthage/Checkouts. You either build the
.frameworks and drag them in your
Xcode or attach the fetched projects to your
Finally, make sure you add the
.frameworks to your targets General -> Embedded Binaries section.
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate
iOSClientExposure into your Xcode project using CocoaPods, specify it in your Podfile:
pod 'iOSClientExposure', '~> 3.1.6'
Exposure conveys seamless integration with the EMP Exposure Layer and enables client applications quick access to functionality such as authentication, entitlement requests and EPG.
EMP Exposure Layer has three central concepts of special importance.
EnvironmentDescribes the customer specific Exposure environment
SessionTokenRepresents an authenticated user session
The basic building block of any interaction with the EMP Exposure layer is
struct details the customer specific information required to make requests.
Environment, a valid
SessionToken is required for accessing most of the functionality. This token is returned upon succesful authentication through the
Authenticate endpoint. Several methods exist for dealing with user authentication, listed below.
Authenticate(environment: exposureEnv) .login(username: someUser, password: somePassword) Authenticate(environment: exposureEnv) .anonymous()
Finally, Asset Id refers to unique media assets and may represent items such as tv shows, movies, tv channels or clips. Client applications should use this id when refering to media in the EMP system.
Release specific changes can be found in the CHANGELOG.
The procedure to apply when upgrading from one version to another depends on what solution your client application has chosen to integrate
Major changes between releases will be documented with special Upgrade Guides.
Updating your dependencies is done by running
carthage update with the relevant options, such as
--use-submodules, depending on your project setup. For more information regarding dependency management with
Carthage please consult their documentation or run
|Last commit: 3 days ago|
deviceModelin Ads Options
epgto the play response. This will be used for entitlement spreading.
entitlementDate) when doing entitlement request.
Full Changelog: https://github.com/EricssonBroadcastServices/iOSClientExposure/compare/v3.1.400...v3.1.600
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics