Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSONKit库在xcode 6.1上无法编译通过 #33

Open
inix opened this issue Jan 18, 2015 · 2 comments
Open

JSONKit库在xcode 6.1上无法编译通过 #33

inix opened this issue Jan 18, 2015 · 2 comments

Comments

@inix
Copy link

inix commented Jan 18, 2015

/Users/test/Documents/iOSSF/SegmentFault/Support/JSONKit/JSONKit.m:680:5: Assignment to Objective-C's isa is deprecated in favor of object_setClass()

/Users/test/Documents/iOSSF/SegmentFault/Support/JSONKit/JSONKit.m:931:5: Assignment to Objective-C's isa is deprecated in favor of object_setClass()

@ZengyiMa
Copy link

我也是这个问题

@gongbojie
Copy link

gongbojie commented Jun 12, 2016

@inix
问题是:

  • 使用 array->isa 这个弃用的函数

解决办法:

  • 选择 PROJECT 的Build Settings
  • 搜索关键字 Direct usage of 'isa'
  • 将 YES(treat as error) 改为NO 就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants