App crashes while loading with error in main.m

后端 未结 9 1904
日久生厌
日久生厌 2021-01-11 14:33

I\'m trying to recover an app that I accidentally deleted and managed to do it through the organizer, however, now when I try to run it on the simulator or iphone, it crashe

9条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-11 15:20

    To fix it, click on mainstoryboard i.e. Interface Builder, select the File Inspector tab, and uncheck Use autolayout. Alternatively, you can target iOS 6.0+-only devices and change the minimum target, if you absolutely must have autolayout. This problem occurs due to mismatch in versions of xcode and source of learning programs from.

提交回复
热议问题