简体   繁体   中英

Whirlyglobe private API complain during app submission

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错误消息

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM