AWS IOS SDK Dynamodb Scan - Scan thread works on emulator, but not when debugging on device

Asked

Viewed 37 times

1

In my app I use a scan with Dynamodb that works perfectly in the emulator for all iOS versions that Xcode makes available, however, when debugging on the device (iPhone 5c), does not run the main thread.

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

Any idea?

1 answer

0

  • If you found the answer to your question please mark as answered.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.