You get this error because Accounts.framework is only available in iOS 5.0 or later. Therefore, you cannot run it on iOS 4.2 / 4.3.
You can also mark Accounts.framework as optional. In Xcode, select "Goals"> "Generate Phases"> "Link with Binary Libraries"> "Accounts" and mark it as optional.
, (, iOS 5.0 ) iOS 4.3. , :
NSString *reqSysVer = @"5.0";
NSString *currSysVer = [[UIDevice currentDevice] systemVersion];
if ([currSysVer compare:reqSysVer options:NSNumericSearch] != NSOrderedAscending) {
}