I tried weak linking PencilKit in 3 different ways:
- Via target > Frameworks > Add PencilKit > Do Not Embed
- By weak linking using "-weak_framework PencilKit" in other linker flags
- By linking using "-framework PencilKit" in other linker flags
Each build was rejected using ITMS-90338: Non-public API usage.
The project is in Objective-C. I also re-wrote the view controller that uses PencilKit into Swift and got the same error since that also bridges to ObjC land.
Has anyone successfully uploaded an archive to AppStoreConnect that is also linked with PencilKit and has a lower deployment target than iOS 13.0?