Xcode 安装app报错:The application is not built for this device

通过iPhone 5s 砸壳后的ipa,在重签名后安装到iPhone X 时一直报错:The application is not built for this device

截屏2020-04-06下午7.09.11.png

这是由于砸壳的iPA做了瘦身,info.plist里支持的设备不全,需要修改info.plistUISupportedDevices项,把需要的设备添加上去即可,重新运行xcode即可。


        iPhone12,5
        iPhone12,3
        iPhone12,1
        iPhone11,8
        iPhone11,6
        iPhone11,4
        iPhone11,2
        iPhone10,6
        iPhone10,5
        iPhone10,4
        iPhone10,3
        iPhone10,1
        iPhone10,4
        iPhone6,1
        iPhone6,2
        iPhone7,2
        iPhone8,1
        iPhone8,4
        iPhone9,1
        iPhone9,3
        iPod7,1
    

你可能感兴趣的:(Xcode 安装app报错:The application is not built for this device)