Open kwangkim opened 9 years ago
No, it is not .dylib. This project is a just a pack of class. Take it as a library.
Thanks for your response. I have a couple of errors.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_FactoryProvideriOS", referenced from:
objc-class-ref in ViewController.o
"_OBJC_CLASS_$_ImageI", referenced from:
objc-class-ref in ViewController.o
"_OBJC_CLASS_$_OrgScilabForgeJlatexmathPlatformGraphicsInsets", referenced from:
objc-class-ref in ViewController.o
"_OBJC_CLASS_$_OrgScilabForgeJlatexmathTeXFormula", referenced from:
objc-class-ref in ViewController.o
"_OrgScilabForgeJlatexmathColorUtil_BLACK_", referenced from:
-[ViewController viewDidLoad] in ViewController.o
"_OrgScilabForgeJlatexmathColorUtil_WHITE_", referenced from:
-[ViewController viewDidLoad] in ViewController.o
"_OrgScilabForgeJlatexmathPlatformFactoryProvider_INSTANCE_", referenced from:
-[ViewController viewDidLoad] in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I just selected a single page project when I made a new project.
I do not understand
Drag this project into your main app project.
Should I drag JlatexMath-iOS folder into my project in xcode? Or just drag Jlatexmath-iOS project file into my project in xcode?
Drag JlatexMath-iOS folder into your project. Besides, ViewController is the class I use to demonstrate the usage.
I just copied your ViewController.m and ViewController.h.
I realized that I did not do
set the platform dependent factory instance OrgScilabForgeJlatexmathPlatformFactoryProvider_setINSTANCE([[FactoryProvideriOS alloc] init]);
Could you advise me how to set it?
Before using the library, type this code. It's simple. As ViewController.m line 31 does. https://github.com/jacky841102/JLaTeXMath-iOS/blob/master/JLaTeXMath-iOS/ViewController.m
Is this libicucore.dylib?
And Xcode 7 only has libicucore.tbd.