App closes on start when trying to run react-native run-ios - ios

I'm facing some issues with running react-native run-ios on my react native project.
After the command the app as loading, black screen appears for a few seconds and then the app is closes.
Here is a log from WebStorm.
info Found Xcode workspace "Actors.xcworkspace"
info Launching iPhone 11 (iOS 14.3)
info Building (using "xcodebuild -workspace Actors.xcworkspace -configuration Debug -scheme Actors -destination id=5508C928-BADB-4FE5-8426-9B1461397EC3")
(node:44088) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
success Successfully built the app
info Installing "/Users/michaelionia/Library/Developer/Xcode/DerivedData/Actors-gzwkhkgvbultrlcjeogpfwamtnzi/Build/Products/Debug-iphonesimulator/Actors.app"
info Launching "org.name.Actors"
success Successfully launched the app on the simulator
When I'm running react-native run-android the app workings good with all libraries.
I've tried to run the project from xCode , but facing the same issue , the app opens with back screen and 0 Errors.
Here is a log from xcode
2021-02-15 10:43:06.728730+0200 Actors[44637:1250270] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
2021-02-15 10:43:06.728839+0200 Actors[44637:1250270] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2021-02-15 10:43:06.866897+0200 Actors[44637:1251130] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed
2021-02-15 10:43:06.904031+0200 Actors[44637:1250270] [native] Running application main ({
initialProps = {
};
rootTag = 1;
})
2021-02-15 10:43:06.930218+0200 Actors[44637:1250270] [native] 'SplashScreen.storyboard' file is missing. Fallbacking to 'SplashScreen.xib' file.
2021-02-15 10:43:06.930558+0200 Actors[44637:1250270] [native] 'SplashScreen.xib' file is missing - 'expo-splash-screen' will not work as expected.
2021-02-15 10:43:06.966657+0200 Actors[44637:1250270] *** Terminating app due to uncaught exception 'ERR_NO_SPLASH_SCREEN', reason: 'Couln't locate neither 'SplashScreen.storyboard' file nor 'SplashScreen.xib' file. Create one of these in the project to make 'expo-splash-screen' work (https://github.com/expo/expo/tree/master/packages/expo-splash-screen#-configure-ios).'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff20420af6 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff20177e78 objc_exception_throw + 48
2 Actors 0x0000000101dc49e9 -[EXSplashScreenViewNativeProvider createSplashScreenView] + 2185
3 Actors 0x0000000101dc19bd -[EXSplashScreenController initWithViewController:splashScreenViewProvider:] + 221
4 Actors 0x0000000101dc3878 -[EXSplashScreenService showSplashScreenFor:splashScreenViewProvider:successCallback:failureCallback:] + 312
5 Actors 0x0000000101dc36a5 -[EXSplashScreenService showSplashScreenFor:] + 149
6 Actors 0x0000000101dc4075 -[EXSplashScreenService application:didFinishLaunchingWithOptions:] + 181
7 Actors 0x00000001021fdc9c -[UMAppDelegateWrapper application:didFinishLaunchingWithOptions:] + 476
8 Actors 0x0000000101d8567e -[AppDelegate application:didFinishLaunchingWithOptions:] + 574
9 UIKitCore 0x00007fff2468d0f1 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 232
10 UIKitCore 0x00007fff2468ec73 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3919
11 UIKitCore 0x00007fff24694681 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1237
12 UIKitCore 0x00007fff23cbd907 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 122
13 UIKitCore 0x00007fff2424bdb6 _UIScenePerformActionsWithLifecycleActionMask + 88
14 UIKitCore 0x00007fff23cbe416 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198
15 UIKitCore 0x00007fff23cbdeda -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 474
16 UIKitCore 0x00007fff23cbe247 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 819
17 UIKitCore 0x00007fff23cbdadb -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 345
18 UIKitCore 0x00007fff23cc5d73 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 178
19 UIKitCore 0x00007fff241556ab +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 871
20 UIKitCore 0x00007fff2426865e _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 240
21 UIKitCore 0x00007fff23cc5a79 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 361
22 UIKitCore 0x00007fff23ae896f __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 797
23 UIKitCore 0x00007fff23ae7419 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 253
24 UIKitCore 0x00007fff23ae85a8 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 208
25 UIKitCore 0x00007fff24692b20 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 508
26 UIKitCore 0x00007fff2417dab7 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 358
27 FrontBoardServices 0x00007fff25aa20ae -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 391
28 FrontBoardServices 0x00007fff25acab41 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.176 + 102
29 FrontBoardServices 0x00007fff25aafad5 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 209
30 FrontBoardServices 0x00007fff25aca80f __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke + 352
31 libdispatch.dylib 0x00000001035329c8 _dispatch_client_callout + 8
32 libdispatch.dylib 0x0000000103535910 _dispatch_block_invoke_direct + 295
33 FrontBoardServices 0x00007fff25af07a5 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
34 FrontBoardServices 0x00007fff25af048b -[FBSSerialQueue _targetQueue_performNextIfPossible] + 433
35 FrontBoardServices 0x00007fff25af0950 -[FBSSerialQueue _performNextFromRunLoopSource] + 22
36 CoreFoundation 0x00007fff2038f38a __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
37 CoreFoundation 0x00007fff2038f282 __CFRunLoopDoSource0 + 180
38 CoreFoundation 0x00007fff2038e764 __CFRunLoopDoSources0 + 248
39 CoreFoundation 0x00007fff20388f2f __CFRunLoopRun + 878
40 CoreFoundation 0x00007fff203886d6 CFRunLoopRunSpecific + 567
41 GraphicsServices 0x00007fff2bededb3 GSEventRunModal + 139
42 UIKitCore 0x00007fff24690e0b -[UIApplication _run] + 912
43 UIKitCore 0x00007fff24695cbc UIApplicationMain + 101
44 Actors 0x0000000101d85eb0 main + 112
45 libdyld.dylib 0x00007fff202593e9 start + 1
46 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'ERR_NO_SPLASH_SCREEN', reason: 'Couln't locate neither 'SplashScreen.storyboard' file nor 'SplashScreen.xib' file. Create one of these in the project to make 'expo-splash-screen' work (https://github.com/expo/expo/tree/master/packages/expo-splash-screen#-configure-ios).'
terminating with uncaught exception of type NSException
CoreSimulator 732.18.6 - Device: iPhone 11 (5508C928-BADB-4FE5-8426-9B1461397EC3) - Runtime: iOS 14.3 (18C61) - DeviceType: iPhone 11
(lldb) .
I've tried to delete podfile.log and run pod install from ios directory.

Related

Flutter crash iOS - NSInvalidArgumentException

Does anyone know what this crash is? I looked it up online and some results seemed to be similar but not the exact same. Here are the traces in Crashlytics:
Fatal Exception: NSInvalidArgumentException -[__NSCFString substringWithRange:]: Range {19, 9223372036854775788} out of bounds; string length 0
Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x1b3d19344 __exceptionPreprocess
1 libobjc.A.dylib 0x1b3a2ecc0 objc_exception_throw
2 CoreFoundation 0x1b3d72550 -[__NSCFString characterAtIndex:].cold.1
3 CoreFoundation 0x1b3d72650 -[__NSCFString hasPrefix:].cold.1
4 CoreFoundation 0x1b3bf7c0c -[_CFXNotificationNameRegistration find:observer:matching:]
5 UIKitCore 0x1b7cfece8 -[UIResponder(UITextInput_Internal) _rangeOfText:endingAtPosition:]
6 UIKitCore 0x1b7c68ab0 -[UIKeyboardImpl applyAutocorrection:]
7 UIKitCore 0x1b7c5c9c0 -[UIKeyboardImpl acceptAutocorrection:executionContextPassingTIKeyboardCandidate:]
8 UIKitCore 0x1b7c5bd58 -[UIKeyboardImpl acceptAutocorrectionForWordTerminator:executionContextPassingTIKeyboardCandidate:]
9 UIKitCore 0x1b7c5bc10 __56-[UIKeyboardImpl acceptAutocorrectionForWordTerminator:]_block_invoke
10 UIKitCore 0x1b7c84188 -[UIKeyboardTaskEntry execute:]
11 UIKitCore 0x1b7c82af0 -[UIKeyboardTaskQueue continueExecutionOnMainThread]
12 UIKitCore 0x1b7c8317c -[UIKeyboardTaskQueue addAndReturnTask:]
13 UIKitCore 0x1b7c8366c -[UIKeyboardTaskQueue performSingleTask:]
14 UIKitCore 0x1b7c5bb1c -[UIKeyboardImpl acceptAutocorrectionForWordTerminator:]
15 UIKitCore 0x1b7c5eddc -[UIKeyboardImpl acceptAutocorrection]
16 UIKitCore 0x1b7c43bf0 -[UIKeyboardImpl setDelegate:force:]
17 UIKitCore 0x1b791bfa0 -[UIInputResponderController _reloadInputViewsForKeyWindowSceneResponder:]
18 UIKitCore 0x1b791b7b8 -[UIInputResponderController _reloadInputViewsForResponder:]
19 UIKitCore 0x1b7e7037c -[UIResponder _finishResignFirstResponder]
20 UIKitCore 0x1b7e70470 -[UIResponder resignFirstResponder]
21 UIKitCore 0x1b82fb058 -[UIView(Hierarchy) _removeFirstResponderFromSubtree]
22 UIKitCore 0x1b82fb564 __UIViewWillBeRemovedFromSuperview
23 UIKitCore 0x1b82fb3ac -[UIView(Hierarchy) removeFromSuperview]
24 Flutter 0x100555898 (Missing)
25 Flutter 0x1005550cc (Missing)
26 Flutter 0x100554e40 (Missing)
27 Flutter 0x100a97e20 (Missing)
28 Flutter 0x1005675bc (Missing)
29 Flutter 0x10083a108 (Missing)
30 Flutter 0x100570af4 (Missing)
31 Flutter 0x1005727b0 (Missing)
32 CoreFoundation 0x1b3c953a8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
33 CoreFoundation 0x1b3c950c0 __CFRunLoopDoTimer
34 CoreFoundation 0x1b3c94740 __CFRunLoopDoTimers
35 CoreFoundation 0x1b3c8f538 __CFRunLoopRun
36 CoreFoundation 0x1b3c8ebc8 CFRunLoopRunSpecific
37 GraphicsServices 0x1be0705cc GSEventRunModal
38 UIKitCore 0x1b7e41744 UIApplicationMain
39 Runner 0x1000c9804 main + 6 (AppDelegate.swift:6)
40 libdyld.dylib 0x1b3b0b384 start
and Crashed: com.twitter.crashlytics.ios.exception
SIGABRT ABORT 0x00000001b3b00df0
Crashed: com.twitter.crashlytics.ios.exception
0 Runner 0x1000e2fec CLSProcessRecordAllThreads + 4303040492
1 Runner 0x1000e33d4 CLSProcessRecordAllThreads + 4303041492
2 Runner 0x1000d2c4c CLSHandler + 4302974028
3 Runner 0x1000e15f0 __CLSExceptionRecord_block_invoke + 4303033840
4 libdispatch.dylib 0x1b39bb5ac _dispatch_client_callout + 20
5 libdispatch.dylib 0x1b39c8360 _dispatch_lane_barrier_sync_invoke_and_complete + 60
6 Runner 0x1000e105c CLSExceptionRecord + 4303032412
7 Runner 0x1000e0e88 CLSExceptionRecordNSException + 4303031944
8 Runner 0x1000e0a7c CLSTerminateHandler() + 4303030908
9 libc++abi.dylib 0x1b3ad340c std::__terminate(void (*)()) + 20
10 libc++abi.dylib 0x1b3ad6160 __cxa_rethrow + 148
11 libobjc.A.dylib 0x1b3a2ee84 objc_exception_rethrow + 44
12 CoreFoundation 0x1b3c8ec38 CFRunLoopRunSpecific + 592
13 GraphicsServices 0x1be0705cc GSEventRunModal + 164
14 UIKitCore 0x1b7e41744 UIApplicationMain + 1936
15 Runner 0x1000c9804 main + 6 (AppDelegate.swift:6)
16 libdyld.dylib 0x1b3b0b384 start + 4
It seems to be something to do with an EditText (this crash happens on my login screen), but I can't figure out what. Only 1 device is affected - an XS Max on 13.6.1. No other XS Max devices or other devices on 13.6.1 are affected, just this one, maybe its due to a device configuration or something? Any ideas would be helpful.
On a side note, is there a way to get more readable logs from Crashlytics? Like maybe get the exact error Flutter would throw on a Debug app? I have no experience with Swift so the logs from iOS make no sense to me. Thanks!

Flutter iOS App crashes in Xcode, when adding FirebaseApp.configure() to implement Firebase integration

I am trying to follow the steps to connect Firebase to an iOS App generated by Flutter.
In the final step, when adding the line FirebaseApp.configure() into the AppDelegate.swift file, the App builds OK, but then crashes upon execution, indicating a Signal Abortion on Thread 1...
Thread 1: signal SIGABRT
The code in AppDelegate.swift is the following:
import UIKit
import Flutter
import Firebase
#UIApplicationMain
#objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
GeneratedPluginRegistrant.register(with: self)
FirebaseApp.configure()
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
};
}
The full Error log provided by Xcode is the following:
2019-11-18 07:11:34.664822-0500 Runner[82048:876634] - <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-18 07:11:34.849351-0500 Runner[82048:876630] 6.13.0 - [Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.
2019-11-18 07:11:34.860414-0500 Runner[82048:876433] *** 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:
(
0 CoreFoundation 0x00007fff23c4f02e __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff50b97b20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23c4ee6c +[NSException raise:format:] + 188
3 Runner 0x00000001040bf51a +[FIRApp configure] + 138
4 Runner 0x00000001040baea4 $s6Runner11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0j6LaunchI3KeyaypGSgtF + 212
5 Runner 0x00000001040bb1f4 $s6Runner11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0j6LaunchI3KeyaypGSgtFTo + 212
6 UIKitCore 0x00007fff47846788 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 232
7 UIKitCore 0x00007fff47848197 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3980
8 UIKitCore 0x00007fff4784dce6 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1281
9 UIKitCore 0x00007fff46f843c9 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 122
10 UIKitCore 0x00007fff47471be1 _UIScenePerformActionsWithLifecycleActionMask + 83
11 UIKitCore 0x00007fff46f84edb __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198
12 UIKitCore 0x00007fff46f848ea -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 296
13 UIKitCore 0x00007fff46f84d08 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 818
14 UIKitCore 0x00007fff46f8459d -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 345
15 UIKitCore 0x00007fff46f88bcb __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke_2 + 178
16 UIKitCore 0x00007fff4739769b +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 865
17 UIKitCore 0x00007fff4749051f _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 240
18 UIKitCore 0x00007fff46f888e6 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 153
19 UIKitCore 0x00007fff47490422 _UISceneSettingsDiffActionPerformActionsWithDelayForTransitionContext + 84
20 UIKitCore 0x00007fff46f88754 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 381
21 UIKitCore 0x00007fff46ddf123 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 657
22 UIKitCore 0x00007fff46dddca8 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 248
23 UIKitCore 0x00007fff46ddee4d -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 210
24 UIKitCore 0x00007fff4784c343 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 535
25 UIKitCore 0x00007fff473b920d -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 361
26 FrontBoardServices 0x00007fff36555225 -[FBSSceneImpl _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 442
27 FrontBoardServices 0x00007fff3657b598 __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke.154 + 102
28 FrontBoardServices 0x00007fff3655fd05 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 220
29 FrontBoardServices 0x00007fff3657b229 __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke + 355
30 libdispatch.dylib 0x00000001070ebd48 _dispatch_client_callout + 8
31 libdispatch.dylib 0x00000001070eecb9 _dispatch_block_invoke_direct + 300
32 FrontBoardServices 0x00007fff365a143e __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
33 FrontBoardServices 0x00007fff365a112c -[FBSSerialQueue _queue_performNextIfPossible] + 441
34 FrontBoardServices 0x00007fff365a163b -[FBSSerialQueue _performNextFromRunLoopSource] + 22
35 CoreFoundation 0x00007fff23bb2221 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
36 CoreFoundation 0x00007fff23bb214c __CFRunLoopDoSource0 + 76
37 CoreFoundation 0x00007fff23bb1924 __CFRunLoopDoSources0 + 180
38 CoreFoundation 0x00007fff23bac62f __CFRunLoopRun + 1263
39 CoreFoundation 0x00007fff23babe16 CFRunLoopRunSpecific + 438
40 GraphicsServices 0x00007fff38438bb0 GSEventRunModal + 65
41 UIKitCore 0x00007fff4784fb48 UIApplicationMain + 1621
42 Runner 0x00000001040bb45b main + 75
43 libdyld.dylib 0x00007fff51a1dc25 start + 1
44 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
A very interesting line in the above Error log:
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/.'
So...
That message clearly suggests that there may be some issue with the GoogleService-Info.plist, like if it wasn't present... except that it IS indeed present, freshly downloaded from Firebase, it is located in the correct folder, and I have thoroughly reviewed the contents of the plist to verify the Bundle ID, Team ID and all other info is correct...
May anyone kindly please offer some suggestion to solve this problem?
THANKS
To check that you have included the file in your target do the following
Click on the file that you are checking
Click on the file inspector
Check that the file is included in your required target. Most apps only have one target.
When I attempted to add the FirebaseApp.configure() statement to my AppDelegate.swift file, the project would no longer build. So I removed those statements and continued on with the Firebase/Analytics setup. My app was able to eventually communicate with the Firebase server without that statement. It looks like the firebase plugins must be doing that for us. I added both firebase_core and firebase_analytics to my pubspec.yaml as:
firebase_core: ^0.4.0+9
firebase_analytics:

Error: DiskCookieStorage changing policy from 2 to 0, cookie file

I've got an error while compiling in Xcode (Release/Debug)
DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/mk/Library/Developer/CoreSimulator/Devices/EC5630C3-373A-45AD-A404-5628B1B329B9/data/Containers/Data/Application/06D2441B-F5B5-47B8-B6A7-68AEA36BB0D6/Library/Cookies/com.test.my-app.binarycookies
I tried to install cordova-sqlite-storage and remove ios platform and reinstall ios platform and build project for IOS
I have no code to show because is terminating with uncaught exception error.
My app build successful for IOS in ionic.
After that I open the project in Xcode and run the project in simulator device then stuff I get an error in main.m
what I see in console:
2019-09-27 15:19:14.943154+0530 myApp[3086:93649] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/mk/Library/Developer/CoreSimulator/Devices/EC5630C3-373A-45AD-A404-5628B1B329B9/data/Containers/Data/Application/06D2441B-F5B5-47B8-B6A7-68AEA36BB0D6/Library/Cookies/com.test.my-app.binarycookies
2019-09-27 15:19:14.954425+0530 myApp[3086:93649] Apache Cordova native platform version 5.0.1 is starting.
2019-09-27 15:19:14.954596+0530 myApp[3086:93649] Multi-tasking -> Device: YES, App: YES
2019-09-27 15:19:14.972439+0530 myApp[3086:93649] -[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x6000011cc900
2019-09-27 15:19:14.981981+0530 myApp[3086:93649] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x6000011cc900'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23b98bde __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff503b5b20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23bb9704 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff23b9d7bc ___forwarding___ + 1436
4 CoreFoundation 0x00007fff23b9f6c8 _CF_forwarding_prep_0 + 120
5 myApp 0x000000010a028723 -[CDVViewController viewDidLoad] + 227
6 myApp 0x000000010a004433 -[MainViewController viewDidLoad] + 51
7 UIKitCore 0x00007fff46af87c2 -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 83
8 UIKitCore 0x00007fff46afd6d3 -[UIViewController loadViewIfRequired] + 1084
9 UIKitCore 0x00007fff46afdaf0 -[UIViewController view] + 27
10 UIKitCore 0x00007fff47199b55 -[UIWindow addRootViewControllerViewIfPossible] + 150
11 UIKitCore 0x00007fff4719920b -[UIWindow _updateLayerOrderingAndSetLayerHidden:actionBlock:] + 232
12 UIKitCore 0x00007fff4719a2c9 -[UIWindow _setHidden:forced:] + 362
13 UIKitCore 0x00007fff471ad46d -[UIWindow _mainQueue_makeKeyAndVisible] + 42
14 myApp 0x000000010a01ef3f -[CDVAppDelegate application:didFinishLaunchingWithOptions:] + 703
15 myApp 0x000000010a0041ab -[AppDelegate application:didFinishLaunchingWithOptions:] + 187
16 UIKitCore 0x00007fff4715994f -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 232
17 UIKitCore 0x00007fff4715b2e7 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3980
18 UIKitCore 0x00007fff47160c05 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1281
19 UIKitCore 0x00007fff468b58b1 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 122
20 UIKitCore 0x00007fff46d96cd5 _UIScenePerformActionsWithLifecycleActionMask + 83
21 UIKitCore 0x00007fff468b63c3 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198
22 UIKitCore 0x00007fff468b5e84 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 474
23 UIKitCore 0x00007fff468b61f3 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 821
24 UIKitCore 0x00007fff468b5a85 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 345
25 UIKitCore 0x00007fff468b9e70 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke_2 + 159
26 UIKitCore 0x00007fff46cbdf8b +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 865
27 UIKitCore 0x00007fff46db51cf _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 240
28 UIKitCore 0x00007fff468b9b9e __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 153
29 UIKitCore 0x00007fff46db50d2 _UISceneSettingsDiffActionPerformActionsWithDelayForTransitionContext + 84
30 UIKitCore 0x00007fff468b9a0c -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 381
31 UIKitCore 0x00007fff46717c96 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 657
32 UIKitCore 0x00007fff4671681b -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 248
33 UIKitCore 0x00007fff467179c0 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 210
34 UIKitCore 0x00007fff4715f262 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 535
35 UIKitCore 0x00007fff46cdf774 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 361
36 FrontBoardServices 0x00007fff362e1d43 -[FBSSceneImpl _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 442
37 FrontBoardServices 0x00007fff3630a00c __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke.154 + 102
38 FrontBoardServices 0x00007fff362ecd21 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 220
39 FrontBoardServices 0x00007fff36309c9d __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke + 355
40 libdispatch.dylib 0x000000010a387d64 _dispatch_client_callout + 8
41 libdispatch.dylib 0x000000010a38acd5 _dispatch_block_invoke_direct + 300
42 FrontBoardServices 0x00007fff3633108a __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
43 FrontBoardServices 0x00007fff36330d78 -[FBSSerialQueue _queue_performNextIfPossible] + 441
44 FrontBoardServices 0x00007fff36331287 -[FBSSerialQueue _performNextFromRunLoopSource] + 22
45 CoreFoundation 0x00007fff23afbac1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
46 CoreFoundation 0x00007fff23afb9ec __CFRunLoopDoSource0 + 76
47 CoreFoundation 0x00007fff23afb1c4 __CFRunLoopDoSources0 + 180
48 CoreFoundation 0x00007fff23af5ecf __CFRunLoopRun + 1263
49 CoreFoundation 0x00007fff23af56b6 CFRunLoopRunSpecific + 438
50 GraphicsServices 0x00007fff3815cbb0 GSEventRunModal + 65
51 UIKitCore 0x00007fff47162a67 UIApplicationMain + 1621
52 myApp 0x000000010a0040d1 main + 65
53 libdyld.dylib 0x00007fff5123bcf5 start + 1
54 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

Error Terminating app due to uncaught exception 'NSInvalidArgumentException'

I've got an error while compiling (Release/Debug)
Terminating app due to uncaught exception NSInvalidArgumentException', reason: '-[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x600003ea6ae0'
After build successfully myProject. I was open my project in Xcode and click the run button on Xcode. the project build successfully and display the lunch screen in simulator device. After that stuff I get an error in main.m, and this is what I see in console:
#import <UIKit/UIKit.h>
int main(int argc, char* argv[])
{
#autoreleasepool {
int retVal = UIApplicationMain(argc, argv, nil, #"AppDelegate"); Thread 1: signal SIGABRT
return retVal;
}
}
2019-09-27 15:19:14.943154+0530 myApp[3086:93649] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/mk/Library/Developer/CoreSimulator/Devices/EC5630C3-373A-45AD-A404-5628B1B329B9/data/Containers/Data/Application/06D2441B-F5B5-47B8-B6A7-68AEA36BB0D6/Library/Cookies/com.test.my-app.binarycookies
2019-09-27 15:19:14.954425+0530 myApp[3086:93649] Apache Cordova native platform version 5.0.1 is starting.
2019-09-27 15:19:14.954596+0530 myApp[3086:93649] Multi-tasking -> Device: YES, App: YES
2019-09-27 15:19:14.972439+0530 myApp[3086:93649] -[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x6000011cc900
2019-09-27 15:19:14.981981+0530 myApp[3086:93649] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x6000011cc900'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23b98bde __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff503b5b20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23bb9704 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff23b9d7bc ___forwarding___ + 1436
4 CoreFoundation 0x00007fff23b9f6c8 _CF_forwarding_prep_0 + 120
5 myApp 0x000000010a028723 -[CDVViewController viewDidLoad] + 227
6 myApp 0x000000010a004433 -[MainViewController viewDidLoad] + 51
7 UIKitCore 0x00007fff46af87c2 -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 83
8 UIKitCore 0x00007fff46afd6d3 -[UIViewController loadViewIfRequired] + 1084
9 UIKitCore 0x00007fff46afdaf0 -[UIViewController view] + 27
10 UIKitCore 0x00007fff47199b55 -[UIWindow addRootViewControllerViewIfPossible] + 150
11 UIKitCore 0x00007fff4719920b -[UIWindow _updateLayerOrderingAndSetLayerHidden:actionBlock:] + 232
12 UIKitCore 0x00007fff4719a2c9 -[UIWindow _setHidden:forced:] + 362
13 UIKitCore 0x00007fff471ad46d -[UIWindow _mainQueue_makeKeyAndVisible] + 42
14 myApp 0x000000010a01ef3f -[CDVAppDelegate application:didFinishLaunchingWithOptions:] + 703
15 myApp 0x000000010a0041ab -[AppDelegate application:didFinishLaunchingWithOptions:] + 187
16 UIKitCore 0x00007fff4715994f -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 232
17 UIKitCore 0x00007fff4715b2e7 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3980
18 UIKitCore 0x00007fff47160c05 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1281
19 UIKitCore 0x00007fff468b58b1 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 122
20 UIKitCore 0x00007fff46d96cd5 _UIScenePerformActionsWithLifecycleActionMask + 83
21 UIKitCore 0x00007fff468b63c3 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198
22 UIKitCore 0x00007fff468b5e84 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 474
23 UIKitCore 0x00007fff468b61f3 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 821
24 UIKitCore 0x00007fff468b5a85 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 345
25 UIKitCore 0x00007fff468b9e70 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke_2 + 159
26 UIKitCore 0x00007fff46cbdf8b +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 865
27 UIKitCore 0x00007fff46db51cf _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 240
28 UIKitCore 0x00007fff468b9b9e __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 153
29 UIKitCore 0x00007fff46db50d2 _UISceneSettingsDiffActionPerformActionsWithDelayForTransitionContext + 84
30 UIKitCore 0x00007fff468b9a0c -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 381
31 UIKitCore 0x00007fff46717c96 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 657
32 UIKitCore 0x00007fff4671681b -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 248
33 UIKitCore 0x00007fff467179c0 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 210
34 UIKitCore 0x00007fff4715f262 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 535
35 UIKitCore 0x00007fff46cdf774 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 361
36 FrontBoardServices 0x00007fff362e1d43 -[FBSSceneImpl _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 442
37 FrontBoardServices 0x00007fff3630a00c __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke.154 + 102
38 FrontBoardServices 0x00007fff362ecd21 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 220
39 FrontBoardServices 0x00007fff36309c9d __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke + 355
40 libdispatch.dylib 0x000000010a387d64 _dispatch_client_callout + 8
41 libdispatch.dylib 0x000000010a38acd5 _dispatch_block_invoke_direct + 300
42 FrontBoardServices 0x00007fff3633108a __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
43 FrontBoardServices 0x00007fff36330d78 -[FBSSerialQueue _queue_performNextIfPossible] + 441
44 FrontBoardServices 0x00007fff36331287 -[FBSSerialQueue _performNextFromRunLoopSource] + 22
45 CoreFoundation 0x00007fff23afbac1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
46 CoreFoundation 0x00007fff23afb9ec __CFRunLoopDoSource0 + 76
47 CoreFoundation 0x00007fff23afb1c4 __CFRunLoopDoSources0 + 180
48 CoreFoundation 0x00007fff23af5ecf __CFRunLoopRun + 1263
49 CoreFoundation 0x00007fff23af56b6 CFRunLoopRunSpecific + 438
50 GraphicsServices 0x00007fff3815cbb0 GSEventRunModal + 65
51 UIKitCore 0x00007fff47162a67 UIApplicationMain + 1621
52 myApp 0x000000010a0040d1 main + 65
53 libdyld.dylib 0x00007fff5123bcf5 start + 1
54 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
You've implemented -[ application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist .
Are you using notificayion in your app ,if so make what they are asking else check your app if there is a method that have un ended loop so that it is causing the app to throw execption of rebound.

Firebase: Xcode Could not locate configuration file: 'GoogleService-Info.plist'

3 days ago I try to launch my app, but its crashing on startup, I do all steps mentioned in all other questions's answers.
I'm sure of file name exactly: GoogleService-Info.plist , Target Membership is my app I check it, I add file to Copy Bundle Resources and Compile Resources, I clean app and rebuild it, I recreate app on Firebase Console, I restart PC and Xcode, and same error !!
I use firebase for cloud messaging. I import Firebase on AppDelegate, add FirebaseApp.configure() to didFinishLaunchingWithOptions.
What shall I do other than this to get it work ???
2018-03-29 10:54:33.131476+0300 Ajeelk[72808:20293899] 4.11.0 - [Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.
2018-03-29 10:54:33.131712+0300 Ajeelk[72808:20293899] 4.11.0 - [Firebase/Core][I-COR000005] No app has been configured yet.
2018-03-29 10:54:33.170450+0300 Ajeelk[72808:20293848] *** 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:
(
0 CoreFoundation 0x0000000103f4812b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00000001035dcf41 objc_exception_throw + 48
2 CoreFoundation 0x0000000103fbd245 +[NSException raise:format:] + 197
3 Ajeelk 0x0000000101512102 +[FIRApp configure] + 352
4 Ajeelk 0x0000000101451500 _T06Ajeelk11AppDelegateC11applicationSbSo13UIApplicationC_s10DictionaryVySC0E16LaunchOptionsKeyVypGSg022didFinishLaunchingWithH0tF + 240
5 Ajeelk 0x000000010145302a _T06Ajeelk11AppDelegateC11applicationSbSo13UIApplicationC_s10DictionaryVySC0E16LaunchOptionsKeyVypGSg022didFinishLaunchingWithH0tFTo + 186
6 UIKit 0x0000000104fc7bca -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 299
7 UIKit 0x0000000104fc9648 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4113
8 UIKit 0x0000000104fceaeb -[UIApplication _runWithMainScene:transitionContext:completion:] + 1720
9 UIKit 0x00000001053986f8 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 924
10 UIKit 0x000000010576e4c8 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153
11 UIKit 0x00000001053982f1 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 249
12 UIKit 0x0000000105398b6b -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 696
13 UIKit 0x0000000105d16a69 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 262
14 UIKit 0x0000000105d16922 -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 444
15 UIKit 0x00000001059f39c8 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 221
16 UIKit 0x0000000105bf2b06 _performActionsWithDelayForTransitionContext + 100
17 UIKit 0x00000001059f388b -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 231
18 UIKit 0x000000010576db25 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392
19 UIKit 0x0000000104fcd36a -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 523
20 UIKit 0x00000001055a8605 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 369
21 FrontBoardServices 0x000000010bd48cc0 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 338
22 FrontBoardServices 0x000000010bd517b5 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 235
23 libdispatch.dylib 0x00000001086151ba _dispatch_client_callout + 8
24 libdispatch.dylib 0x000000010861a468 _dispatch_block_invoke_direct + 324
25 FrontBoardServices 0x000000010bd7d498 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 24
26 FrontBoardServices 0x000000010bd7d14e -[FBSSerialQueue _performNext] + 464
27 FrontBoardServices 0x000000010bd7d6bd -[FBSSerialQueue _performNextFromRunLoopSource] + 45
28 CoreFoundation 0x0000000103eeb101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
29 CoreFoundation 0x0000000103f8af71 __CFRunLoopDoSource0 + 81
30 CoreFoundation 0x0000000103ecfa19 __CFRunLoopDoSources0 + 185
31 CoreFoundation 0x0000000103ecefff __CFRunLoopRun + 1279
32 CoreFoundation 0x0000000103ece889 CFRunLoopRunSpecific + 409
33 GraphicsServices 0x000000010995a9c6 GSEventRunModal + 62
34 UIKit 0x0000000104fd05d6 UIApplicationMain + 159
35 Ajeelk 0x00000001014586b7 main + 55
36 libdyld.dylib 0x0000000108689d81 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Your Xcode project is overriding the default Xcode copyPlist function to a no-op. Therefore no plist files get copied in the Copy Resource Files section.
Delete the following from Ajeelk.xcodeproj/project.pbxproj:
/* Begin PBXBuildRule section */
048423361F1F829200C5DC6B /* PBXBuildRule */ = {
isa = PBXBuildRule;
compilerSpec = com.apple.compilers.proxy.script;
fileType = text.plist;
isEditable = 1;
outputFiles = (
);
script = "# builtin-copyPlist\n";
};
/* End PBXBuildRule section */

Resources