Skip to main content

iOS

Prerequisites

  • iOS 13.0 or above.
  • Xcode 14.3 or above.
  • CocoaPods 1.10.0 or above.

Installation

Create Podfile

If you don't have it already, you need to create the Podfile in the project root directory.

Update Podfile

Open the Podfile and add the following code to the application's target:

source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/Yodo1Games/MAS-Spec.git'

pod 'Yodo1MasFull', '4.13.2'

use_frameworks! :linkage => :static

Then execute the following command in terminal to install the pods:

pod install
info

To ensure your build is compatible with artifacts that contain Swift, set Build Settings Always Embed Swift Standard Libraries to YES.

If you use Swift and build for iOS 12.2.0 or earlier, add /usr/lib/swift to Build Settings > Runpath Search Paths to prevent issues with libswiftCore.dylib.

Next Steps