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

iOS: "appc run" wrongly edits a Titanium SDK installed file causing studio to beachball and rebuild its workspace


    • Sprint:
      2019 Sprint 11, 2019 Sprint 12


      Every time you click "Run" in Appcelator Studio to the iOS simulator, the IDE will beachball while rebuilding the workspace once the built app is launched in the simulator. The IDE can block for 5-60 seconds depending on the machine. While beachballing, the IDE cannot be used. Nor can you view anything being logged by the app.
      (Studio always beachballs for 1 minute for me.)

      The CLI is changing the following Titanium SDK file whenever you do an appc run to the iOS Simulator.


      Appcelerator Studio monitors for any Titanium SDK changes under the below directory. If at least 1 file is added/changed/deleted under this directory, then the IDE will "Rebuild the Workspace". The above file change is triggering this behavior for iOS simulator builds.

      ~/Library/Application Support/Titanium/mobilesdk

      You can monitor file tree changes with the below node.js script. You'll need to change the below path to your equivalent SDK version folder that you plan on building with (don't forget to change <UserName in path) and then run it in the terminal via the node command line tool.

      var fs = require("fs");
      var folderPath = "/Users/<UserName>/Library/Application Support/Titanium/mobilesdk/osx/8.1.0";
      fs.watch(folderPath, { recursive: true }, function(eventType, fileName) {
      	console.log("- [" + eventType + "] " + fileName);




            • Assignee:
              eharris Ewan Harris
              jquick Joshua Quick
              Satyam Sekhri
            • Watchers:
              5 Start watching this issue


              • Created:

                Backbone Issue Sync

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

                  Git Integration