Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26807

iOS: Missing files when running from Xcode project

    Details

    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 8.0.0
    • Fix Version/s: None
    • Component/s: None

      Description

      Until SDK 7.5.X one could open the Xcode project from a device build (-T device) and simply run it via Xcode. This was very useful for easy native debugging of both the SDK core and natives modules.

      Since SDK 8.0.0 this is now failing due to the core-js polyfills which are added to the app outside of our usual JS processing and thus are not part of the encrypted JS assets.

      Apart from the issue mentioned in this tickets this may also have a negative performance impact since i would assume loading the polyfills from the encrypted assets is probably faster then loading them all from file.

      EDIT: With latest master the issues with polyfills were resolved. Only the _index_.json used to resolve require paths is still required.

      As a workaround the following build phase can be added to the Xcode project which copies the required files into the app bundle:

      cp ${SRCROOT}/build/Products/Debug-iphoneos/${CONTENTS_FOLDER_PATH}/_index_.json ${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/_index_.json
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                jvennemann Jan Vennemann
              • Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-21019
                    Sync status:
                    PENDING
                    Last received:
                    Last sent:

                    Git Integration