We need more than simply "it crashes"
Crashes when doing what? Also please copy and paste the entire log
Sorry, the iOS simulator crashes when going to "Product" and select "Run".
Simulator start op normally, as soon as te app loads it crashes immediately (only black screen is visible after launch of the app)
LOG:
2014-08-03 01:27:19.386 SQLite3DBSample[3844:60b] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayI objectAtIndex:]: index 0 beyond bounds for empty array'
*** First throw call stack:
(
0 CoreFoundation 0x018df1e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x0165e8e5 objc_exception_throw + 44
2 CoreFoundation 0x018938b2 -[__NSArrayI objectAtIndex:] + 210
3 SQLite3DBSample 0x00002def -[EditInfoViewController loadInfoToEdit] + 351
4 SQLite3DBSample 0x000025ff -[EditInfoViewController viewDidLoad] + 719
5 UIKit 0x0043d33d -[UIViewController loadViewIfRequired] + 696
6 UIKit 0x0043d5d9 -[UIViewController view] + 35
7 UIKit 0x00468509 -[UINavigationController rotatingSnapshotViewForWindow:] + 52
8 UIKit 0x007afe3c -[UIClientRotationContext initWithClient:toOrientation:duration:andWindow:] + 420
9 UIKit 0x00364c22 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:isRotating:] + 1495
10 UIKit 0x00364646 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:] + 82
11 UIKit 0x00364518 -[UIWindow _setRotatableViewOrientation:updateStatusBar:duration:force:] + 117
12 UIKit 0x003645a0 -[UIWindow _setRotatableViewOrientation:duration:force:] + 67
13 UIKit 0x0036363a __57-[UIWindow _updateToInterfaceOrientation:duration:force:]_block_invoke + 120
14 UIKit 0x0036359c -[UIWindow _updateToInterfaceOrientation:duration:force:] + 400
15 UIKit 0x003642f3 -[UIWindow setAutorotates:forceUpdateInterfaceOrientation:] + 870
16 UIKit 0x003678e6 -[UIWindow setDelegate:] + 449
17 UIKit 0x00441b77 -[UIViewController _tryBecomeRootViewControllerInWindow:] + 180
18 UIKit 0x0035d474 -[UIWindow addRootViewControllerViewIfPossible] + 591
19 UIKit 0x0035d5ef -[UIWindow _setHidden:forced:] + 312
20 UIKit 0x0035d86b -[UIWindow _orderFrontWithoutMakingKey] + 49
21 UIKit 0x003683c8 -[UIWindow makeKeyAndVisible] + 65
22 UIKit 0x00318bc0 -[UIApplication _callInitializationDelegatesForURL

ayload:suspended:] + 2097
23 UIKit 0x0031d667 -[UIApplication _runWithURL

ayload:launchOrientation:statusBarStyle:statusBarHidden:] + 824
24 UIKit 0x00331f92 -[UIApplication handleEvent:withNewEvent:] + 3517
25 UIKit 0x00332555 -[UIApplication sendEvent:] + 85
26 UIKit 0x0031f250 _UIApplicationHandleEvent + 683
27 GraphicsServices 0x038d4f02 _PurpleEventCallback + 776
28 GraphicsServices 0x038d4a0d PurpleEventCallback + 46
29 CoreFoundation 0x0185aca5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53
30 CoreFoundation 0x0185a9db __CFRunLoopDoSource1 + 523
31 CoreFoundation 0x0188568c __CFRunLoopRun + 2156
32 CoreFoundation 0x018849d3 CFRunLoopRunSpecific + 467
33 CoreFoundation 0x018847eb CFRunLoopRunInMode + 123
34 UIKit 0x0031cd9c -[UIApplication _run] + 840
35 UIKit 0x0031ef9b UIApplicationMain + 1225
36 SQLite3DBSample 0x00004ccd main + 141
37 libdyld.dylib 0x01e28701 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)