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

Hyperloop: iOS - Exclude CocoaPods products from being removed

    Details

      Description

      In TIMOB-24057 the output directory for built CocoaPods products was changed. This introduced a regression with sequential builds. The build.ios.removeFiles hook deletes files from the iOS build directory that were not previously unmarked with unmarkBuildDirFile. The CocoaPods libraries need to be explicitly unmarked so they won't get deleted during this hook.

      Steps to reproduce the behavior
      1. Create a new Hyperloop enabled project or use the hyperloop-examples project
      2. Make sure the build dir is clean by either deleting it or running appc ti clean
      3. Build the project with appc run -p ios
      4. Re-run the build again

      Expected behavior
      Able to successfully run subsequent builds

      Actual behavior
      The build fails due to missing libraries during linking

      [TRACE] ld: library not found for -lGLCalendarView
      [TRACE] clang: error: linker command failed with exit code 1 (use -v to see invocation)
      [ERROR] ** BUILD FAILED **
      [ERROR] The following build commands failed:
      [ERROR]         Ld build/Products/Debug-iphonesimulator/Hyperloop_Sample.app/Hyperloop_Sample normal x86_64
      [ERROR] (1 failure)
      

        Attachments

          Activity

            People

            • Assignee:
              jvennemann Jan Vennemann
              Reporter:
              jvennemann Jan Vennemann
              Reviewer:
              Hans Knöchel
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code