You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our app received an almost identical rejection earlier this week after a significantly longer than normal (over a week) review process.
Problem Description:
Recently Apple review team started to disallow publishing iOS apps built with AIR to the App Store with the following statement:
Your app uses or references the following non-public APIs:
_IOPSCopyPowerSourcesInfo
_IOPSCopyPowerSourcesList
_IOPSGetPowerSourceDescription
The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.
Continuing to use or conceal non-public APIs in future submissions of this app may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store.
Analysis of the hex contents of the packed IPA file reveals that those methods are at least referenced somewhere in the contents. I was also able to locate names of those functions in the libRuntimeHMAOT.arm-air.a file located in lib\aot\lib folder of AIR SDK.
Possible reason for the problem is that the IOKit itself is supported in both macOS and iOS SDKs, but the functions IOPSCopyPowerSourcesInfo, IOPSCopyPowerSourcesList, IOPSGetPowerSourceDescription are marked as macOS-only.
Our app received an almost identical rejection earlier this week after a significantly longer than normal (over a week) review process.
Problem Description:
Recently Apple review team started to disallow publishing iOS apps built with AIR to the App Store with the following statement:
Your app uses or references the following non-public APIs:
_IOPSCopyPowerSourcesInfo
_IOPSCopyPowerSourcesList
_IOPSGetPowerSourceDescription
The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.
Continuing to use or conceal non-public APIs in future submissions of this app may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store.
Analysis of the hex contents of the packed IPA file reveals that those methods are at least referenced somewhere in the contents. I was also able to locate names of those functions in the libRuntimeHMAOT.arm-air.a file located in lib\aot\lib folder of AIR SDK.
Possible reason for the problem is that the IOKit itself is supported in both macOS and iOS SDKs, but the functions IOPSCopyPowerSourcesInfo, IOPSCopyPowerSourcesList, IOPSGetPowerSourceDescription are marked as macOS-only.
https://developer.apple.com/documentation/iokit
https://developer.apple.com/documentation/iokit/1523839-iopscopypowersourcesinfo
https://developer.apple.com/documentation/iokit/1523856-iopscopypowersourceslist
https://developer.apple.com/documentation/iokit/1523867-iopsgetpowersourcedescription
There are two forum threads about the problem, it seems to be widespread:
https://forums.adobe.com/thread/2472940
https://forums.adobe.com/thread/2472510
Steps to Reproduce:
Submit any IPA package build with AIR SDK to Apple AppStore verification.
Actual Result:
App fails verification with the aforementioned statement from Apple review team.
Expected Result:
App passes verification.
Any Workarounds:
None currently.
The text was updated successfully, but these errors were encountered: