且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法在设备上安装 iOS 应用程序.域:com.apple.dt.MobileDeviceErrorDomain 代码:-402653179

更新时间:2023-12-04 15:42:43

我也遇到了完全相同的问题和错误代码.我试图在旧手机上运行应用的较新开发版本,而该手机的应用版本要旧得多.

I also had this exact same issue and error code. I was trying to run a newer development version of my app on an older phone that had a much older version of the app.

我发现如果我从手机中删除了旧版本的应用程序,那么当我插入时 Xcode 可以安装新版本.

I found if I deleted the old version of the app from the phone then Xcode could then install the new version when I plugged in.

在这两次事件之间,我的分发证书等被更新,不能 100% 确定这是否相关,但通过删除应用程序的所有旧版本对我有用.

In between these two events my distribution certificates etc were renewed, not 100% sure if that was related but it worked for me by removing all old versions of the app.