Hello,
Today I updated my iOS app to use version 16.2 of IGChart. I am trying to archive my application and submit it to the app store but I am getting a bunch of warnings about IGChart not including headers. What do I need to do to remove these warnings? I am attaching a screenshot for clarity.
Using XCode 8.2.1, Swift 3, IGChart is the only third-party framework in the application
Hi Michael,
This is a really tough question to answer only from the information provided. By looking at your post and the screen shot, you're possibly following old Swift third party framework usage through use of the bridging header. NucliOS supports modules, meaning you should be able to take it out of the bridging header and use 'import IGChart' at the top of your Swift source. I've attached a small Swift sample using the IGGaugeView to demonstrate this usage.
I put the reference in the Bridging Header trying to solve the warning issue. With or without the reference in the bridging header I still get all the warnings. I did a clean and then archive and the warning appear to have gone away. One warning I always have no matter what is:
ld: warning: Some object files have incompatible Objective-C category definitions. Some category metadata may be lost. All files containing Objective-C categories should be built using the same compiler.
Any ideas on how I can make this go away? My OCD really wants this warning to be resolved :)
Sorry for the delayed response. Our framework shouldn't have any categories, but if you're using a few Swift extensions set all static methods and variables to @nonobj. In an upcoming release we'll try to get rid of those 34 warnings that can occasionally pop up from our framework.
I am using XCode 8.2.1 and the project is in Swift 3 targeting iOS 10.2.1. Infragistics is the only 3rd Party library I am using.