AWS IOS SDK DynamoDB扫描-主线程在emulador中工作,但不';t在设备调试器中

AWS IOS SDK DynamoDB扫描-主线程在emulador中工作,但不';t在设备调试器中,ios,amazon-web-services,amazon-dynamodb,Ios,Amazon Web Services,Amazon Dynamodb,在我的应用程序中,我使用的DynamoDB扫描在xCode中的所有emulador iOS版本中都能正常工作,但是,当我在设备(iPhone 5c)中调试时,主线程无法工作 [[[dynamoDBObjectMapper scan:[DDBTableRow class] expression:scanExpression] continueWithExecutor:[BFExecutor mainThreadExecutor] withSucces

在我的应用程序中,我使用的DynamoDB扫描在xCode中的所有emulador iOS版本中都能正常工作,但是,当我在设备(iPhone 5c)中调试时,主线程无法工作

[[[dynamoDBObjectMapper scan:[DDBTableRow class]
                  expression:scanExpression]
      continueWithExecutor:[BFExecutor mainThreadExecutor] withSuccessBlock:^id(BFTask *task) {
//Main Thread execution          
.
.
.
return nil;
  }] continueWithExecutor:[BFExecutor mainThreadExecutor] withBlock:^id(BFTask *task) {
      if (task.error) {
          NSLog(@"refreshList Error");
      }
      return nil;
  }];

有什么想法吗?

为了启动跟踪器,我添加了一个异常断点。这导致代码在错误发生时停止。供参考;转到xcode->查看->导航器->显示断点导航器。在左侧窗格中,单击“+”并选择“添加异常断点”。运行应用程序

AWSDynamoDBObjectMapper-removeAttributes方法中发生异常。当此方法尝试将对象设置为mutableItem时,启动了消息“***setObjectForKey:object cannot be nil”,这正是尝试处理返回对象中的双精度(数字)项时启动的消息。 奇怪的是,只有在我的设备中,而不是在Xcode中的所有模拟器中。。。所以我更新了我的pod(AWSiOSSDKv2.0.17(WAS2.0.13)),这个问题神奇地解决了