Closed akovalov closed 2 years ago
Can you take a look at this @TimSylvester
Ah, right, the preprocessor definitions listed in that file also need to be applied when building that cpp file, particularly LODEPNG_NO_COMPILE_CRC
. I never found a good way to do that in the podspec, but I guess it should be fine to apply them to everything, I'll try it...
I pulled develop into a project via pod and was surprised to find that it built without error. You're referencing develop
, right? Are you using frameworks in the podfile?
I had the same issue and yep was using frameworks.
I reverted back to using the source instead.
See if referencing topic/pod
works.
Yep switching to topic/pod builds fine.
Error building develop via CocoaPods: duplicate symbol 'lodepng_crc32(unsigned char const*, unsigned long)'
Looks like
lodepng_crc32
inRawPNGImage
is not used and can be removed.