NSString *aName = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 1)];
NSString *aDescription = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 2)];
NSString *aImageUrl = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 3)];
NSString *aCount = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 4)];
Animal *animal = [[Animal alloc] initWithName:aName description:aDescription url:aImageUrl countc:aCount ];
程序接收到的信號「SIGABRT」在設置了「* aCount」的行,我該如何調試(解決)這種類型的錯誤?調試程序接收信號「SIGABRT」
countc:aCount or count:aCount?如果count參數是整數類型tyen,請使用[aCount intValue]。 – Ravin