Simulator Camera Image Crash in Homepwner


#1

So I set up the document Directory and now I’m getting this error when I click on the camera image

2014-05-06 11:23:43.208 HomePwner[16038:60b] Error unable to find /Users/jordynbarber/Library/Application Support/iPhone Simulator/7.1-64/Applications/3E532833-9C14-4E72-AEC0-7B126FDBDEE4/Documents/50F1E3FC-7D9C-455B-8106-B6BF50293695
2014-05-06 11:23:44.334 HomePwner[16038:60b] -[BNRDetailViewController test:]: unrecognized selector sent to instance 0x10a0119d0
2014-05-06 11:23:44.336 HomePwner[16038:60b] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[BNRDetailViewController test:]: unrecognized selector sent to instance 0x10a0119d0’
*** First throw call stack:
(
0 CoreFoundation 0x0000000101956495 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x00000001016b599e objc_exception_throw + 43
2 CoreFoundation 0x00000001019e765d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x0000000101947d8d forwarding + 973
4 CoreFoundation 0x0000000101947938 _CF_forwarding_prep_0 + 120
5 UIKit 0x0000000100263f06 -[UIApplication sendAction:to:from:forEvent:] + 80
6 UIKit 0x0000000100263f06 -[UIApplication sendAction:to:from:forEvent:] + 80
7 UIKit 0x0000000100263eb4 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 17
8 UIKit 0x0000000100340880 -[UIControl _sendActionsForEvents:withEvent:] + 203
9 UIKit 0x000000010033fdc0 -[UIControl touchesEnded:withEvent:] + 530
10 UIKit 0x00000001005876f7 _UIGestureRecognizerUpdate + 5149
11 UIKit 0x000000010029aa15 -[UIWindow _sendGesturesForEvent:] + 928
12 UIKit 0x000000010029b6d4 -[UIWindow sendEvent:] + 909
13 UIKit 0x000000010027329a -[UIApplication sendEvent:] + 211
14 UIKit 0x0000000100260aed _UIApplicationHandleEventQueue + 9579
15 CoreFoundation 0x00000001018e5d21 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
16 CoreFoundation 0x00000001018e55f2 __CFRunLoopDoSources0 + 242
17 CoreFoundation 0x000000010190146f __CFRunLoopRun + 767
18 CoreFoundation 0x0000000101900d83 CFRunLoopRunSpecific + 467
19 GraphicsServices 0x0000000103acdf04 GSEventRunModal + 161
20 UIKit 0x0000000100262e33 UIApplicationMain + 1010
21 HomePwner 0x00000001000060c3 main + 115
22 libdyld.dylib 0x0000000101fee5fd start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

What have I done wrong?


#2

So i figured out part of the bug…There was an inactive test IBAction reference from the debugging chapter. BUT I still get an error when I try to get an image for the item:

2014-05-06 12:08:13.941 HomePwner[16183:60b] Error unable to find /Users/jordynbarber/Library/Application Support/iPhone Simulator/7.1-64/Applications/3E532833-9C14-4E72-AEC0-7B126FDBDEE4/Documents/1BF8EEB7-2818-4684-BB3E-5A0D0A975630

What have I done wrong?


#3

I figured it out. I forgot to reconnect my camera image to the takeImage action