目次[edit]

関連ページ[edit]

インストール[edit]

dmgファイルをマウントしてインストールスクリプトを実行

アンインストール[edit]

ターミナルで以下のコマンドを実行

$ sudo /Developer/Library/uninstall-devtools --mode=all

トラブルシューティング[edit]

implicit declaration of function ‘usleep’[edit]

該当ソースの先頭でunistd.hをimportする。

#import<unistd.h>

'directoryContentsAtPath:' is deprecated[edit]

enumeratorAtPathに変換する。変更前

    NSArray *array = [[NSFileManager defaultManager] directoryContentsAtPath:path];
    for (NSString *fname in array) {
    }

変更後

    NSDirectoryEnumerator *dirEnum = [[NSFileManager defaultManager] enumeratorAtPath:path];
    NSString* fname;
    while (fname = [dirEnum nextObject])  { 
    }

'fileAttributesAtPath:' is deprecated[edit]

attributesOfItemAtPathに変換する。変更前

        NSDictionary *fileDict = [[NSFileManager defaultManager] attributesOfItemAtPath:[path stringByAppendingPathComponent:fname] error:&error];

変更後

	NSError* error;
        NSDictionary *fileDict = [[NSFileManager defaultManager] attributesOfItemAtPath:[path stringByAppendingPathComponent:fname] error:&error];		


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS