XCode13 模拟器 ran out of registers during register allocation

XCode13 模拟器跑工程报 ran out of registers during register allocation,真机正常

xxxx.mm文件中使用了类似的方法

[_switchView setEnabled:_disabled];

改成

[_switchView setEnabled:!self.disabled];

即可正常编译

你可能感兴趣的:(XCode13 模拟器 ran out of registers during register allocation)