*目次 [#g2ba815e]
#contents

*関連ページ [#t1d2275c]
-[[./Twitter]]
-[[./CoreData]]
-[[./Xcode]]

*インストール [#ib2a9cf0]
dmgファイルをマウントしてインストールスクリプトを実行

*アンインストール [#h7a5599c]
ターミナルで以下のコマンドを実行
 $ sudo /Developer/Library/uninstall-devtools --mode=all

*トラブルシューティング [#v68bf56f]
**implicit declaration of function ‘usleep’ [#y81c2669]
該当ソースの先頭でunistd.hをimportする。
 #import<unistd.h>

**'directoryContentsAtPath:' is deprecated [#z5764967]
enumeratorAtPathに変換する。変更前
#pre{{
    NSArray *array = [[NSFileManager defaultManager] directoryContentsAtPath:path];
    for (NSString *fname in array) {
    }
}}
変更後
#pre{{
    NSDirectoryEnumerator *dirEnum = [[NSFileManager defaultManager] enumeratorAtPath:path];
    NSString* fname;
    while (fname = [dirEnum nextObject])  { 
    }
}}

**'fileAttributesAtPath:' is deprecated [#i4631689]
attributesOfItemAtPathに変換する。変更前
#pre{{
        NSDictionary *fileDict = [[NSFileManager defaultManager] attributesOfItemAtPath:[path stringByAppendingPathComponent:fname] error:&error];
}}
変更後
#pre{{
	NSError* error;
        NSDictionary *fileDict = [[NSFileManager defaultManager] attributesOfItemAtPath:[path stringByAppendingPathComponent:fname] error:&error];		

}}

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