binary rejected in app store

I am trying to upload my app to app store. First version is already there. My new version I added iOSLib because I need function only:

g.CGContext.BeginPath g.CGContext.AddArc (middlex, middley, raio/8, minpitch*PI/180, maxpitch*PI/180, false) g.CGContext.DrawPath (CoreGraphicsFramework.CGPathDrawingMode.Stroke)

But now binary is being rejected.

I already disabled “Include Function Names”, but no success.

This is the error I am receiving:

ITMS-90338: Non-public API usage - The app references non-public selectors in Ankylosis: loadView:, pointValue, rectValue, setInputFormat:forBus:, setNumberOfTouches:, sizeValue, valueWithPoint:, valueWithRect:, valueWithSize:. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/

ITMS-90683: Missing Purpose String in Info.plist - Your app’s code references one or more APIs that access sensitive user data. The app’s Info.plist file should contain a NSMicrophoneUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn’t contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).

Please help

iOSLib was abandoned years ago. It surprises me it is still working at all as Apple changed a lot of things in between.
You can simply add the three declares you need into your project and remove iOSLib. Instead of CGContext, make the declares address the iOSGraphics handle which is the same.

[code]Declare Sub CGContextBeginPath Lib “CoreGraphics.framework” (iOSGraphicsHandle as Ptr)

Declare Sub CGContextAddArc Lib “CoreGraphics.framework” (iOSGraphicsHandle as Ptr, x as cgfloat, y as cgfloat, radius as cgfloat, startAngle as cgfloat, EndAngle As cgfloat, ClockWise As integer)

Declare Sub CGContextDrawPath Lib “CoreGraphics.framework” (iOSGraphicsHandle as Ptr, DrawingMode as CGPathDrawingMode) // Or as Integer if you don’t want to add the modes as enumeration[/code]