Installation

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

Malwarelytics for Apple supports iOS 12+ and requires Xcode 14.3+.

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 a credentials file to access our private repository (needed for both SPM and Cocoapods integration).

Create (or append to if it 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 to 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.2.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 => '2.1.1'
    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 Nov 14, 2023 (07:07) View product
Search

2.1.x

Malwarelytics for Apple