4

I installed OpenSSL via CocoaPods and it all works fine, except now I can not use PO in the debugger to view variables at a breakpoint. Below is output from a sample program I was learning from.

Can anyone tell me what I am doing wrong? This is a swift 4 project. I follow the instructions from this tutorial:

Local Receipt Validation for iOS in Swift From Start to Finish

(lldb) po self

warning: Swift error in module SwiftyLocalReceiptValidatorDemo. Debug info from this module will be unavailable in the debugger.

error: in auto-import:

Rob
  • 757
  • 1
  • 10
  • 26

1 Answers1

4

I was able to figure out a work around from this article:

Validating In-App Purchase Receipts Locally in Swift!

Turns out if I comment out the line:

int (*rsa_mod_exp) (BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx);

in the rsa.h header file, the issues with using PO to view variables is gone.

Rob
  • 757
  • 1
  • 10
  • 26