{ "id": "103806", "key": "TIMOB-11599", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14622", "description": "2012 Sprint 23 JS", "name": "2012 Sprint 23 JS", "archived": true, "released": true, "releaseDate": "2012-11-19" }, { "id": "14623", "description": "2012 Sprint 23 JS", "name": "2012 Sprint 23", "archived": true, "released": true, "releaseDate": "2012-11-19" }, { "id": "14817", "description": "2013 Sprint 01 JS", "name": "2013 Sprint 01 JS", "archived": true, "released": true, "releaseDate": "2013-01-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-11T21:10:59.000+0000", "created": "2012-10-23T15:15:26.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cli", "device", "ios", "node", "qe-manualtest", "xcode" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-08-11T21:10:59.000+0000", "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" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": " use xcode a lot to debug on device. I need this especially when i use motion sensors, gps ....\r\nSince the integration of node as the build system, i am facing quite a problem, XCode wont correctly launch the app on my device.\r\nI think that what s really happening is that the app package is not correctly done an maybe even not correctly copied\r\n\r\nremove the app from your device\r\nclean\r\n* build in ti studio\r\n* launch the xcode project\r\n* run on device Then you get this error\r\n\r\n{code}\r\n[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. \r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: Using XCode to run app on device won't work", "creator": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "environment": "Titanium 3.1.0 master\r\nNode cli 3.0.9\r\nios sdk 6.0", "comment": { "comments": [ { "id": "226759", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3397\n3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3398", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-11-08T20:52:31.000+0000", "updated": "2012-11-08T20:52:31.000+0000" }, { "id": "233064", "author": { "name": "aaron@clearlyinnovative.com", "key": "aaron@clearlyinnovative.com", "displayName": "Aaron K. Saunders", "active": true, "timeZone": "America/New_York" }, "body": "I am still seeing this issue in 3.0, should I be using 3.1?", "updateAuthor": { "name": "aaron@clearlyinnovative.com", "key": "aaron@clearlyinnovative.com", "displayName": "Aaron K. Saunders", "active": true, "timeZone": "America/New_York" }, "created": "2013-01-03T13:29:38.000+0000", "updated": "2013-01-03T13:29:38.000+0000" }, { "id": "233652", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Looks like still happens. Please reverify", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-08T21:35:47.000+0000", "updated": "2013-01-08T21:35:47.000+0000" }, { "id": "233661", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Jeff We're seeing all sorts of interesting issues with building from Xcode for both simulator and device that I'm actively investigating. Not sure exactly what's going on yet.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-08T23:02:19.000+0000", "updated": "2013-01-08T23:02:19.000+0000" }, { "id": "233685", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Martin Could you please clarify: When you build in studio, are you building for \"run on device\" or for simulator? ", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-09T10:48:44.000+0000", "updated": "2013-01-09T10:48:44.000+0000" }, { "id": "233698", "author": { "name": "aaron@clearlyinnovative.com", "key": "aaron@clearlyinnovative.com", "displayName": "Aaron K. Saunders", "active": true, "timeZone": "America/New_York" }, "body": "@Eric I am seeing this problem when I attempt to build in xcode when I build to device. After further investigation I found that in fact, there is no app_js file present anywhere in the xcode project directory. If I manually copy the files to the appropriate directory everything works fine.\n\nI am working now, but later this evening I can rollback my environment to use the CLI and test on both devices and simulator", "updateAuthor": { "name": "aaron@clearlyinnovative.com", "key": "aaron@clearlyinnovative.com", "displayName": "Aaron K. Saunders", "active": true, "timeZone": "America/New_York" }, "created": "2013-01-09T11:07:04.000+0000", "updated": "2013-01-09T11:07:04.000+0000" }, { "id": "233713", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks Aaron. Understood. Since in Studio you have no Xcode project until you build, I was wondering if \"build to device\" or \"build to sim\" was used within studio prior to launching Xcode. There will be dramatic differences in the contents of the build folder in each case. \n\nI am working to reproduce this and we will be considering our options here once we know more.\n\nBTW: After speaking with Chris, we think the git commit attached to this bug was not meant to fix this so shouldn't have been attached.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-09T13:29:24.000+0000", "updated": "2013-01-09T13:29:24.000+0000" }, { "id": "233764", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "@Eric: I have been working with this \"bug\" for a few weeks now. Actually it s not a bug but more of a consequence of the new CLI.\r\nThis is what happens.\r\nLets say you start with a clean build\r\nWhen you build for simulator from tistudio, cli is actually called twice. The first time the xcode project is built then cli call xcodebuild which calls cli once again with a \"--xcode parameter\". \r\nFor the second cli call to know what target to build for etc, the first run creates a buildManifest with those variables.\r\nThe second run (which i ll call the xcode cli run) reads this manifest to get the correct settings (target, deploytype ... )\r\nAfter that if you launch the xcode project and try to run, only the xcode cli run is done which means that it will directly read the manifest, without taking in account the target you selected IN XCODE.\r\n\r\nSo in our example:\r\nYou build and run for the simulator in TiStudio, it works fine. In the meantime a buildManifest is created with target=simulator and deploytype=development\r\nThen if you run from xcode you get the same target/deploytype. \r\nSo why the \"no app_js\" error? Well simply because when using target=simulator only symlinks are created for the js files, which in the case of device will simply not work.\r\n\r\nThere is a workaround from TiStudio right now, which i am using every day. Simply clean/debug on device. Wait a little (or go to the end). Then if you run xcode project and run on device it will work. Well you'll have to cancel the debug alert but that s it.\r\nWhy does it work? because the buildManifest contains target=device\r\n\r\n@chris: Now about the right way to do it. I think the xcode cli run shouldn't rely on a \"buildManifest\" but on environment variable.\r\nSo when [called from CLI](https://github.com/appcelerator/titanium_mobile/blob/master/iphone/cli/commands/_build.js#L956) you could set the correct target and deploytype environment variables. Then when cli [wants to set those variables](https://github.com/appcelerator/titanium_mobile/blob/master/iphone/cli/commands/_build.js#L736) there are correctly set.\r\nThe great thing about this is that when run from xcode directly, those variables wont be set and thus you can add a test and set those variables depending on XCODE ENV.\r\n ", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-01-09T23:57:17.000+0000", "updated": "2013-01-09T23:57:17.000+0000" }, { "id": "233765", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Martin, you're dead on. We worked all afternoon/evening to fix this and we think we got it. Feel free to try the following pull request and see if it works now for you. Whichever the result, please let me know.\n\nMaster pull request: https://github.com/appcelerator/titanium_mobile/pull/3691\n3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3692", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-10T00:09:17.000+0000", "updated": "2013-01-10T00:09:17.000+0000" }, { "id": "233766", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "@chris: do you think this pull request is gonna be merged soon? I mean can i wait to make a merge from master or do you want me to test it directly from your branch?", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-01-10T00:21:28.000+0000", "updated": "2013-01-10T00:21:28.000+0000" }, { "id": "233767", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Martin, yeah, I hope it gets merged soon, but I need to track down people that have the problem, get them to try my fix, and sign off on it before it gets merged.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-10T00:25:27.000+0000", "updated": "2013-01-10T00:25:27.000+0000" }, { "id": "234537", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "I am sorry to tell you that the fix did not fix it.\r\n\r\nReset your simulator\r\nClean everything\r\nrun(not debug!) on simulator. It works\r\n\r\nNow open the built xcode project.\r\nChange the simulator target To make sure we build a new app on the simulator\r\n\r\nYou will get the no app.js error", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-01-16T03:03:15.000+0000", "updated": "2013-01-16T03:03:15.000+0000" }, { "id": "234542", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "It s even wrse than that. i Cant even debug anymore in eclipse :s", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-01-16T03:27:55.000+0000", "updated": "2013-01-16T03:27:55.000+0000" }, { "id": "234543", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "It s even wrse than that. i Cant even debug anymore in eclipse :s", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-01-16T03:27:58.000+0000", "updated": "2013-01-16T03:27:58.000+0000" }, { "id": "234546", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Martin, I'll take a peek at this again. There could be something funky with your setup.\n\nI wonder if you're seeing what I was seeing where building from Xcode for different simulator versions would break (app_js not found) due to symlinks not being properly copied. I'm not even sure how to consistently reproduce it or debug it.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-16T03:46:37.000+0000", "updated": "2013-01-16T03:46:37.000+0000" }, { "id": "234550", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "@Chris: yes i am investigating my setup right now.\r\nFor the app_js yes that s the problem i am seeing when running from xcode.\r\nAs i mentionned as i choose a different ios sdk simu from xcode, the compilation has to recreate the app dir. What i am seeing is that no sym link is created.\r\n\r\nNow for the debugger not working anymore, i think it s related to another commit:\r\nhttps://github.com/appcelerator/titanium_mobile/commit/63a8f65fac6a8149ff841f72c300698e2d24524a", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-01-16T04:52:50.000+0000", "updated": "2013-01-16T04:52:50.000+0000" }, { "id": "234551", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-01-16T05:03:16.000+0000", "updated": "2013-01-16T05:09:51.000+0000" }, { "id": "234696", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Martin, the debugger isn't working and you think it has to do with the localized splash screen change from last week? How can this be?\n\nBTW, I just merged a fix for when the CLI builds iOS Simulator apps in the copy files function where it would copy relative symlinks and now it will recreate the symlink using a full path. That might solve the Simulator issue.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-17T00:38:27.000+0000", "updated": "2013-01-17T00:38:27.000+0000" }, { "id": "234697", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "@Chris: yes i am sure actually. If you look at the commit you'll that the commit suppress debugger.plist from the copy bundle ressources. I fixed it in my branch. Actually i dont really get the modification to the xcode project related to the localised splash screen.\r\n\r\nThanks for the pull request. Will try it", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-01-17T01:15:28.000+0000", "updated": "2013-01-17T01:15:28.000+0000" }, { "id": "234699", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Martin, what commit are you referring to? What did you do to fix it? What file?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-17T01:19:30.000+0000", "updated": "2013-01-17T01:19:30.000+0000" }, { "id": "234700", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Martin, oooooooooooooh. Nevermind. I totally got you. We'll get this fixed right away.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-17T01:26:25.000+0000", "updated": "2013-01-17T01:26:25.000+0000" }, { "id": "234701", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "@Chris:\r\nhttps://github.com/appcelerator/titanium_mobile/commit/1eb9914025a69ea6c3414bc09240f195173e59de#L1L903\r\nlook at this line, it deletes debugger.plist.\r\nIn my branch i actually reverted all modifications to \"iphone/iphone/Titanium.xcodeproj/project.pbxproj\". Even the one related to Default.png. I need to fix it as only Default.png needs to be removed from the xcode proj as it will be handled by cli.\r\nI cant show my commit as it is drown in a merge :s sorry", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-01-17T01:26:32.000+0000", "updated": "2013-01-17T01:26:32.000+0000" }, { "id": "234704", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Don't worry about the diff. I know what we need to do. We'll have this sorted out tomorrow. I wonder if we need the stylesheet.plist in there too or is that safe to remove.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-17T01:32:10.000+0000", "updated": "2013-01-17T01:32:10.000+0000" }, { "id": "234705", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "i think you need to keep it in the xcode proj. Before my fix there was no stylesheet.plist either", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-01-17T01:35:15.000+0000", "updated": "2013-01-17T01:35:15.000+0000" }, { "id": "235004", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "All debugger related discussion in this issue has moved to the appropriate ticket: TIMOB-12313.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-18T23:38:30.000+0000", "updated": "2013-01-18T23:38:30.000+0000" }, { "id": "235324", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Using Xcode, application executed successfully on iphone 5 with SDK version : 3.1.0.v20130111163212.\nBut for SDK version 3.0.2.v20130121140213, build fails in studio as bug is logged as TIMOB-12358.\n\n\n\n", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-01-22T11:00:11.000+0000", "updated": "2013-01-22T11:00:11.000+0000" }, { "id": "235398", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed.\nTested and verified with:\nMac OSX 10.8.2 Mountain Lion\nXcode Version 4.5.2\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK, build: 3.0.2.v20130122123204\nTitanium SDK, build: 3.1.0.v20130114171802\niPhone 6.0 Simulator\niPhone4S 5.0.1\n\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-22T21:54:50.000+0000", "updated": "2013-01-22T21:54:50.000+0000" }, { "id": "235456", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "@Olga: i am sorry but i dont think it is. As explained above i still got errors in certains situations.\r\nThough i think i finally fixed it for good in a my branch\r\nhttps://github.com/Akylas/titanium_mobile/commit/ddc24830bf45af87f1742e6d60b749889569211e\r\n\r\n@chris:If you are ok with it, i ll create a pull request", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-01-23T08:14:40.000+0000", "updated": "2013-01-23T08:14:40.000+0000" }, { "id": "235457", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Martin, give me this week to review your changes. I'll be working on TIMOB-12348 this week and it's all about getting Titanium to work from Xcode. Seems like a good time to investigate and fix these issues.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-23T08:18:10.000+0000", "updated": "2013-01-23T08:18:10.000+0000" }, { "id": "235458", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "@Chris: no problem, take your time. For my commit(possible pull request) i just want to mention that the idea is to fully separate the build FROM xcode inside a if scope, and not to have a test per variable. Makes this clearer. Also in the build FROM xcode, the buildManifest shouldn't be used at all.\r\n", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-01-23T08:23:49.000+0000", "updated": "2013-01-23T08:23:49.000+0000" }, { "id": "235459", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Martin, agreed, I've been trying to reduce dependency on the buildManifest.json. It has caused more problems than I can count. Appreciate your help on this.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-23T08:52:51.000+0000", "updated": "2013-01-23T08:52:51.000+0000" }, { "id": "235858", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Martin, the commit you shared is good stuff. I'm doing major surgery to the iOS build command and have updated the code to reflect what you did. This hopefully will work better for you. Thanks!", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-25T09:36:00.000+0000", "updated": "2013-01-25T09:36:00.000+0000" }, { "id": "235859", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "@Chris: thanks a lot. Much appreciated. I only have one problem left now.\r\nIf running on the sim from xcode, symlinks are not created. I remember you telling me about fixing something about this. Was it in the cli node module or in titanium_mobile sources? (dont really want to update node cli module if not really necessary).\r\n\r\nThanks", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-01-25T09:41:22.000+0000", "updated": "2013-01-25T09:41:22.000+0000" }, { "id": "235860", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Martin, I'm working on the iOS build script a bunch this week. Actually, I found a few more issues when building directly from Xcode. i18n files and JSS are never generated during Xcode builds [TIMOB-12348]. Give me a couple days, then you can take a peek at the latest and greatest.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-25T09:48:03.000+0000", "updated": "2013-01-25T09:48:03.000+0000" }, { "id": "235861", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "@chris: take your time. It s gonna be an android week for me anyway ;) Still you had me hooked, wil take a peek for sure ;)", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-01-25T10:22:28.000+0000", "updated": "2013-01-25T10:22:28.000+0000" }, { "id": "236552", "author": { "name": "mikematan", "key": "mikematan", "displayName": "Mike Matan", "active": true, "timeZone": "America/New_York" }, "body": "Hi, I've also encountered this problem, it's just as Martin describes it. I do ios module dev and debugging on device is often essential, looking forward to a getting a fix. Confirming steps to reproduce:\r\n\r\nCreate fresh mobile project in titanium studio (build id 3.0.1.201212181159)\r\nExecute on iphone simulator\r\nOpen project in xcode by going to project root directory and executing command line statement: open build/iphone/ProjectName.xcodeproj/\r\nAttempt to run on device from xcode.\r\nGet Application Error: \"Could not find the file app.js\"\r\nConsole error message: [ERROR] Script Error = Could not find the file app.js.\r\n", "updateAuthor": { "name": "mikematan", "key": "mikematan", "displayName": "Mike Matan", "active": true, "timeZone": "America/New_York" }, "created": "2013-01-30T03:41:17.000+0000", "updated": "2013-01-30T03:41:17.000+0000" } ], "maxResults": 36, "total": 36, "startAt": 0 } } }