i'm new mobile developer, today i add firebase analytics framework in my project using code [FIRApp configure], so when i running app, the app be crash.Someone can help me fix this bug? Thanks all! Here's log in xcode:
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSData gtm_dataByGzippingData:]: unrecognized selector sent to class 0x1a0c5a8b8'
* First throw call stack:
(0x1834f9900 0x182b67f80 0x183500514 0x1834fd5b8 0x18340168c 0x1001cda2c 0x1001e17c8 0x1001e13b8 0x1012d1bf0 0x1012d1bb0 0x1012de6c8 0x1012d58a0 0x1012d1bb0 0x1012e0e10 0x1012e04d8 0x183161470 0x183161020)
libc++abi.dylib: terminating with uncaught exception of type NSException
Please download the latest zip file. I had similar crash when I forgot to add the linker flag -ObjC. Are you by any chance missing that flag:
Add the -ObjC flag to "Other Linker Settings": a. In your project settings, open the Settings panel for your target b. Go to the Build
Settings tab and find the "Other Linking Flags" setting
in the Linking section. c. Double-click the setting, click the '+' button, and add "-ObjC" (without quotes)
Here is where it should be1
Related
I move the flutter project from the window PC to Mac. I am facing error while running project in Xcode I also try flutter clean but it did not work for. I do search a lot but could not find the solution.
Is there any other way to make ipa?
2019-11-13 20:37:15.449711+0500 Naija TV[6295:758910] - <AppMeasurement>[I-ACS036002] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist
2019-11-13 20:37:15.742255+0500 Naija TV[6295:758623] FirebaseAdMobPlugin <warning> [FIRApp configure]
2019-11-13 20:37:15.748279+0500 Naija TV[6295:758623] *** Terminating app due to uncaught exception 'com.firebase.core', reason: '`[FIRApp configure];` (`FirebaseApp.configure()` in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.'
*** First throw call stack:
(0x1b9f2e190 0x1b91039f8 0x1b9e383b0 0x100d11fec 0x100f3790c 0x100f37644 0x100d0d0c4 0x100d0d73c 0x100d0dabc 0x1e68330f0 0x1e6834854 0x1e6839fe0 0x1e60fd2a4 0x1e610583c 0x1e60fcf28 0x1e60fd818 0x1e60fbb64 0x1e60fb82c 0x1e610036c 0x1e6101150 0x1e6100224 0x1e6104f24 0x1e68385e8 0x1e6434e04 0x1bc8aa9fc 0x1bc8b440c 0x1bc8b3c14 0x1034f8c78 0x1034fc840 0x1bc8e5040 0x1bc8e4cdc 0x1bc8e5294 0x1b9ebff2c 0x1b9ebfeac 0x1b9ebf794 0x1b9eba6d0 0x1b9eb9fc4 0x1bc0bb79c 0x1e683bc38 0x100d0dcac 0x1b997a8e0)
libc++abi.dylib: terminating with uncaught exception of type NSException
The error explicitly mentions that it's unable to find the GoogleService-Info.plist file
could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.
Alternatively, you can use FlutterFire CLI to setup Firebase in your Flutter app. Following this guide, the plist file won't be needed to be set in your app manually anymore.
I am creating a game, where I run my app once and I get this type error:
libc++abi.dylib: terminating with uncaught exception of type NSException
Here is the image:
The Image
Build Phases
My Build Phases
If your using latest Xcode remove the library libc++abi.dylib from build phase and add libc++abi.tbd
Hopes this will fix the issue.
I have faced the same issue.
Check the name of the Storyboard identifier inside the Identity Inspector and make sure you use the same name.
(A good practice is to use the class name as the identifier)
When you are creating a Chromecast iOS app by yourself, not copied from cast-ios-sample, it will crash because the framework raises an uncaught exception.
[__NSCFConstantString gck_matchesPattern:]: unrecognized selector sent to instance 0x1c99c
Add "-ObjC" to "Other Linker Flags" in the Build Settings for your target app in Xcode, as the sample app does.
Add -all_load in Target section --> Other Linker Flag
I am getting the following error on a new app:
'NSInvalidArgumentException', reason: '-[GADObjectPrivate
changeState:]: unrecognized selector sent to instance 0x1ed49a90'.
I have a couple ad networks-Chartboost and Admob. This seems like an Admob error, but it is causing the app to terminate on launch. I have removed the admob code and files, and I am still getting the error.
I don't know if this helps anyone:
* First throw call stack: (0x374ca2a3 0x34fca97f 0x374cde07 0x374cc531 0x37423f68 0x9e950 0xa0314 0x9deb0 0x6e147 0x36e53595
0x36e93d79 0x36e8faed 0x36ed11d1 0x6de0d 0x36e94ad9 0x36e94663
0x36e8c84b 0x36e34c41 0x36e346d5 0x36e34123 0x350c75a3 0x3749f683
0x3749eee9 0x3749dcb7 0x37410ebd 0x37410d49 0x36e8b485 0x36e88301
0x6db2d 0x6da90) libc++abi.dylib: terminate called throwing an
exception
Which version of AdMob are you using? If you are using v6.2, you must use the -ObjC linker flag in the "Other Linker Flags" section of Build Settings. If you are using v6.1 or below, you have to use the -all_load linker flag.
Also, if you're using v6.2, you must be using XCode 4.5 and targeting iOS 6 (you can set your minimum deployment target to iOS 4.3 though).
I am trying to implement bing maps in iphone. I am able to show the map. But the problem is that whenever I try any interaction with the map, it crashes. Here's the error:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[BMMapViewInternal touchesBegan:withEvent:inView:]: unrecognized selector sent to instance 0x4e777e0'
any idea as to how this can be solved?
Check the read-me, section "Add Linker Flags":
- Set the value of the Other Linker Flags environment variable to -ObjC -all_load.