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

Hyperloop: iOS - Only add CocoaPods scripts if they are needed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Hyperloop 4.0.2
    • Fix Version/s: Hyperloop 4.0.4
    • Component/s: Hyperloop
    • Labels:
    • Environment:

      Description

      When trying to run the "hyperloop-examples" repo (https://github.com/appcelerator/hyperloop-examples) an error shows up because the resources.sh folder (Pods-Hyperloop_Sample-resources.sh) was not created.

      I didn't run Cocopods independently, the Pods folder was generates by Studio.

      • Error:
        [TRACE] : /Users/myuser/Appcelerator_Studio_Workspace/hyperloop-examples-master/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Script-000000000000000000000042.sh: line 2: /Users/myuser/Appcelerator_Studio_Workspace/hyperloop-examples-master/Pods/Target Support Files/Pods-Hyperloop_Sample/Pods-Hyperloop_Sample-resources.sh: No such file or directory\
        [TRACE] : Command PhaseScriptExecution failed with a nonzero exit code\
        \pard\pardeftab720\partightenfactor0
        \cf4 [ERROR] : ** BUILD FAILED **\cf0 \
        \cf4 [ERROR] : The following build commands failed:\cf0 \
        \cf4 [ERROR] : PhaseScriptExecution [CP]
        Copy
        Pods
        Resources /Users/myuser/Appcelerator_Studio_Workspace/hyperloop-examples-master/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Script-000000000000000000000042.sh\cf0 \
        \cf4 [ERROR] : (1 failure)\cf0 \
        }
      • That's the code inside hyperloop-examples-master/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Script-000000000000000000000042.sh::
        #!/bin/sh
        "$ {PODS_ROOT}

        /Target Support Files/Pods-Hyperloop_Sample/Pods-Hyperloop_Sample-resources.sh"

      • The attached image shows that the resources.sh file is missing.

        Attachments

          Activity

            People

            • Assignee:
              jvennemann Jan Vennemann
              Reporter:
              gmst Gabriel S.
              Reviewer:
              Vijay Singh
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code