Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-7832

Could not find the file app.js, LiveView on device and analytics = false


    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Needs more info
    • Affects Version/s: Release 4.3.1, Release 4.3.3
    • Fix Version/s: None
    • Component/s: LiveView
    • Environment:


      App (with analytics set to false, and no Cloud services) won't start on iOS device with LiveView, it fails to start the app with "Could not find the file app.js". This happens from Ti SDK 5.0.0.GA to 5.0.2.GA, same project works with 4.1.0.GA (no issues).

      To reproduce, create a new Classic project (Single Window), activate LiveView build to device, this should work fine! Delete app from device, stop all LiveView sessions, run Clean..., set analytics property in tiapp.xml to false, build to device... FAIL. Repeat again, but set analytics to true, build again, FAIL... this time as well. After setting analytics to false, there is no turning back, you broke the project.

      Attachment, the test project.

      [ERROR] : Error loading path: file:///private/var/mobile/Containers/Bundle/Application/3A64C8D6-7D4D-4C0B-9657-BD6305821547/Sharli.app/app.js, Error Domain=NSCocoaErrorDomain Code=260 "Åtgärden kunde inte slutföras. (Cocoa fel 260.)" UserInfo=0x17406e780

      {NSFilePath=/private/var/mobile/Containers/Bundle/Application/3A64C8D6-7D4D-4C0B-9657-BD6305821547/Sharli.app/app.js, NSUnderlyingError=0x174057190 "Åtgärden kunde inte slutföras. No such file or directory"}

      [ERROR] : Script Error: Could not find the file app.js




            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              woodoo Michael Woode
            • Watchers:
              6 Start watching this issue


              • Created: