Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
on
02-18-2022
02:02 PM
- edited on
10-03-2022
12:08 PM
by
Claudia.Landiva
To run a simulator on an M1-based Mac, your linked frameworks need to support an ARM64 for M1 slice. This is accomplished by application vendors shipping a new product packaged as an XCFramework rather than the traditional Framework. This new product version can include an M1 Simulator slice for testing.
AppDynamics is working on releasing our iOS Agent XCFramework version in the near term
In the meantime, if you want to test your product that includes our current iOS Agent Framework version, you will need to employ a work-around using Rosetta to run the simulator.
NOTE | An Apple-supplied tool that emulates an Intel Mac running on an M1 Mac, Rosetta is available on any M1 Mac.
Want to be notified of updates about either this work-around
or an XCFramework version of iOS Agent?
Click the 3-dot icon on the upper right, then select Subscribe from the drop-down list.
There are a couple of simple steps for this workaround.
In your project Build Settings, set the ‘Build Active Architecture Only’ to Yes for Debug mode. This will cause Xcode to only build a version of your app required to run on the currently chosen simulator. For most developers, this is the default setting. This does not affect the release version of your app.
Make sure your Simulator will run under Rosetta. This will force the Simulator to run an Intel version of the code, avoiding an M1 support error message. There are two ways to make this happen:
NOTE | In both cases be sure to Clean Build Folder, and then rebuild and test your app.
We are working towards delivering an XCFramework version of our agent in the near term.
We will notify the customer community here, as well as in the usual AppDynamics product announcement publications.
To receive a message alerting you to any updates to this workaround article, including news of an XCFramework iOS Agent, click the 3-dot icon on the upper right, and select Subscribe from the drop-down list.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form