{ "id": "151147", "key": "AC-351", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-11-11T18:49:57.000+0000", "created": "2015-09-14T07:35:46.000+0000", "labels": [ "cli", "ios", "xcode" ], "versions": [], "issuelinks": [ { "id": "49059", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "151224", "key": "CLI-810", "fields": { "summary": "appc run -p ios is forcing rebuild for subsequent runs when there's no changes", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2015-11-11T18:49:57.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "Running a project using any of the iOS simulators seems to force a full rebuild (\"Invoking xcodebuild\") every time. This can have a big impact on development time - the issue has been noted on the community forums by several users: https://community.appcelerator.com/topic/2864/full-ios-builds-everytime-since-upgrade-to-4-1-0/5\r\n\r\nSteps to reproduce:\r\n# Using the latest CLI (5.0 or > 4.1.1). Create new Alloy Project\r\n# Run Project on an iOS Simulator\r\n# Allow project to build first time and run\r\n# Close app and 'Run' on same iOS Simulator\r\n\r\nThis should invoke xcodebuild every run, and never skips.\r\n\r\nIt appears that this showed up around 4.1.1 or 4.1.2 of the CLI. Reverting to the previous version stops the rebuilding: \"appc use 4.1.0\".", "attachment": [], "flagged": false, "summary": "Full iOS rebuild everytime since CLI Core 4.1.1/4.1.2", "creator": { "name": "kducros", "key": "kducros", "displayName": "Keith", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "kducros", "key": "kducros", "displayName": "Keith", "active": true, "timeZone": "Australia/Sydney" }, "environment": "Mac OS X 10.10.5 (MacBook Air (13-inch, Mid 2013))\r\nAppcelerator Studio, build: 4.3.0.201509031836\r\nAppcelerator Command-Line Interface, version 5.0.0-50", "comment": { "comments": [ { "id": "364525", "author": { "name": "animecyc", "key": "animecyc", "displayName": "Seth Benjamin", "active": true, "timeZone": "America/New_York" }, "body": "I'm also experiencing this issue.", "updateAuthor": { "name": "animecyc", "key": "animecyc", "displayName": "Seth Benjamin", "active": true, "timeZone": "America/New_York" }, "created": "2015-09-21T23:11:52.000+0000", "updated": "2015-09-21T23:11:52.000+0000" }, { "id": "365041", "author": { "name": "kducros", "key": "kducros", "displayName": "Keith", "active": true, "timeZone": "Australia/Sydney" }, "body": "Looks like this has been fixed by the new CLI 5.0.2 ( and related CLI-810 ) :) My projects are now skipping xcodebuild again\r\n\r\nhttps://wiki.appcelerator.org/display/guides2/Appcelerator+CLI+Release+Notes\r\n", "updateAuthor": { "name": "kducros", "key": "kducros", "displayName": "Keith", "active": true, "timeZone": "Australia/Sydney" }, "created": "2015-09-26T14:38:15.000+0000", "updated": "2015-09-26T14:38:15.000+0000" }, { "id": "365395", "author": { "name": "bobrosoft", "key": "bobrosoft", "displayName": "Vladimir Tolstikov", "active": true, "timeZone": "Europe/Moscow" }, "body": "Confirming the same issue even on CLI 5.0.2. Was fine on CLI 4.0.2. As I see, CLI removes \"build\" folder completely before build. \"Re-build Project on Launch\" flag is off.\r\n\r\n{code}\r\nAppcelerator Command-Line Interface, version 5.0.2\r\nCopyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.\r\nTRACE | __command__ search paths:\r\n[\r\n \"/Users/bobr/.appcelerator/install/5.0.2/package\",\r\n \"/Users/bobr/.appcelerator/install/5.0.2/package/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules\",\r\n \"/Applications/Appcelerator Studio/node_modules\",\r\n \"/Applications/node_modules\",\r\n \"/node_modules\",\r\n \"/Users/bobr/.appcelerator/.npm/lib/node_modules\"\r\n]\r\nDEBUG | [PLUGIN-LOAD] 1ms /Users/bobr/.appcelerator/install/5.0.2/package/appc.js\r\nDEBUG | [PLUGIN-LOAD] 596ms /Users/bobr/.appcelerator/install/5.0.2/package/node_modules/appc-cli-titanium/appc.js\r\nDEBUG | [PLUGIN-LOAD] 1ms /Users/bobr/.appcelerator/install/5.0.2/package/node_modules/arrow/appc.js\r\nlog level set to \"trace\"\r\nexecuting command \"run\"\r\nset environment to {\"registry\":\"https://software.appcelerator.com\",\"security\":\"https://security.appcelerator.com\",\"baseurl\":\"https://platform.appcelerator.com\"}\r\nchecking credentials for existing session\r\nAttempting to load session info from config file\r\ncheck if session is invalidated\r\nsession expiry 1443696639778 false\r\nArrow Cloud config file: /Users/bobr/.acs\r\nfound Arrow Cloud login { mid: 'e769460f56a37af122ff56ceac7e1049a5b10d3c',\r\n publishPort: 443,\r\n publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n username: '',\r\n cookie: [ 'connect.sid=s%3AwY5KJOy8a6oSxa1CDL6e1%2Btd.k02rzS6U5%2BbER0pLjwG2ttYj%2B%2BxKonUGPAwq8migzpk; Path=/; Expires=Thu, 01 Oct 2015 10:50:46 GMT; HttpOnly' ],\r\n defaultEP: \r\n { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com\r\nArrow Cloud cookie expiry [ 1443696646000 ]\r\nsession already loaded in opts.session\r\ngetCredentials() session:\r\n{\r\n \"ipaddress\": \"\",\r\n \"username\": \"\",\r\n \"password\": \"\",\r\n \"session\": \"\",\r\n \"nonce\": \"\",\r\n \"environment\": {\r\n \"name\": \"production\",\r\n \"isProduction\": true,\r\n \"acsBaseUrl\": \"https://api.cloud.appcelerator.com\",\r\n \"acsAuthBaseUrl\": \"https://secure-identity.cloud.appcelerator.com\",\r\n \"nodeACSEndpoint\": \"https://admin.cloudapp-enterprise.appcelerator.com\"\r\n },\r\n \"token\": \"\",\r\n \"fingerprint\": \"e769460f56a37af122ff56ceac7e1049a5b10d3c\",\r\n \"fingerprint_description\": \"Mac OSX Serial Number: C02NP2DTG5RN\",\r\n \"org_id\": 100029376,\r\n \"expiry\": 1443696639778\r\n}\r\nloading plugins for command \"run\"\r\nrun search paths:\r\n[\r\n \"/Users/bobr/.appcelerator/install/5.0.2/package\",\r\n \"/Users/bobr/.appcelerator/install/5.0.2/package/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules\",\r\n \"/Applications/Appcelerator Studio/node_modules\",\r\n \"/Applications/node_modules\",\r\n \"/node_modules\",\r\n \"/Users/bobr/.appcelerator/.npm/lib/node_modules\"\r\n]\r\n[PLUGIN-LOAD] 0ms /Users/bobr/.appcelerator/install/5.0.2/package/appc.js\r\n[PLUGIN-LOAD] 500ms /Users/bobr/.appcelerator/install/5.0.2/package/node_modules/appc-cli-titanium/appc.js\r\nrun plugin: /Users/bobr/.appcelerator/install/5.0.2/package/node_modules/appc-cli-titanium\r\n[PLUGIN-LOAD] 0ms /Users/bobr/.appcelerator/install/5.0.2/package/node_modules/arrow/appc.js\r\nrun plugin: /Users/bobr/.appcelerator/install/5.0.2/package/node_modules/arrow\r\nplugin \"arrow\" failed its \"when\" function check, skipping...\r\nloading plugin \"titanium\" for command \"run\" CLI options via function\r\nloading plugin \"titanium\" for command \"run\" CLI options via array\r\nDuplicate option \"colors\" for command \"run\", removing...\r\nexecuting command \"run\" with the following plugins:\r\n[\"titanium\"]\r\nTRACE | Attempting to load session info from config file\r\nTRACE | check if session is invalidated\r\nTRACE | session expiry 1443696639778 false\r\nTRACE | session already loaded in opts.session\r\nDEBUG | Titanium Downloads Last Checked: 1443610250350\r\nTRACE | \"/usr/local/bin/node\" \"/Users/bobr/.appcelerator/install/5.0.2/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium\" config -o json-object\r\nTRACE | Forcing clean: last build was under Titanium SDK version 4.0.0 and we're compiling for version 5.0.1.GA\r\nTRACE | \"/usr/local/bin/node\" \"/Users/bobr/.appcelerator/install/5.0.2/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium\" sdk -o json\r\nTRACE | checking for titanium, result:\r\n { activeSDK: '5.0.1.GA',\r\n defaultInstallLocation: '/Users/bobr/Library/Application Support/Titanium',\r\n installLocations: \r\n [ '/Users/bobr/Library/Application Support/Titanium',\r\n '/Library/Application Support/Titanium' ],\r\n installed: \r\n { '5.0.1.GA': '/Users/bobr/Library/Application Support/Titanium/mobilesdk/osx/5.0.1.GA',\r\n '4.0.0.GA': '/Users/bobr/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA' },\r\n sdks: \r\n { '5.0.1.GA': \r\n { name: '5.0.1.GA',\r\n manifest: [Object],\r\n path: '/Users/bobr/Library/Application Support/Titanium/mobilesdk/osx/5.0.1.GA' },\r\n '4.0.0.GA': \r\n { name: '4.0.0.GA',\r\n manifest: [Object],\r\n path: '/Users/bobr/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA' } } }\r\nTRACE | /usr/local/bin/node [ '/Users/bobr/.appcelerator/install/5.0.2/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium',\r\n 'build',\r\n '--platform',\r\n 'ios',\r\n '--log-level',\r\n 'trace',\r\n '--sdk',\r\n '4.0.0.GA',\r\n '--project-dir',\r\n '/Users/bobr/Documents/My/Work/cleverbug/repos/app',\r\n '--target',\r\n 'simulator',\r\n '--ios-version',\r\n '8.4',\r\n '--device-family',\r\n 'universal',\r\n '--deploy-type',\r\n 'development',\r\n '--sim-type',\r\n 'iphone',\r\n '--sim-version',\r\n '8.1',\r\n '--device-id',\r\n '57EE08EB-F764-4A54-9A3C-258E2B2021B1',\r\n '--skip-js-minify',\r\n '--no-colors',\r\n '--no-progress-bars',\r\n '--no-prompt',\r\n '--prompt-type',\r\n 'socket-bundle',\r\n '--prompt-port',\r\n '57836',\r\n '--plugin-paths',\r\n '/Users/bobr/.appcelerator/install/5.0.2/package/node_modules',\r\n '--config-file',\r\n '/var/folders/1t/7hm5mg3x29zbkk5s63p48nm40000gn/T/build-1443611192780.json',\r\n '--no-banner' ]\r\n9/30/2015, 3:06:39 PM\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.10\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 0.12.0\r\n npm Version = 2.12.1\r\nTitanium CLI\r\n CLI Version = 5.0.4\r\nTitanium SDK\r\n SDK Version = 4.0.0.GA\r\n SDK Path = /Users/bobr/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA\r\n Target Platform = iphone\r\nCommand\r\n /usr/local/bin/node /Users/bobr/.appcelerator/install/5.0.2/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium build --platform ios --log-level trace --sdk 4.0.0.GA --project-dir /Users/bobr/Documents/My/Work/cleverbug/repos/app --target simulator --ios-version 8.4 --device-family universal --deploy-type development --sim-type iphone --sim-version 8.1 --device-id 57EE08EB-F764-4A54-9A3C-258E2B2021B1 --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 57836 --plugin-paths /Users/bobr/.appcelerator/install/5.0.2/package/node_modules --config-file /var/folders/1t/7hm5mg3x29zbkk5s63p48nm40000gn/T/build-1443611192780.json --no-banner\r\n[INFO] : Found Titanium module id=facebook version=3.21 platform=iphone deploy-type=development path=/Users/bobr/Documents/My/Work/cleverbug/repos/app/modules/iphone/facebook/3.21\r\n[INFO] : Found better matching module id=facebook version=latest platform=ios,iphone deploy-type=development path=/Users/bobr/Library/Application Support/Titanium/modules/iphone/facebook/4.0.5\r\n[INFO] : Found Titanium module id=ti.viewshadow version=0.5 platform=iphone deploy-type=development path=/Users/bobr/Documents/My/Work/cleverbug/repos/app/modules/iphone/ti.viewshadow/0.5\r\n[INFO] : Found Titanium module id=ti.imagefactory version=1.2.0 platform=iphone deploy-type=development path=/Users/bobr/Documents/My/Work/cleverbug/repos/app/modules/iphone/ti.imagefactory/1.2.0\r\n[INFO] : Found Titanium module id=analytics.google version=3.1.0 platform=iphone deploy-type=development path=/Users/bobr/Documents/My/Work/cleverbug/repos/app/modules/iphone/analytics.google/3.1.0\r\n[INFO] : Found Titanium module id=bencoding.sms version=1.9.2 platform=iphone deploy-type=development path=/Users/bobr/Documents/My/Work/cleverbug/repos/app/modules/iphone/bencoding.sms/1.9.2\r\n[INFO] : Found Titanium module id=com.newrelic version=1.0 platform=iphone deploy-type=development path=/Users/bobr/Documents/My/Work/cleverbug/repos/app/modules/iphone/com.newrelic/1.0\r\n[INFO] : Found Titanium module id=bencoding.localnotify version=0.47 platform=iphone deploy-type=development path=/Users/bobr/Documents/My/Work/cleverbug/repos/app/modules/iphone/bencoding.localnotify/0.47\r\n[INFO] : Found Titanium module id=com.appsee version=2.1.2 platform=iphone deploy-type=development path=/Users/bobr/Documents/My/Work/cleverbug/repos/app/modules/iphone/com.appsee/2.1.2\r\n[INFO] : Found Titanium module id=ti.storekit version=3.1.2 platform=iphone deploy-type=development path=/Users/bobr/Documents/My/Work/cleverbug/repos/app/modules/iphone/ti.storekit/3.1.2\r\n[INFO] : Found Titanium module id=com.tapstream.sdk version=2.3 platform=iphone deploy-type=development path=/Users/bobr/Documents/My/Work/cleverbug/repos/app/modules/iphone/com.tapstream.sdk/2.3\r\n[INFO] : Found Titanium module id=com.cleverbug.utils version=1.0.0 platform=iphone deploy-type=development path=/Users/bobr/Documents/My/Work/cleverbug/repos/app/modules/iphone/com.cleverbug.utils/1.0.0\r\n[INFO] : Deploy type: development\r\n[INFO] : Building for target: simulator\r\n[INFO] : Building using iOS SDK: 8.4\r\n[INFO] : Building for iOS Simulator: iPhone 5s\r\n[INFO] : Building for device family: universal\r\n[INFO] : Minimum iOS version: 7.0\r\n[INFO] : Debugging disabled\r\n[INFO] : Profiler disabled\r\n[INFO] : Forcing rebuild: /Users/bobr/Documents/My/Work/cleverbug/repos/app/build/iphone/build-manifest.json does not exist\r\n[INFO] : Initiating prepare phase\r\n[INFO] : Performing full rebuild\r\n[INFO] : Copying Xcode iOS files\r\n[INFO] : Creating Xcode project directory: /Users/bobr/Documents/My/Work/cleverbug/repos/app/build/iphone/CleverCards: Photo Birthday Greeting Cards and eCards for Facebook.xcodeproj\r\n[INFO] : Writing Xcode project data file: Titanium.xcodeproj/project.pbxproj\r\n[INFO] : Writing Xcode project configuration: project.xcconfig\r\n[INFO] : Writing Xcode module configuration: module.xcconfig\r\n[INFO] : Copying custom Info.plist from project directory\r\n[INFO] : Checking for Splash Screen localization\r\n[INFO] : Found custom entitlements: /Users/bobr/Documents/My/Work/cleverbug/repos/app/Entitlements.plist\r\n[INFO] : Injecting native libraries into Xcode project file\r\n[INFO] : Forcing rebuild: ApplicationDefaults.m has changed since last build\r\n[INFO] : Writing application defaults: /Users/bobr/Documents/My/Work/cleverbug/repos/app/build/iphone/Classes/ApplicationDefaults.m\r\n[INFO] : Initiating Xcode pre-compile phase\r\n[INFO] : Processing JavaScript files\r\n[INFO] : Processing Titanium namespace resources\r\n[INFO] : Compiling localization files\r\n[INFO] : Checking for Splash Screen localization\r\n[INFO] : Invoking xcodebuild\r\n[INFO] : Finished building the application in 44s 588ms\r\n[INFO] : Launching iOS Simulator\r\n[INFO] : Project built successfully in 52s 474ms\r\n-- Start simulator log -------------------------------------------------------\r\n{code}", "updateAuthor": { "name": "bobrosoft", "key": "bobrosoft", "displayName": "Vladimir Tolstikov", "active": true, "timeZone": "Europe/Moscow" }, "created": "2015-09-30T11:15:37.000+0000", "updated": "2015-09-30T11:44:35.000+0000" }, { "id": "369531", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe couldn't reproduce this issue as a bug in our environment. Running a project in iOS simulator does not force a rebuild.\r\n\r\n*Testing Environment:*\r\nAppcelerator Command-Line Interface, version 5.0.4\r\nAppcelerator Studio, build: 4.3.3.201510212245\r\nTi SDK Version :5.0.2.GA\r\nNode.js Version :0.10.37\r\nMac OS X,Version :10.10.1\r\nJdk version : 1.7.0_80.jdk\r\nsimulator : iPhone 5(8.2)\r\n\r\n*Console Log:*\r\n{code}\r\n[INFO] : Invoking xcodebuild\r\n[INFO] : Finished building the application in 2m 47s 655ms\r\n[INFO] : Launching iOS Simulator\r\n[INFO] : Application started\r\n[INFO] : jebunclassic/1.0 (5.0.2.92c2265)\r\n{code}\r\n\r\n*Steps to test:*\r\n1. Create new Alloy Project\r\n2. Run Project on iOS Simulator\r\n3. Allow project to build first time and run\r\n4. Close the app and 'Run' on same iOS Simulator\r\n\r\nThanks.\r\n", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-10T09:27:39.000+0000", "updated": "2015-11-11T18:49:47.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }