Question

I have a simple app which uses whirlyglobe framework (2.2). Otherwise, it is pretty basic program with Apple frameworks.

When I tried to validate the app (and during the distribution, Xcode complains that my app is using private API; specifically it calls "rootElement", and "attributeForFont:". I suspect these functions are part of WhilyGlobe component distribution.

What is the easiest way to remove those files from the framework? Do I need to have the source and compile the framework myself? Or is there a simpler way?

xcode error message

Was it helpful?

Solution

Solved. Here is what I did:

1) Searched in github repository of WhirlyGlobe and found the file that uses the functions which caused issue. 2) I did not need the functionality provided by the file that had the functions. 3) Removed the references (class instantiation) to the file from my project.

OTHER TIPS

That's actually part of the KissXML framework and the implementation is in there. I suspect Apple's test is in error.

In any case, if you're not using the WMS functionality, you can probably drop it out just fine.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top