Configure Xcode to Replace Third-Party Libraries
This product is deprecated. Veracode will delete this topic on February 1, 2023.
You can force Xcode to create a mock framework so that you can successully build an application.
In Xcode, create a mock framework with a name that includes the name of the library you want to replace. For example, if the original library is named
InclusionLib, name the new framework
Import this mock framework into the application project.
Edit the source code of your mock framework and stub out any methods and classes that you want to access from your application.
Link the mock framework to the main application and make it a target dependency.