Added error.c to Xcode project (iOS)