Assets.xcassets:-1: Failed to find a suitable device for the type IBSimDeviceTypeiPad2x

Assets.xcassets:-1: Failed to find a suitable device for the type IBSimDeviceTypeiPad2x

不知道assets发生了什么~~可能是我直接从另一个的项目拷贝进来的assets

方案一:

重启治百病

方案二:

1. kill模拟器进程

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService

2.设置Xcode path:

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

3. 重启模拟器

xcrun simctl erase all

 

大吉大利~~

转载于:https://www.cnblogs.com/lyjpost/p/11429327.html

$ git checkout -b szr origin/szr error: unable to create file HSMobileBank/HSMobileBank/Sources/Assets.xcassets/L aunchImage.launchimage/1125*2436.png: Invalid argument error: unable to create file HSMobileBank/HSMobileBank/Sources/Assets.xcassets/L aunchImage.launchimage/1242*2208.png: Invalid argument error: unable to create file HSMobileBank/HSMobileBank/Sources/Assets.xcassets/L aunchImage.launchimage/1242*2688 1.png: Invalid argument error: unable to create file HSMobileBank/HSMobileBank/Sources/Assets.xcassets/L aunchImage.launchimage/640*1136.png: Invalid argument error: unable to create file HSMobileBank/HSMobileBank/Sources/Assets.xcassets/L aunchImage.launchimage/640*960.png: Invalid argument error: unable to create file HSMobileBank/HSMobileBank/Sources/Assets.xcassets/L aunchImage.launchimage/750*1334.png: Invalid argument Updating files: 100% (11035/11035), done. D HSMobileBank/HSMobileBank/Sources/Assets.xcassets/LaunchImage.launchimag e/1125*2436.png D HSMobileBank/HSMobileBank/Sources/Assets.xcassets/LaunchImage.launchimag e/1242*2208.png D HSMobileBank/HSMobileBank/Sources/Assets.xcassets/LaunchImage.launchimag e/1242*2688 1.png D HSMobileBank/HSMobileBank/Sources/Assets.xcassets/LaunchImage.launchimag e/640*1136.png D HSMobileBank/HSMobileBank/Sources/Assets.xcassets/LaunchImage.launchimag e/640*960.png D HSMobileBank/HSMobileBank/Sources/Assets.xcassets/LaunchImage.launchimag e/750*1334.png branch 'szr' set up to track 'origin/szr'. Switched to a new branch 'szr' 此时的error是什么原因造成的
最新发布
07-25
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值