Paypal SDK for iOS version 2.13.2 crash - ios7

I have used Paypal version 2.13.2 SDK for iOS.The payment with paypal account is working fine but when I am selecting the Pay with card option then the app is crashing.The crash report says
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Application tried to present a nil modal view controller on target
I have imported all the frameworks required for integrating thisSDK.I have also included these 3 libraries i.e libCardIO,libopencv_core,libopencv_imgproc in main bundle.I wonder where the problem is occurring.Do I have to change the SDK and use some previous version of paypal SDK. If I have to use some other SDK please suggest which SDK to use.

After couples of work found that. If you optionally choose
_payPalConfigObj.acceptCreditCards = YES;
Then you need to add/integrate "CardIO" Library to your project. you will be get from "PayPal Official SDK." OR Separate SDK of 'CardIO' and Add required frameworks.
Try with above suggestion, defiantly your issue will be solve.

Related

Fabric issue App not showing after following instruction

I have carefully followed the instruction from fabric (https://fabric.io/kits/ios/crashlytics/manual-install) to install crashlytics in my app. However I cannot select my app after the instruction since my app is not showing. I have tried most of the solution that has been given in this question here (Crashlytics in iOS won't proceed past "Build Your Project" in Fabric app)
But I still failed to get my app in fabric.
I am using react native to develop my app and using Xcode Version 10.2.1
Fabric/Firebaser here - If you've gone through all the necessary instructions, try cleaning your project first before building and running again to try to get your app up on your dashboard. And if you haven't seen it, here are some instructions specifically for setting up react native apps with Crashlytics: https://www.npmjs.com/package/react-native-fabric#crashlytics-usage). And make sure that if you haven't, set the Debug Information Format to DWARF with dSYM file for both debug and release as specified in that SO post you linked.
You can also see more debug information about Fabric if you set Fabric to debug mode in your initialization statement: https://docs.fabric.io/apple/fabric/advanced-settings/debugging.html. Check to see if the settings requests are being made to Fabric or if there is anything unusual.
If you're still having trouble, reach out to support(at)fabric(dot)io with your app's bundle ID and support will be able to help you out more.

-[GMSMapView animateToCameraPosition:]: unrecognized selector sent to instance

Hi All i have implement the google maps sdk on my application and i am getting an error on this particular line
mapView_ = [GMSMapView mapWithFrame:CGRectZero camera:camera];
Can any one help me to find a solution
Please mention which version of iOS you are using and did you setted delegate method for MAPview.
Please check the below link, may be helps you, all the best
GoogleMaps basic iOS demo app crash - unrecognized selector sent to instance
This error occurs if you remove the -ObjC linker flag from your target. Once you put this flag back the application will not crash.
If you have removed this flag because you are using parse SDK as well and its not allowing you to compile your project with too many linking errors, the workaround is that you have to remove the Facebook related parse sdks from your project.
Thus the bottom line is if you want to use both Google Map and Parse SDK you have to remove the Parse's Facebook SDK and -ObjC linker flag must be set for Other Linker Flags.
Developing an application with the Google Maps SDK for iOS requires the following:
Xcode 4.5 or later.
iOS SDK 6.0 or later.

Facebook: [FBSession activeSession] crashes app

I am using the Facebook iOS SDK 3.0, and I just upgraded to the new Facebook iPhone app (5.0).
Now, whenever I call [FBSession activeSession], my app crashes with the error:
-[SBJsonParser errorTrace]: unrecognized selector sent to instance 0x499700
This only happens if I have the new Facebook 5.0 app installed. If I deinstall it, and wait for a little bit, my app runs fine. Also, this never happened before with the older version of the Facebook app.
Has anyone run into this before? There seems to be a bug report with the same issue on the Facebook Developer page, but it hasn't been dealt with yet.
This is because of conflict within the SBJson libraries. We're working to get this resolved and should be fix ready .

Could not load the "TweetSheetLocationArrow.png" image... Twitter/Social Framework for iOS

I am using Twitter and Social framework in my app for iOS. I have been using the same frameworks for days now without any issues. However, today when I run the app in the simulator (haven't changed any Twitter or Social specific code), I get the following error as I try to send a tweet from my app:
Could not load the "TweetSheetLocationArrow.png" image referenced from a nib in the bundle with identifier "com.apple.sociald.Social"
Any idea what's this problem is related to and how can I fix this?
The tweet sheet wants the resource "TweetSheetLocationArrw.png" at runtime from a nib bundle with the bundle identifier specified ( if that doesn't mean anything to you google "apple bundle programming guide" ) and it is either unable to read the resource, or the resource no longer exists.
Ignore it. It's a missing image asset in the device simulator and is harmless.

iOS 4.2 SDK download

Does anyone know where I can get the iOS 4.2 SDK for xCode? I cannot find it anywhere on the Apple site.
I am building an App for Verizon Phones which only supports iOS 4.2. I get a runtime error that says 'Symbol not found' for AdInterstitialAd. I am not sure, but I am guessing I am getting that error because I added the iAd.framework from the iOS 4.3 SDK.
To submit an app to the App Store you will always build against the latest SDK which is 4.3. Apple will reject your app if you don't. You can set the deployment version of your app to lower version. And you are correct, AdInterstitialAd is only available in 4.3 or higher. You can still use the ADBannerView in the lower version.
If you want to use AdInterstitialAd in your app, you will have to use weak linking to make sure the framework if avaiable.
For example:
class adClass = NSClassFromString(#"AdInterstitialAd");
If (adClass) {
// do full screen ad stuff
} else if ((adClass = NSClassFromString(#"ADBannerView")) {
// do banner ad stuff
}
Using iAds While Maintaining Backwards Compatibility is a blog that provide some tips for using iAds when it was first announced last year. Some of those tips are this valuable today.
http://www.felixbruns.de/iPod/firmware/