[TIMOB-20373] Hyperloop: Apps being rejected by Apple because of using private API's
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-03-25T14:48:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.4.0 |
Components | Hyperloop |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2016-02-09T09:13:42.000+0000 |
Updated | 2016-07-14T21:18:13.000+0000 |
Description
We received a community note that Titanium Mobile applications using the Hyperloop module being rejected by Apple during review because of the usage of private API symbols e.g.
_JSSynchronousGarbageCollectForDebugging
.
As we clearly state that Hyperloop should not be used in production, yet, it's no critical issue, but should be faced in the 6.0.0 timeline. Original comment:
{quote}
just tried to submit an app to Testflight. the app uses hyperloop. binary got uploaded but a message from Apple says: "Non-public API usage: The app references non-public symbols in: _JSSynchronousGarbageCollectForDebugging"
I found references to _JSSynchronousGarbageCollectForDebugging in libhyperloop-jscore.a and libhyperloop-ticora.a
I used the hyperloop model and plugin as available on github:
https://github.com/appcelerator/hyperloop-examples (version 1.0.1) and SDK 5.2.0.v20160114021251
{quote}
Reported by [~ludolphus] in the TiSlack channel.
this was also in the email from Apple: bq. 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.
Hi [~ludolphus], can you please try the version [1.1.1](https://www.dropbox.com/s/xv6ith72m0jfkf7/hyperloop-1.1.1.zip?dl=0) which should resolve the submission error as well. If everything works, we will update the hyperloop-examples repository as well as labs. Thank you!
Hi Hans, thanks for this build. I've uploaded an app and waiting for a reaction from Apple. I'll let you know as soon as I here back from them.
The test app uploaded successfully and is now waiting for TestFlight beta approval. With the previous version of Hyperloop I did not get to this stage, so I think build 1.1.1 is no longer using private API's. Will let you know if anything else concerning this is reported back by Apple.
app got rejected, but not because of anything related to this ticket. So as far as I can see v1.1.1 of the Hyperloop module fixes the private API issue.
app got approved for testflight beta yesterday evening and is now in the hands of a few beta testers. good to go!
Closing ticket as fixed as per above comments. Please reopen if you encounter this issue again.