Unable to install app on simulator with xcode 12.3 on BigSur

Details
This app could not be installed at this time.
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Could not install at this time.
Recovery Suggestion: Failed to stage file:///Users/xyz/Library/Developer/CoreSimulator/Devices/0C7C5CED-3829-4643-AE91-48E5B9DF44CF/data/Containers/Shared/SystemGroup/systemgroup.com.apple.installcoordinationd/Library/InstallCoordination/PromiseStaging/C292E32B-5E19-43FA-9365-A8F0885FBBE2/Acme.app/ to /Users/xyz/Library/Developer/CoreSimulator/Devices/0C7C5CED-3829-4643-AE91-48E5B9DF44CF/data/Library/Caches/com.apple.mobile.installd.staging/temp.iW3apf/Acme.app
  • -

Failed to stage file:///Users/xyz/Library/Developer/CoreSimulator/Devices/0C7C5CED-3829-4643-AE91-48E5B9DF44CF/data/Containers/Shared/SystemGroup/systemgroup.com.apple.installcoordinationd/Library/InstallCoordination/PromiseStaging/C292E32B-5E19-43FA-9365-A8F0885FBBE2/Acme.app/ to /Users/xyz/Library/Developer/CoreSimulator/Devices/0C7C5CED-3829-4643-AE91-48E5B9DF44CF/data/Library/Caches/com.apple.mobile.installd.staging/temp.iW3apf/Acme.app
Domain: MIInstallerErrorDomain
Code: 107
User Info: {
FunctionName = "-[MobileInstallationHelperService stageItemAtURL:options:completion:]";
SourceFileLine = 440;
}
  • -

rename of file:///Users/xyz/Library/Developer/CoreSimulator/Devices/0C7C5CED-3829-4643-AE91-48E5B9DF44CF/data/Containers/Shared/SystemGroup/systemgroup.com.apple.installcoordinationd/Library/InstallCoordination/PromiseStaging/C292E32B-5E19-43FA-9365-A8F0885FBBE2/Acme.app/ to file:///Users/xyz/Library/Developer/CoreSimulator/Devices/0C7C5CED-3829-4643-AE91-48E5B9DF44CF/data/Library/Caches/com.apple.mobile.installd.staging/temp.iW3apf/Acme.app failed: Operation not permitted
Domain: NSPOSIXErrorDomain
Code: 1
Failure Reason: Operation not permitted
User Info: {
FunctionName = "-[MIFileManager _moveItemAtURL:toURL:failIfSrcMissing:error:]";
SourceFileLine = 274;
}
  • -

System Information
macOS Version 11.1 (Build 20C69)
Xcode 12.3 (17715) (Build 12C33)
Timestamp: 2021-01-20T11:21:59-08:00

I have tried reinstalling everything still no luck
  • I'm getting the same error with Xcode 12.5.1 on macOS Big Sur (11.5 (20G71)). Xcode is becoming useless, as I have no way to run code for this app, although it works for other apps, and the same project runs on other macs with the same software versions.

    Details Unable To Install “Demo” Domain: IXUserPresentableErrorDomain Code: 1 Failure Reason: Please try again later. Recovery Suggestion: Failed to stage file:///Users/user/Library/Developer/CoreSimulator/Devices/F490E8B0-1F69-4A23-802F-43942BC5604E/data/Containers/Shared/SystemGroup/systemgroup.com.apple.installcoordinationd/Library/InstallCoordination/PromiseStaging/C4E1DA76-B799-4FE3-89D4-55ED9205FDD0/Demo.app/ to /Users/user/Library/Developer/CoreSimulator/Devices/F490E8B0-1F69-4A23-802F-43942BC5604E/data/Library/Caches/com.apple.mobile.installd.staging/temp.vpCm0C/Demo.app -- Failed to stage file:///Users/user/Library/Developer/CoreSimulator/Devices/F490E8B0-1F69-4A23-802F-43942BC5604E/data/Containers/Shared/SystemGroup/systemgroup.com.apple.installcoordinationd/Library/InstallCoordination/PromiseStaging/C4E1DA76-B799-4FE3-89D4-55ED9205FDD0/Demo.app/ to /Users/user/Library/Developer/CoreSimulator/Devices/F490E8B0-1F69-4A23-802F-43942BC5604E/data/Library/Caches/com.apple.mobile.installd.staging/temp.vpCm0C/Demo.app Domain: MIInstallerErrorDomain Code: 107 User Info: { FunctionName = "-[MobileInstallationHelperService stageItemAtURL:options:completion:]"; SourceFileLine = 440; } -- rename of file:///Users/user/Library/Developer/CoreSimulator/Devices/F490E8B0-1F69-4A23-802F-43942BC5604E/data/Containers/Shared/SystemGroup/systemgroup.com.apple.installcoordinationd/Library/InstallCoordination/PromiseStaging/C4E1DA76-B799-4FE3-89D4-55ED9205FDD0/Demo.app/ to file:///Users/user/Library/Developer/CoreSimulator/Devices/F490E8B0-1F69-4A23-802F-43942BC5604E/data/Library/Caches/com.apple.mobile.installd.staging/temp.vpCm0C/Demo.app failed: Operation not permitted Domain: NSPOSIXErrorDomain Code: 1 Failure Reason: Operation not permitted User Info: { FunctionName = "-[MIFileManager _moveItemAtURL:toURL:failIfSrcMissing:error:]"; SourceFileLine = 278; } -- System Information macOS Version 11.5 (Build 20G71) Xcode 12.5.1 (18212) (Build 12E507) Timestamp: 2021-07-28T16:12:07+09:00
Add a Comment

Replies

I'm getting the exact same error. Any updates?
I'm going to try new xcode beta and let you know but so far no luck with current version. It does seem like a permissions issue while copying files from promised staging to Library caches.
I'm getting the exact same error with Xcode 12.4

I've tried other versions like Xcode 12.1, and it also couldn't work.

Now I'm going to reinstall the macOS...

I'm getting the exact same error.