I am attempting to use Cocos2Dx for an iPhone application, while also allowing development on windows. So far having one code base compile for both has caused very few problems, but one issue has come up which I do not know how to resolve.
While running on windows I recently started to use CCFileUtils::getFileDataFromZip which worked like a charm; however, when I go to use this function in my ios xcode project the project complains that there is no symbol defined for it for a given architecture (i386 on sim, armv6 or 7 otherwise). If I comment out that one line then it works fine. I am able to use other functions from CCFIleUitls without an issue such as for determining full paths.
I have tried for now to make a local to my application function which is IDENTICAL to the CCFileUtils one (literally copied and pasted) and the code runs and performs fine on my iOS builds. Does anyone have an idea why using the CCFileUtils::getFileDataFromZip function specifically would cause errors about having no symbols defined for a given architecture?
By the way I am using the latest (0.10) version of cocos2d-x
Thanks in advance!