I downloaded the package and SBJson.zip TouchJson.zip packages, how to package it into IOS project? Whether the project can be imported zip package, how they can use after import: # import "SBJson / SBJson.h"
Beginner IOS, seeking god pointing ah?
Reply:
Point in your project to find the build phases below link binary ... can be a plus point
Reply:
There are a lot of zip. m and. h file, I get that zip file, and then link that folder, or how to do it?
I put the two zip zip package to the project, and then link them, but I can not use # import "TouchJson / JSON / CJSONDeserializer.h" to refer to files inside it ah?
If I were to be invoked, how can I import?
Reply:
Point in your project to find the build phases below link binary ... can be a plus point
Reply:
These two packages are used directly source, no link binary
Directly from the finder. H and. M files onto xode project can be
Reply:
That there are many. H and. M files, ah, I could not have dragged over ah, I put what TouchJSon.zip unpack the archive, and then copy it to my inside that project, which is equivalent to all of the files are copied , and while I can in my file # import to introduce through the inside of the file, but when I use that class, a compile-time error:
Undifined symbols for architecture i386:
"_OBJC_CLASS_ $ _CJSONDeserializer", Referenced from:
objc-class-ref in ParseJsonViewController.o
id: symbo (s) not found for architecture i386:
clang: eroor: linker command failed with exit code 1 (use-v to see invocation)
Reply:
This error description is a basic package does not import just about SBJSon used, only inside JSONKit.h and m is sufficient.
Reply:
6th Floor, positive solution.
I put all the. M files are in the Compile Sources added, after which there is no error in compiling it.
But I still tangled a question: the so-called import package in the end what is the concept? I link between a zip archive seems to be unavailable to the inside of the file. Put that unpack, and then link that folder. This approach may not know science.
In Android can be imported directly into a jar, and then use inside classes. I do not know what is in the IOS.
Reply:
IOS external packet format are generally. A and. Dylib, instead. Zip,. A and. Dylib equivalent andrioid a jar of
Reply:
Oh
I was in line to download the package, its format is zip, how can I put those labeled a. A or. Dylib bag?
Please advise.
No comments:
Post a Comment