Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20373] Hyperloop: Apps being rejected by Apple because of using private API's

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-03-25T14:48:27.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.4.0
ComponentsHyperloop
Labelsn/a
ReporterHans Knöchel
AssigneeHans Knöchel
Created2016-02-09T09:13:42.000+0000
Updated2016-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}

Comments

  1. Hans Knöchel 2016-02-09

    Reported by [~ludolphus] in the TiSlack channel.
  2. Steven van Loef 2016-02-09

    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.
  3. Hans Knöchel 2016-02-28

    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!
  4. Steven van Loef 2016-02-28

    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.
  5. Steven van Loef 2016-02-28

    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.
  6. Steven van Loef 2016-02-29

    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.
  7. Steven van Loef 2016-03-02

    app got approved for testflight beta yesterday evening and is now in the hands of a few beta testers. good to go!
  8. Wilson Luu 2016-07-14

    Closing ticket as fixed as per above comments. Please reopen if you encounter this issue again.

JSON Source