iOS 应用安装失败缘由排查ios
看了不少仍是 stackflow 上这个最靠谱: Unable to download application,
如下是一个回答:架构
Most common causes of this issue: Device storage is full The provisioning profile is a developer provisioning profile The ad hoc distribution provisioning profile is corrupted and the device is having an issue with it. The device was restored from a backup and is causing a conflict for over-the-air distribution There was a network timeout Architecture settings of the build and the device are incompatible ( can sometimes happen when "Build Active Architecture Only" is on when building). Not Using Mobile Safari. To find out the exact cause of this issue: Connect the device with iMac. Open Organizer then choose devices. Choose your Connected device from sidebar. Choose Console inside the chosen device. Now install the app it will show the exact cause of problem
就是手机连上电脑,经过xcode的devices窗口的控制台 查看app安装失败时的logapp
当时我问题的log是:ide
因此最后查出来是 应用打包时 Bulid Active Architecture Only
选择了YES
只适配了一种cpu 架构,因此不一样cpu架构的机型没法安装。ui
再附上一个机型对应架构的连接: apple-ios-devices-dates-versions-instruction-setsthis
不抄了直接给几个比较好的连接:.net