When I run my app for the first time, it works perfectly fine. The second time I try to open the app It gives me this Error: "Terminating app due to uncaught exception 'NSInvalidArgumentException'
I have macOS Mojave (10.14.3).I am running my iOS application on Xcode 10.3. My swift version is 4.
This is the Complete error Error Message:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FIRInstanceIDTokenInfo isFresh]: unrecognized selector sent to instance 0x172c6cb40
I am guessing the second time I run the app, it cannot connects to the Database. But it's just my guess, I cannot really test it.
Related
I working with swift 5 and Xcode 12.
I enabled Siri and add "import Intents" in my ViewController
in the viewdidload:
override func viewDidLoad() {
super.viewDidLoad()
INPreferences.requestSiriAuthorization { (status) in }
}
My app crashs:
libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Use of the class <INPreferences: 0x600000cd64a0> from an app requires the entitlement com.apple.developer.siri. Did you enable the Siri capability in your Xcode project?'
terminating with uncaught exception of type NSException
Any idea? :/
Go to Signing & Capabilities -> Capability -> Siri(double click) and wait for the provisioning profile to update.
Once you see the Siri as shown in the below image then run your project.
Android Studio 4 + Flutter project
Success launch my flutter's project on Android device.
Nice. But on iPhone device I get error:
*** Assertion failure in -[CLLocationManager setAllowsBackgroundLocationUpdates:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreLocationFramework/CoreLocation-1861.3.25.50/Framework/CoreLocation/CLLocationManager.m:609
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient)'
*** First throw call stack:
How do i solve this error?
2016-08-30 09:14:55.856 BBS[476:159483] -[MosquittoClient initWithClientId:]: unrecognized selector sent to instance 0x15e3ba60
2016-08-30 09:14:55.859 BBS[476:159483] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:
'-[MosquittoClient initWithClientId:]: unrecognized selector sent to
instance 0x15e3ba60'
*** First throw call stack:
(0x21d19b0b 0x214d6dff 0x21d1f455 0x21d1d0ab 0x21c47298 0xaeec8 0xaedb8 0xae484 0xae570 0x2632a6a1 0x2632a631 0x2631256b 0x26329f51
0x26329bbf 0x26322547 0x262f2dd5 0x262f1379 0x21cdb9e7 0x21cdb5d7
0x21cd993f 0x21c281c9 0x21c27fbd 0x23244af9 0x2635b435 0xaf8e8
0x218d4873)
libc++abi.dylib: terminating with uncaught exception of type NSException
FYI: I have a project that is using Mosquitto library and it is working. However when i copy the original source code to another Mac for distribution or when i create a new project and integrate Mosquitto library into it, the error appear.
client = MosquittoClient(clientId: "client1") <-- Line that causes the error
client?.delegate = self
client?.port = 1883
client?.host = "someIPAddress"
client?.connect()
Do not hard code client IDs, they need to be different for every instance connected to the broker.
I heard about the Nextpeer SDK and started to integrate in my current app. However, it gives me an error. I am unable to resolve the error.
The error states:
-[UIDevice npGetiOSVersion]: unrecognized selector sent to instance 0x9e62370
***Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIDevice npGetiOSVersion]: unrecognized selector sent to instance 0x9e62370'
HI
I have developed the application on with sqlite Database .when i run the application in simulator it works perfect but when i tested with device application gets crashes.
this is my code
* Assertion failure in -[sampleProjectAppDelegate copyDatabaseIfNeeded], /Users/xxxx/Desktop/new/sampleProject/Classes/sampleProjectAppDelegate.m:66
2010-07-29 05:52:40.141 sampleProject[259:207] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Failed to create writable database file with message 'Operation could not be completed. Operation not permitted' .
2010-07-29 05:52:40.145 sampleProject[259:207] Stack: (
852041337,
861292157,
852040821,
850687039,
9253,
8563,
827154211,
827153345,
827464035,
827462369,
827460907,
819342131,
851590557,
851588321,
827151529,
827144691,
8423,
8348
)
terminate called after throwing an instance of 'NSException'
Program received signal: “SIGABRT”.
Thanks..