paytabscom / paytabs-ios-library-sample

This repository contains latest static framework (.framework), resources bundle (.bundle), sample apps for both Objective-C and Swift, and documentation to get SDK integrated in the Xcode projects.
MIT License
12 stars 11 forks source link

crash when calling this line ==> initialSetupViewController.didMove(toParentViewController: self); #21

Closed sarakhater closed 4 years ago

sarakhater commented 4 years ago

when calling this line ==> initialSetupViewController.didMove(toParentViewController: self);

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[PTFWHTTPSessionManager POST:parameters:constructingBodyWithBlock:progress:success:failure:]: unrecognized selector sent to instance 0x600001081c20'

cogtea commented 4 years ago

@sarakhater Please check this issue https://github.com/paytabscom/paytabs-ios-library-sample/issues/17

raeesdoduae commented 4 years ago

I am still facing the same issue, please suggest a solution, I am stuck for long time

cogtea commented 4 years ago

@raeesdoduae Please use the latest version 4.0.8 https://github.com/paytabscom/paytabs-ios-library-sample/tree/master/sdk

raeesdoduae commented 4 years ago

@cogtea i am using SDK v4.0.8 Lite version, still have the issue

cogtea commented 4 years ago

You need to install latest version of AFnetwork 4.0.1, and clean project build folder.

raeesdoduae commented 4 years ago

image yes, I am using AFNetworking 4.0.1, I didn't understand whats wrong

raeesdoduae commented 4 years ago

Fixed it thanks :)