[エラー]ARC forbids explicit message send of ‘release’
Xcodeのバージョンを5.0から5.1.1に上げてから以下のエラーが多数発生
ーーーーーーーーーーーーーーーーーーーー
ARC forbids explicit message send of ‘autorelease’
ARC forbids explicit message send of ‘release’
ーーーーーーーーーーーーーーーーーーーー
ARCが有効の際に発生するみたい。
ARCがメモリ管理をしてるらしく、releaseやautoreleaseが不要な様です。
《対処》
Xcode > Build Stting で
Objective-C Automatic Reference Counting を YES から NO に変更
ーーーーーーーーーーーーーーーーーーーー
ARC forbids explicit message send of ‘autorelease’
ARC forbids explicit message send of ‘release’
ーーーーーーーーーーーーーーーーーーーー
ARCが有効の際に発生するみたい。
ARCがメモリ管理をしてるらしく、releaseやautoreleaseが不要な様です。
《対処》
Xcode > Build Stting で
Objective-C Automatic Reference Counting を YES から NO に変更
2014-06-13 19:12
nice!(0)
コメント(0)
トラックバック(0)
コメント 0