美文网首页
Xcode 安装app报错:The application is

Xcode 安装app报错:The application is

作者: 字节码 | 来源:发表于2020-04-06 19:15 被阅读0次

    通过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即可。

    <array>
            <string>iPhone12,5</string>
            <string>iPhone12,3</string>
            <string>iPhone12,1</string>
            <string>iPhone11,8</string>
            <string>iPhone11,6</string>
            <string>iPhone11,4</string>
            <string>iPhone11,2</string>
            <string>iPhone10,6</string>
            <string>iPhone10,5</string>
            <string>iPhone10,4</string>
            <string>iPhone10,3</string>
            <string>iPhone10,1</string>
            <string>iPhone10,4</string>
            <string>iPhone6,1</string>
            <string>iPhone6,2</string>
            <string>iPhone7,2</string>
            <string>iPhone8,1</string>
            <string>iPhone8,4</string>
            <string>iPhone9,1</string>
            <string>iPhone9,3</string>
            <string>iPod7,1</string>
        </array>
    

    相关文章

      网友评论

          本文标题:Xcode 安装app报错:The application is

          本文链接:https://www.haomeiwen.com/subject/gsxiphtx.html