0

私はこの形式に慣れようとしています。しかし、私はこのような奇妙な問題を抱え続けています...

 [accountStore requestAccessToAccountsWithType:accountType withCompletionHandler:^(BOOL granted, NSError *error) {
        if(granted) {
            mAccounts  = [[accountStore accountsWithAccountType:accountType] retain];

            if(acctId != nil) {
                mActiveAccount = [[accountStore accountWithIdentifier:acctId] retain];
            }
        }
    }];

コンパイルすると、ブロックの最後の行でエラーが発生します...

internal compiler error: in convert_all_function_calls, at tree-nested.c:1976
4

1 に答える 1

0

コンパイラの設定が混乱していました。コンピュータごとに変更されるデフォルトに設定しました。「Apple LLVM 3.0」に設定する必要があります

于 2012-04-09T20:17:15.750 に答える