Closed ghassanjaa closed 4 years ago
@ghassanjaa Can you please to run our samples https://github.com/paytabscom/paytabs-ios-library-sample/tree/master/samples with your Xcode and IOS versions?
i run your sample code and work very well on my Xode 11.4 ! but when i implemented in my project its give me the same error ! i try to create a new project with implemented all the required file like podfile load -objc ..... and its give me the same error ? i cant detect where is problem ? if you want i will send you the testing project to detect where is problem
@ghassanjaa If you can list your app dependencies, and also double check the following steps https://dev.paytabs.com/docs/ios/#importing-the-sdk-ios-project
Im about 48 hours testing and i dont found a different with my test project and sample project ! i add also my dependencies to your sample project and working very well but on my test project same error plz if you help me this my dependencies that im working on it pod 'Alamofire', '~> 5.0.0-rc.3' pod 'Disk' pod 'SDWebImage' pod 'IBAnimatable' pod "ASPVideoPlayer" pod "DIOCollectionView" pod 'BIObjCHelpers' pod 'IQKeyboardManager', '~> 4.0.2' pod 'AFNetworking' pod 'Mantle' pod 'Reachability' pod 'Lockbox' pod 'SBJson' pod 'PINCache' pod 'MBProgressHUD', '~> 1.1.0' pod 'ActionSheetPicker-3.0'
Did you follow these steps:
#import <paytabs-iOS/paytabs_iOS.h>
. Also, point your bridging header path against Objective-C Bridging Header in your app target’s build settings.-all_load
and -ObjC
in Build Settings/Other linker flags.Yes my project is swift and i add a bridging header and i add this two flags also
Please share a sample reproducing the issue.
can you check the code here https://github.com/ghassanjaa/testPaymentfPaytabs
The Problem fixed ! The problem is about pod 'AFNetworking' it will not work on the newest version 4.0 its work on 3.2.1' !
@ghassanjaa Thanks for your update.
Hi,
I faced the same issue and after changing the AFNetworking version to 3.2.1 it's working fine.
Now getting the below issue from the App Store Connect because of the AFNetworking,
ITMS-90809: Deprecated API Usage - App updates that use UIWebView will no longer be accepted as of December 2020. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
Please suggest.
I am still facing the same issue, please suggest a solution, I am stuck for long time
Please use the latest version 4.0.8
https://github.com/paytabscom/paytabs-ios-library-sample/tree/master/sdk
Hi, I don't know why this error happened i finish all configuration of Paytabs in projects with install all pods and load all objc library