Installation
It is recommended to use Xcode to develop and build the project.
Requirements
- Device must be able to connect to the Internet.
- iOS version must be 11.0 or above.
Xcode
It is recommended to use Xcode to develop and build the project.
Adding Framework and Configuration to Xcode Project
Nexus Repository credentials have changed when upgrading from Legacy version. Contact MeaWallet for new credentials.
Download
mcd-<environment>-<version>.zip
.Use provided Nexus Repository credentials to sign in:
- Test:
https://nexus.ext.meawallet.com/repository/mcd-ios-group/ios/mcd-test/<version>/mcd-test-<version>.zip
- Prod:
https://nexus.ext.meawallet.com/repository/mcd-ios-group/ios/mcd-prod/<version>/mcd-prod-<version>.zip
- Test:
Unzip the archive. Archive contains iOS XCFramework -
MeaCardData.xcframework
.Add
MeaCardData.xcframework
toFrameworks, Libraries and Embedded Content
section ofGeneral
settings in iOS project target. SetEmbed & Sign
.Download
mea_config.<issuer>.zip
.Unzip the archive. Archive contains configuration file
mea_config
.Add
mea_config
to iOS AppResources
folder and AppTarget
. File must be included in the final app bundle. Framework automatically loads configuration from app bundle during runtime. Framework raises an exception if configuration file is missing, broken or otherwise fails to load.
Framework (Legacy version 1.1.0 and older)
Download
mcd-<user>-<environment>-<version>.zip
.Unzip the archive. Archive contains iOS XCFramework -
MeaCardData.xcframework
.Add
MeaCardData.xcframework
toFrameworks, Libraries and Embedded Content
section ofGeneral
settings in iOS project target. SetEmbed & Sign
.
M1 Support
MCD SDK is supported on Apple M1 and latest Xcode version. In Xcode project Build Settings for iOS Simulator target add arm64
to Excluded Architectures to avoid the following error:
McdTestApp-iphonesimulator/MeaCardData.framework/MeaCardData,
missing required architecture arm64 in file /Library/Developer/Xcode/DerivedData/McdTestApp/Build/Products/McdTestApp-iphonesimulator/MeaCardData.framework/MeaCardData (2 slices)
Undefined symbols for architecture arm64
...
ld: symbol(s) not found for architecture arm64