I'm attempting to install a previously downloaded .xcappdata to my running application on the iPadOS Simulator (running iPadOS 26.1), but the app data won't transfer to the simulator.
I've created the Xcode basic iPadOS app template, without any code modifications - adding some items to the list and downloading the .xcappdata from an attached iPad (running iPadOS 26.1). I can remove the app from the iPad and re-attach the .xcappdata to the physical iPad - no issues there.
The issues I'm having is when trying to attach the app data on a simulator.
Steps I've tried:
- Manually drag and dropping the .xcappdata file to the simulator.
- I get a popup saying "Simulator device failed to install application data container."
- Attaching the .xcappdata through Xcode in the "Edit Schemes"->Options->App Data
- App starts fresh without any errors or items from the .xcappdata file
- Installing the .xcappdata file through the command line through
xcrun simctl install_app_data <SIM_DEVICE_ID> <MY_XCAPPDATA>- This gives an error:
Simulator device failed to install application data container.
Could not get the existing data container location for the app. Container manager error code: 55
Underlying error (domain=com.apple.containermanager, code=55):
Failed to install the requested app data package
Could not get the existing data container location for the app. Container manager error code: 55
I can however reach the "data container location" through the xcrun simctl get_app_container command, leading me to think there are some issues with underlying permissions?