Installation

Malwarelytics for Apple is distributed via Swift Package Manager (SPM) and Cocoapods private repository..

Malwarelytics for Apple supports iOS 10+ and requires Xcode 12 to build.

Personalized Configuration Required.
In order to use Malwarelytics for Apple, you need a custom configuration and access credentials for both the service and artifact repository. Contact your sales representative or technical consultant in order to obtain the required prerequisites.

Prerequisities

You need to create credentials file to access our private repository (needed for for SPM and Cocoapods).

Create (or append to if already exists) a .netrc file in your home directory (~) with your credentials to Wultra Artifactory.

machine wultra.jfrog.io
      login [[email protected]]
      password [password]

Swift Package Manager

Add the following repository as a dependency into your project:

   https://github.com/wultra/malwarelytics-apple-release

You can use Xcode’s dedicated user interface to do this or add the dependency manually, for example:

   // swift-tools-version:5.4

   import PackageDescription

   let package = Package(
       name: "YourLibrary",
       products: [
           .library(
               name: "YourLibrary",
               targets: ["YourLibrary"]),
       ],
       dependencies: [
           .package(name: "AppProtection", url: "https://github.com/wultra/malwarelytics-apple-release.git", .upToNextMajor(from: "1.1.0"))
       ],
       targets: [
           .target(
               name: "YourLibrary",
               dependencies: [
                   "AppProtection"
               ])
       ]
   )

You can check the latest versions of the library at the release page.

Cocoapods

The library is also distributed via Cocoapods private repository. If you’re not using cocoapods in your project, visit usage guide.

  1. Add pod to your Podfile:

    target 'MyProject' do
        use_frameworks!
        pod 'AppProtection', :git => 'https://github.com/wultra/malwarelytics-apple-release.git', :tag => '1.1.0'
    end
    

    You can check the latest versions of the library at the release page.

  2. Run pod install in your project dictionary to make the AppProtection framework available in your project.

Last updated on Jan 07, 2022 (09:36) View product
Search

2022.02

Malwarelytics

Malwarelytics for Apple