Source code to ask
LoserForLoser opened this issue · comments
Hello there
Due to our company's regulations, it is not possible to integrate Spectrum through cocoapods
So you need to manually pour the source file
I don't know what to do, please guide if you can.
Thank you
Hey @LoserForLoser
Thanks for reaching out. If I'm understanding correctly you'd like to integrate Spectrum as a dependency to your iOS project w/o using Cocoapods.
This isn't a flow we've tested or that we officially support - we generally recommend integrating Spectrum through CP or Carthage (work in progress). That being said, it should be possible to create an Xcode project for SpectrumKit
and its dependencies. It would requires producing all the Xcode projects needed for each target dependencies (folly, mozjpeg, libpng, libwebp) as well as SpectrumCore
& SpectrumKit
.
Does this make sense?
Hey @cuva
I have seen your reply
I have received and clarified how to use
Thank you for your guidance
Hey @cuva
I have a problem when I use source code directly. How do I get the code for SpectrumCore? I only found the code for SpectrumKit in Spectrum.
I have now sourced folly, mozjpeg, libpng, libwebp.
Please give detailed instructions.
Thank you!
The code for SpectrumCore is located in cpp/spectrum
. This relates to the C++ core of Spectrum while SpectrumKit
refers to the objective-c layer on top of it. Does this help?
Hey @cuva
I think I already know what you mean.
If there is anything wrong, please point out.
As shown
Thank you for your reply
This looks correct. What's the issue you're experiencing?
Hey @cuva
Thank you for your patience
But I have encountered some other problems here.
I don't know if you tried to directly introduce the source code of folly, mozjpeg, libpng, libwebp when you wrote Spectrum.
Now I am experiencing the problem with the adjustment of libpng
I am now trying to install ncurses-6.1 to fix it.
I don't know if you have any experience to help me use them.
I hope I have not bothered you
Thank you