iOS SDK 2.7.0 causing application crash | XM Community
Skip to main content

I see not many details, but Qualtrics is responsible for EXC_BAD_ACCESS.
Happened on
iOS 15.0.2 iPhone XR
iOS 15.6.1 iPhone 12

Here is the stack trace:
Crashed: com.apple.root.default-qos
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000ccc1d9b1fe30
0 libswiftCore.dylib _swift_release_dealloc + 32
1 Qualtrics _hidden#4747_ + 4324970324
2 Qualtrics _hidden#4920_ + 4324997908
3 Qualtrics _hidden#6_ + 4324588712

This is a piece of code that calls

Qualtrics.displayIntercept

```
evaluateProject { targetingResults in
   for (interceptID, result) in targetingResults {
    guard result.passed() else { continue }
    DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
     guard let viewController = UIApplication.keyWindow?.rootViewController else {  return  }
     _ = self.displayIntercept( for: interceptID, viewController: viewController)
    }
    return // Run only first passed
   }
  }
```


Leave a Reply