应用程序仅在Iphone6s Plus模拟器上运行

时间:2015-11-21 07:59:15

标签: ios parse-platform ios-simulator swift2 xcode7

有人知道为什么我的Xcode程序只能运行在“IPhone6s Plus”模拟器上。我已经尝试过所有其他模拟器,包括我自己的“Iphone6s”,所有这些模拟器都崩溃了。 Xcode显示我使用“iPhone6s Plus”以外的任何模拟器时出现EXC_Bad_Instruction错误。错误发生在我从Parse查询的区域,所以我有点困惑为什么这与我运行应用程序的模拟器有什么关系。

这是我的代码,其中发生错误...不确定它与我使用的模拟器有什么关系。

var starUser = PFUser.query()
    starUser!.getObjectInBackgroundWithId((PFUser.currentUser()?.objectId)!){
        (objects, error)-> Void in

0 个答案:

没有答案