Error Codes

XTD Protect for iOS Command Line Tools

If an internal error occurs during protection, please contact Verimatrix Customer Support.

Error code

Description

Action

1001

Input archive XXXXX does not exist. Please make sure you have supplied the correct path to an archive.

Make sure the last argument in the command line used to invoke the tool points to the correct path.

1002

The IOSdefender license file XXXXX does not exist.

Make sure you have placed your license file in the XTD Protect for iOS install directory, ~/Library/iosdefender. Alternatively, if the license file is in a non-default location, please use the --license-file argument to provide a path to it.

1003

Application was previously protected. A non-protected app must be used for this service.

The application has been already protected. Please ensure the main application and any additional libraries (e.g., plug-ins or frameworks) do not have any protection applied then run the protection service again.

1004

The IOSdefender license file XXXXX has expired or is invalid.

Make sure the license file is not corrupted and has not expired.

1005

The XCFramework consists of mergeable libraries which are not supported by the tool.

Please rebuild your mergeable libraries as dynamic frameworks by setting the “Build Mergeable Library” Xcode project build setting to “NO” and run protection again.

1006

The XCFramework consists of static libraries which are not supported by the tool.

Please rebuild your static libraries as dynamic frameworks and run protection again.

1007

We could not find any libraries in your XCFramework.

Please double check the .xcframework was built correctly and its Info.plist file is not corrupted.

1013

The tool does not support protection of XXXXX files. Please provide an .xcarchive or an .xcframework as the input.

The tool can only protect XCArchives or XCFrameworks. Please double check that the input package is of the correct type.

1014

XXXX has missing dependencies, cannot be protected. Missing dependecy: <DEPENDENCY>

Please make sure the target’s dependencies are in the correct place and they are referenced properly by the target.

1015

The binary XXXXX is using unsupported features. <FEATURE>. Please revisit the requirements section in the user guide.

The binary is using unsupported features. The error will mention the feature that needs to be disabled.

1017

The binary XXXXX could not be parsed. Please ensure the binary was built for the right platform and is not corrupted. Refer to the requirements section in the user guide for more information.

The binary is using unsupported features. The error will mention the feature that needs to be disabled.

1024

The plist file is invalid or is in incorrect format. Please try to correct the plist file, rebuild and resubmit.

The plist file is invalid or is in incorrect format. Please try to correct the plist file, rebuild the archive and run the protection service again.

1027

Input archive or framework does not have a valid .xcarchive / .xcframework extension.

The input file has the wrong file extension. Please double check the input and run the protection again.

1028

The embedded.mobileprovision is missing. Correct the project configuration, rebuild the app, and resubmit.

The emb edded.mobileprovision file could not be found in the archive. Please correct the project configuration, rebuild the app, and run the protection service again.

1030

Configuration file XXXXX does not exist.

Please check if the –config argument is set correctly in the command line used to invoke the tool.

1036

Jailbreak detection cannot be turned off in online mode. Please set jailbreak detection to “soft”

Jailbreak detection is always active in online mode, however it can be set to report-only (soft). Please see the User Guide for more information.

1047

The archive verification failed. Please try rebuilding the app and resubmit.

The service was unable to verify the provided archive. Check that the archive meets all prerequisites, rebuild the archive and run the protection service again.

1050

Configuration file XXXXX is of unknown type. Please make sure that the correct file was supplied to the tool.

The supplied configuration file XXXXX should be generated by XTD Protect for iOS. Please make sure that the correct file was supplied to the tool.

1051

The configuration file XXXXX supplied to the tool does not match expected format. Please regenerate this file and verify its contents.

Configuration file XXXXX does not conform to its schema - it may be malformed. Make sure that it has been generated correctly and run the protection again.

1052

Unsupported Xcode version. Recompile the app with a supported version of Xcode and resubmit. Supported versions: XXXX

The archive was build with a version of Xcode not supported by the tool. Please recompile with a supported version of Xcode and run the protection service again.

1053

Failed to extract Xcode version from Info.plist. Add Xcode version field to Info.plist, recompile the app and resubmit.

It was not possible to extract the Xcode version from Info.plist. Please add Xcode version field to Info.plist, rebuild the app and run the protection service again.

1063

No app found. The service only supports protection of archives containing applications. Please rebuild the archive.

The archive does not contain an app. Please include an app and then rebuild the archive.

1071

XXXXX was built for an unsupported iOS / iOS SDK version or the wrong platform. Check project configuration and rebuild the archive.

The binary is targeting an unsupported platform. Check the minimum deployment target, the version of Xcode SDK used to build the app and make sure it is targeting iOS or tvOS.

1077

More than one executable is found. The service only supports protections of archives with a single executable.

More than one executable was found in the archive. One possible cause is the inclusion of plug-ins in the project.

1080

Override config is not supported in standalone mode. Please remove the -w/–override-config argument and run the tool again.

The tool was invoked with an -w/–override-config argument which is not applicable in standalone builds. Please remove the argument and run the protection service again.

1085

Failed to analyse protection target X. Rebuild and resubmit.

We could not identify the type of the target XXXXX with binary YYYYY. Please make sure that the archive was built correctly. Rebuild and submit.

1086

The selected Xcode toolchain XXXXX is not supported. Please use xcode-select to select a supported version of Xcode.

This error occurs when an unsupported version of Xcode is detected when running the checkinstall command. Select a version of Xcode that is supported by the tool and try again.

1086

Cannot assign tools to XXXXX toolchain. Xcode installation might be corrupted.

This error occurs when the selected version of Xcode has missing files while running the checkinstall command. Please select a different toolchain using xcode-select or reinstall Xcode and run the command again.

1092

Info.plist does not contain XXXXX platforms - nothing to protect. Please include at least one target for a supported platform. Rebuild and resubmit

Please include at least one target for a platform that can be protected, rebuild and run the protection service again.

1093

XXXXX does not exist. We are unable to extract information about target. Please make sure that the archive includes an Info.plist file for each target.

The archive is incomplete. Please rebuild the app, making sure that all the Info.plist files are embedded in the archive.

1094

Xcode is either not installed, not selected, or the developer directory is corrupted. Try running sudo xcode-select -s /App lications/Xcode.app

Make sure that Xcode has been installed and selected using the xcode-select command. Running “xcodebuild -version” should output a valid version string.

1100

Unexpected –injection-config (-p) command line option to use in Offline mode. Remove this option or switch to Online mode.

The additional JSON information was passed to the tool in Offline mode, however this is invalid. Run the protection service again with the –injection-config (-p) parameter removed, or switch to Online mode.

1104

Xcode path is not set to the active developer directory. The default command line tools path was detected.

Please set the Xcode path to the active developer directory with xcode-select-switch

<xcode_dev_path> command and run the protection service again.

1119

Selected toolchain XXXXX is not supported. Please select a different toolchain using xcode-select -s.

Please select a supported version of Xcode using the xcode-select

1120

The archive was built with an unsupported version of Xcode, XXXXX. Please rebuild the archive with a supported version of Xcode

The archive needs to be rebuilt with a version of Xcode that is supported by the tool.

1121

Jailbreak detection feature cannot be set to “soft” in offline mode. Please set it to either “off” or “hard” in the config file.

A soft response requires a connection to the ProtectMyApp service which is not available in offline mode.

1123

Injection config file error. The XXXXX key does not exist. Provided config: YYYYY. customer_id, parc_hostname, kms_key and kms_key_id are required for online mode.

Developer should ensure that all required fields are in the injection config file. Required fields are customer_id, parc_hostname, kms_key and kms_key_id

1124

kms_key or kms_key_id value is not valid. The key must be 256 bit. The key id must be a valid base64 value. kms_key = XXXXX kms_key_id = YYYYY

Developer should ensure that all required fields are valid in the injection config file.

1126

%s is a universal binary which is currently not supported. Please rebuild the app to target arm64 and resubmit.

Developer should ensure that binary includes only arm64 architecture.

1135

The project config file already exists. Delete the file and run the command again. Project config file: XXXX

First, check if the file relates to the project and is valid. If it contains incorrect settings or the file is out-of-date then it’s recommended to create a new project.config file with default properties and enable/disable pre-set features if it’s required.

1136

Unknown property in the project config file. Check a property name in the config file. Unrecognised property: %s

Ensure the project.config contains valid properties. it’s recommended to create a new project.config file with default properties and enable/disable pre-set features if it’s required.

1138

The main config file cannot be used as a project file. Choose a different name. Project config file: %s

It’s recommended to keep a project config file in a different location (e.g. project folder) and avoid using iosdefender.config name to avoid accidental damage of the main config file. Suggested name is project.config .

1139

Corrupted archive. One or more key components are missing. Please check Xcode project settings, rebuild and resubmit. Target platform cannot be detected.

Ensure the archive was created correctly. Check Xcode project settings, rebuild and resubmit.

1140

Invalid value in the project config file. Please check the XXXXX setting in the config file. Value YYYYY is not allowed.

The value for the property is not allowed. Please set a valid value for the property and run protection again.

1149

Encountered an illegal character in XXXXX.

A file or property includes a non-Unicode character that the tool is unable to process. The file or property should be renamed to exclude this character.

1154

Config file XXXXX is not supported.

The specified config file is invalid or from an older version of the tool. Please generate a new config file using the -b new-config command.

1157

Check settings in the project.config file. Protection of embedded frameworks and XC frameworks is disabled in the config file.

For protecting static, dynamic and embedded frameworks, the enable framework

protection must be enabled in the project.config file.

1160

Protection of archive requires Xcode toolchain XXXXX which is not selected with xcode-select command.

Please select the specified version of Xcode using the xcode-select -s command.

1161

Protection of archive requires Xcode toolchain XXXXX or newer which is not selected with xcode-select command.

Please select an Xcode version that is equal or newer than the version used to build the application using the xcode-select -s command.

1177

Empty __TEXT __objc_classname section - no load function can be identified.

The __objc_classname section under the __TEXT segment is empty. This can occur when the binary is corrupted or when every class name gets obfuscated. If advanced string obfuscation is enabled, please revise your obfuscation inclusions and exclusions.

1181

Unable to authenticate with the App Shield service: invalid credentials. Please verify your API key and its ID.

Incorrect API key values were supplied to the tool. Please verify your API key and its ID and make sure that it includes the “Monitoring for On-prem“ scope.

1183

Unable to contact the App Shield service. Please make sure you are connected to the internet

The tool is unable to contact the XTD Protect service. Verify that the machine is connected to the internet and the connections aren’t being blocked by the firewall.