Solutions to the ' Isa ' error in Jsonkit

Source: Internet
Author: User

One, the pods added by the Jsonkit, the compilation will appear 20 about the ' ISA ' pointer error, because this ISA method has been deprecated.

There are two ways to resolve this:

(1) to locate the error in the Jsonkit code, according to the system prompt fix fix, or manual modification into the form of object_setclass, this is more troublesome, need a change.

(2) Click on the Project Pods project, select Jsonkit in the left targets, search for Direct usage of ' Isa ' in build settings, change the default yes to No, recompile.

Second, manually download the imported Jsonkit in GitHub, there will be two errors, respectively, in 680 rows and 932 lines, the solution is:

Change the jsonkit.m file in 680 rows to Object_setclass (array, _jkarrayclass);

will be jsonkit.m file in 932 lines, modified to Object_setclass (dictionary, _jkdictionaryclass);

Solutions to the ' Isa ' error in Jsonkit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.