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

CLI: Using XCode to run app on device won't work

    Details

      Description

      use xcode a lot to debug on device. I need this especially when i use motion sensors, gps ....
      Since the integration of node as the build system, i am facing quite a problem, XCode wont correctly launch the app on my device.
      I think that what s really happening is that the app package is not correctly done an maybe even not correctly copied

      remove the app from your device
      clean

      • build in ti studio
      • launch the xcode project
      • run on device Then you get this error

      [DEBUG] Loading: /var/mobile/Applications/92E009DA-982E-4BED-8857-525A93A84EE0/Pif Paf.app/app.js, Resource: app_js [ERROR] Error loading path: file://localhost/var/mobile/Applications/92E009DA-982E-4BED-8857-525A93A84EE0/Pif%20Paf.app/app.js, Error Domain=NSCocoaErrorDomain Code=260 "The operation couldn’t be completed. (Cocoa error 260.)" UserInfo=0x522b730 {NSFilePath=/var/mobile/Applications/92E009DA-982E-4BED-8857-525A93A84EE0/Pif Paf.app/app.js, NSUnderlyingError=0x522d850 "The operation couldn’t be completed. No such file or directory"} [ERROR] Script Error = Could not find the file app.js. 
      

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              farfromrefuge Martin Guillon
            • Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code