app crashes at run before reaching my code xcode6.1 Universal App Objective-C NSKeyedUnarchiver iOS 7.0 iOS 8.1
问题 App crashes at run under 7.1 simulator or device and runs fine on both with in 8.1 with StackTrace: appName[10676:607] *** -[NSKeyedUnarchiver initForReadingWithData:]: data is empty; did you forget to send -finishEncoding to the NSKeyedArchiver? appName[10676:607] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '(null)' *** First throw call stack: ( 0 CoreFoundation 0x007a91e4 __exceptionPreprocess + 180 1 libobjc.A.dylib 0x005258e5 objc_exception