Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27279] iOS: App rejected when using Swift module

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2019-08-28T22:48:59.000+0000
Affected Version/sRelease 8.1.0
Fix Version/sRelease 8.1.1
ComponentsiOS
Labelsn/a
ReporterJan Vennemann
AssigneeJan Vennemann
Created2019-07-26T11:49:24.000+0000
Updated2019-08-28T22:48:59.000+0000

Description

We have received multiple reports that using Swift based modules will result in an App Store rejection with the following reason: Invalid bundle - A nested bundle contains simulator platform listed in CFBundleSupportedPlatforms Info.plist key Also see https://github.com/appcelerator-modules/titanium-onboarding/issues/6

Comments

  1. Carlos Henrique Zinato 2019-07-26

    Just submitted an iOS app to the App Store with a Swift module and everything seems fine after the fix mentioned in the issue on the repo. Can confirm that everything works on Simulator, Adhoc and Store builds. Waiting for the PR =) Thanks to @Jan Vennemann for investigating it
  2. Hans Knöchel 2019-07-26

    Pretty weird though. We have 3-4 internal modules that are also pure Swift based and they don't have this issue.
  3. Jan Vennemann 2019-08-07

    PR (master): https://github.com/appcelerator/titanium_mobile/pull/11119 PR (8_1_X): https://github.com/appcelerator/titanium_mobile/pull/11120
  4. Keerthi Mahalingam 2019-08-23

    FR Passed. Waiting on Jenkins
  5. Jan Vennemann 2019-08-28

    8_3_X PR: https://github.com/appcelerator/titanium_mobile/pull/11185 Jenkins build for 8_1_X passed, triggered a new build for master which should now include the fixed tests.
  6. Christopher Williams 2019-08-28

    Merged to master, 8_1_X and 8_3_X
  7. Keerthi Mahalingam 2019-08-28

    Verified the Fix on sdk 8.3.0.v20190828100616,8.2.0.v20190828134315 and 8.1.1.v20190828100656. Works as Expected.Closing Test Environment:
       Name                        = Mac OS X
         Version                     = 10.14.5
         Architecture                = 64bit
       Node.js
         Node.js Version             = 10.16.2
         npm Version                 = 6.9.0
       Titanium CLI
         CLI Version                 = 5.2.1
       Titanium SDK
         SDK Version                 = 8.3.0.v20190828100616,8.2.0.v20190828134315 and 8.1.1.v20190828100656
       

JSON Source