{ "id": "152424", "key": "TIMOB-19818", "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": [], "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2018-04-30T18:06:36.000+0000", "created": "2015-10-28T10:49:42.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "16904", "description": "Release 5.0.2", "name": "Release 5.0.2", "archived": true, "released": true, "releaseDate": "2015-10-01" } ], "issuelinks": [ { "id": "50568", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "154516", "key": "TIMOB-20273", "fields": { "summary": "iOS: DB error after adhoc export in Xcode", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "50569", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "154721", "key": "DAEMON-20", "fields": { "summary": "Titanium iOS build implementation", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-08-06T17:43:14.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Several users have reported on the Q&A that when packaging a project for Adhoc/Enterprise via Xcode the assets are not included or at least do not show in ImageViews etc.\r\n\r\nIt works fine if you build from Studio/CLI or if you build to device/sim from Xcode instead of packaging for Adhoc/Enterprise.\r\n\r\nhttps://community.appcelerator.com/topic/3426/images-not-loading-xcode-7-appc-5-0/3\r\nhttp://stackoverflow.com/questions/34830359/appcelerator-application-throwing-app-js-not-found-on-device/34875663#34875663\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS: Assets missing when building (ad-hoc) from Xcode", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "hollyerp", "key": "hollyerp", "displayName": "Paul Hollyer", "active": true, "timeZone": "Europe/London" }, "environment": "OSX 10.10.5\r\niOS 9.0.0\r\nXcode 7.1, 7.0, 6.3\r\nSDK 5.0.2.GA, 5.0.3 (CI), 5.1.0.v20150925210433\r\nStudio 4.3.2.20151002043, 4.3.0.201509151348\r\nCLI Core 5.0.2", "closedSprints": [ { "id": 1001, "state": "closed", "name": "2018 Sprint 04 Tooling", "startDate": "2018-02-12T04:25:16.870Z", "endDate": "2018-02-26T04:25:00.000Z", "completeDate": "2018-02-26T19:38:13.619Z", "originBoardId": 219 } ], "comment": { "comments": [ { "id": "368110", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "/CC [~hollyerp], [~saurabhgaur_rapidsoft] please add information that would help here instead on the Q&A.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-10-28T10:51:29.000+0000", "updated": "2015-10-28T10:51:29.000+0000" }, { "id": "368275", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Also on G+:\r\nhttps://plus.google.com/u/0/112609812701821579988/posts/RZ9Yz7TN6Hb?cfem=1", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-10-29T10:13:05.000+0000", "updated": "2015-10-29T10:13:05.000+0000" }, { "id": "368281", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Before investigating further, am i right to say this issue only happens if you try to archive via Xcode using the appc-created Xcode project in the build folder? If so, and you are having error for missing files, can you try this?\r\n\r\n1. Don't clean in Xcode.\r\n2. Xcode->Preferences\r\n3. Locations->Derived Data->Advanced\r\n4. Select Custom->Relative to Workspace\r\n5. Done.\r\n\r\nNow go ahead to archive or build or run. Remember, don't clean, otherwise you have to *appc run* again to build the project. And also remember to revert back this change once you are done with the Xcode project and wish to go back to do things in Titanium.\r\n\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-29T11:05:55.000+0000", "updated": "2015-10-29T11:05:55.000+0000" }, { "id": "368284", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "I'm pretty sure that is the case. Is it something we can fix?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-10-29T11:22:19.000+0000", "updated": "2015-10-29T11:22:19.000+0000" }, { "id": "369087", "author": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "body": "I'm NOT sure I've got exactly the same issue - but it appears similar enough to document here: I cannot see some of my local images in my app after I switch from Ti SDK *4.1.1 to 5.0.2*, but I am running it in the SIMULATOR. (yeas I have cleaned the build directory)\r\n\r\nWhat I find surprising is that some(?), but not all, of the images in the {{./app/assets/}} folder seem to be missing in the build, and they are not mentioned in the build log output either:\r\n\r\n*png in ./app/assets/*\r\n{noformat}\r\n-rw-r--r-- 1 conny staff 258 5 Sep 21:59 app/assets/black_1x1.png\r\n-rw-r--r-- 1 conny staff 8859 4 Sep 18:47 app/assets/ppp_icon.png\r\n-rw-r--r-- 1 conny staff 9079 21 Sep 07:04 app/assets/ppp_icon_neg.png\r\n-rw-r--r-- 1 conny staff 295 5 Sep 22:01 app/assets/redLine@2x.png\r\n-rw-r--r--@ 1 conny staff 295 5 Sep 21:53 app/assets/red_1x1.png\r\n{noformat}\r\n\r\n*png in ./build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/*\r\n{noformat}\r\n-rw-r--r-- 1 conny staff 1193 5 Nov 19:30 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/AppIcon29x29@2x.png\r\n-rw-r--r-- 1 conny staff 1193 5 Nov 19:30 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/AppIcon29x29@2x~ipad.png\r\n-rw-r--r-- 1 conny staff 1935 5 Nov 19:30 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/AppIcon29x29@3x.png\r\n-rw-r--r-- 1 conny staff 1631 5 Nov 19:30 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/AppIcon40x40@2x.png\r\n-rw-r--r-- 1 conny staff 1631 5 Nov 19:30 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/AppIcon40x40@2x~ipad.png\r\n-rw-r--r-- 1 conny staff 2531 5 Nov 19:30 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/AppIcon40x40@3x.png\r\n-rw-r--r-- 1 conny staff 2531 5 Nov 19:30 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/AppIcon60x60@2x.png\r\n-rw-r--r-- 1 conny staff 3672 5 Nov 19:30 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/AppIcon60x60@3x.png\r\n-rw-r--r-- 1 conny staff 36661 5 Nov 19:30 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/LaunchImage-700-568h@2x.png\r\n-rw-r--r-- 1 conny staff 30414 5 Nov 19:30 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/LaunchImage-700@2x.png\r\n-rw-r--r-- 1 conny staff 44869 5 Nov 19:30 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/LaunchImage-800-667h@2x.png\r\n-rw-r--r-- 1 conny staff 91523 5 Nov 19:30 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/LaunchImage-800-Landscape-736h@3x.png\r\n-rw-r--r-- 1 conny staff 90042 5 Nov 19:30 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/LaunchImage-800-Portrait-736h@3x.png\r\n-rw-r--r-- 1 conny staff 258 5 Nov 19:28 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/black_1x1.png\r\n-rw-r--r-- 1 conny staff 295 5 Nov 19:28 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/redLine@2x.png\r\n-rw-r--r-- 1 conny staff 295 5 Nov 19:28 build/iphone/build/Products/Debug-iphonesimulator/MyApp.app/red_1x1.png\r\n{noformat}\r\n\r\nIn the above example, why isn't e.g. {{ppp_icon.png}} in the build but {{red_1x1.png}} is? (o_O)", "updateAuthor": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2015-11-05T12:52:34.000+0000", "updated": "2015-11-05T12:52:34.000+0000" }, { "id": "370339", "author": { "name": "c.fox@oput.net", "key": "c.fox@oput.net", "displayName": "Christopher.fox", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I found a solution for the problem. After archiving in XCode all resource files (images, fonts, sound files) were missing. This is how i solved the issue in two steps:\r\n\r\nStep 1: Grab resource files from debug ipa:\r\n\r\n* Build a debug version for your iPhone device.\r\n* After the app has successfully launched on your iPhone, navigate to the ipa file in the debug build folder. Click right on the file (or cmd-click) and choose to uncompress the file\r\n* In the extracted archive find the payload file. Also right click on the file (or cmd-click) and choose to show its contents.\r\n* You should now see your resource files and folders. Select all the required files and folders and copy them in some new folder.\r\n\r\nStep 2: Add files to XCode project\r\n\r\n* Open the build XCode project with XCode\r\n* In the left column right click (or cmd-click) on your project\r\n* Choose \"Add Files to [project name]\"\r\n* In the file dialog multiselect your files and folders you copied from the debug ipa in step 1\r\n* That's it. Now archive your product and submit it.", "updateAuthor": { "name": "c.fox@oput.net", "key": "c.fox@oput.net", "displayName": "Christopher.fox", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-16T12:23:30.000+0000", "updated": "2015-11-16T12:23:30.000+0000" }, { "id": "371058", "author": { "name": "khalilsarabey", "key": "khalilsarabey", "displayName": "Khalil Sarabey", "active": true, "timeZone": "Asia/Beirut" }, "body": "A little update since I've been struggling with this since the release of xcode 7.x.\r\nThis error only happens when you try to archive with xcode, even if you try to install the app on the device directly from xcode the same thing happens, but else than that everything is working as expected.\r\nWeirdly, when I tried Chee Kiat Ng's method, I got the nasty red screen with \"could not find the file app.js\"\r\n", "updateAuthor": { "name": "khalilsarabey", "key": "khalilsarabey", "displayName": "Khalil Sarabey", "active": true, "timeZone": "Asia/Beirut" }, "created": "2015-11-22T02:12:37.000+0000", "updated": "2015-11-22T02:12:37.000+0000" }, { "id": "375484", "author": { "name": "sdavenport", "key": "sdavenport", "displayName": "Scott Davenport", "active": true, "timeZone": "America/Havana" }, "body": "Sorry for the delay on this...makes sense to fix as soon as we can. ", "updateAuthor": { "name": "sdavenport", "key": "sdavenport", "displayName": "Scott Davenport", "active": true, "timeZone": "America/Havana" }, "created": "2016-01-29T02:51:02.000+0000", "updated": "2016-01-29T02:51:02.000+0000" }, { "id": "378374", "author": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, I'm not still able to workaround this issue (already updated Xcode Derived Data Preferences and tried to deploy on phone, but the app fires the \"app.js not found\" error). Environment: Titanium Sdk 5.2.0 and Xcode 7.2. Have you any suggestion? Tx", "updateAuthor": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-01T22:08:39.000+0000", "updated": "2016-03-01T22:08:39.000+0000" }, { "id": "387507", "author": { "name": "vaughan@lvc.co.uk", "key": "vaughan@lvc.co.uk", "displayName": "Vaughan Barwood", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I have been using this process for 3-4 years now and have only experienced this bug this week. I have tried a lot of work arounds but no joy until now. \r\n\r\nMy issue is trying to supply an xCode project to a client. Here is my fix:\r\n\r\n* Build your project via Studio for \"Distribute - Apple iTunes Store\" or \"Distribute - AD Hoc/Enterprise\"\r\n* Goto 'yourproject/build/iphone/' using Finder\r\n* If there is an 'assets' folder. Deletes it's contents. If there isn't create one (yourproject/build/iphone/assets')\r\n* Copy from your Titanium projects 'Resources' folder all JS files (keep any folder structures you have used to organise). Obviously include you app.js file.\r\n* Within the 'yourproject/build/iphone/lib' folder replace the alias's with the originals. These can be found by right clicking and selecting 'Show original'\r\n* Open yourproject/build/iphone/yourproject.xcodeproj in Xcode.\r\n* Build & run the project within Xcode\r\n\r\nNow it should build/run not only on your machine but also a teammates or clients.\r\n\r\nEDIT: Build your project via Studio for \"Distribute - Apple iTunes Store\" or \"Distribute - AD Hoc/Enterprise\"", "updateAuthor": { "name": "vaughan@lvc.co.uk", "key": "vaughan@lvc.co.uk", "displayName": "Vaughan Barwood", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-03T11:54:02.000+0000", "updated": "2016-06-03T15:36:20.000+0000" }, { "id": "388647", "author": { "name": "cillianoktw", "key": "cillianoktw", "displayName": "Cillian O'Keeffe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is there any update on this? The above steps do not work for us. This is a crippling bug and needs to be fixed ASAP.", "updateAuthor": { "name": "cillianoktw", "key": "cillianoktw", "displayName": "Cillian O'Keeffe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-20T14:36:11.000+0000", "updated": "2016-06-20T14:36:11.000+0000" }, { "id": "388651", "author": { "name": "vaughan@lvc.co.uk", "key": "vaughan@lvc.co.uk", "displayName": "Vaughan Barwood", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Cillian What are you exactly trying to achieve and what error are you getting? \r\n\r\nWe've been having to use quite a few work arounds for different scenarios.", "updateAuthor": { "name": "vaughan@lvc.co.uk", "key": "vaughan@lvc.co.uk", "displayName": "Vaughan Barwood", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-20T15:16:58.000+0000", "updated": "2016-06-20T15:16:58.000+0000" }, { "id": "388657", "author": { "name": "cillianoktw", "key": "cillianoktw", "displayName": "Cillian O'Keeffe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The issue I have is described in the initial caption:\r\n\r\n{quote} when packaging a project for Adhoc/Enterprise via Xcode the assets are not included or at least do not show in ImageViews etc.{quote}\r\n\r\nYour workaround above unfortunately does not work in my case. ", "updateAuthor": { "name": "cillianoktw", "key": "cillianoktw", "displayName": "Cillian O'Keeffe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-20T15:47:51.000+0000", "updated": "2016-06-20T15:47:51.000+0000" }, { "id": "388658", "author": { "name": "vaughan@lvc.co.uk", "key": "vaughan@lvc.co.uk", "displayName": "Vaughan Barwood", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If you follow my steps from above up until\r\n\"Open yourproject/build/iphone/yourproject.xcodeproj in Xcode.\"\r\n\r\nOnce opened click in the Menu goto File/Add files to \"project name\". Then navigate to your images/assets/fonts etc. Once added they should appear on the left hand side of xCode in the Project Navigator. \r\n\r\nNow assets should be included when published or Simulated.\r\n\r\n\r\n", "updateAuthor": { "name": "vaughan@lvc.co.uk", "key": "vaughan@lvc.co.uk", "displayName": "Vaughan Barwood", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-20T15:51:53.000+0000", "updated": "2016-06-20T15:52:00.000+0000" }, { "id": "390286", "author": { "name": "miniman42", "key": "miniman42", "displayName": "Greg", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Would really appreciate an update on this? The current workarounds do not lend themselves to an automated build process and are potentially very error prone. Please can this be prioritised for a patch release soon? ", "updateAuthor": { "name": "miniman42", "key": "miniman42", "displayName": "Greg", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-11T12:43:36.000+0000", "updated": "2016-07-11T12:43:36.000+0000" }, { "id": "391813", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "body": "here we are with another unresolved bug from Appcelerator.", "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-28T10:38:30.000+0000", "updated": "2016-07-28T10:38:30.000+0000" }, { "id": "391818", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "As far as I understood, it is no bug. Titanium projects are not meant to be opened in Xcode after being compiled, since the linking is done as part of the distribution process. Editing generated Xcode-projects should not be the best practice to follow, although you need to. In that case, the workaround to copy the assets to Xcode manually works.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-28T12:51:49.000+0000", "updated": "2016-07-28T12:51:49.000+0000" }, { "id": "391821", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~albertomarcone] I understand your frustration, but your comment does not add to the discussion.\r\n\r\nI've re-read all of the comments here again and want to confirm what people are asking for:\r\n\r\n1. If you want to do automated builds, use the CLI. It's what we do internally and recomment to others.\r\n2. If you want to give your XCode project to a client, you can follow the workaround noted by Vaughn.\r\n\r\nIs it you want #2 to be easier? Or is there another use case you are advocating for?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-28T13:56:02.000+0000", "updated": "2016-07-28T13:56:02.000+0000" }, { "id": "391823", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "body": "sorry about my rant but this is the kind of issue that makes you waste so much time and rethink of all of your life choices that led you to choose for this language.\r\n\r\nOne of our third-party library requires to run a script in the build phases, so it's not something that we do nor *want* to do.\r\n\r\nEventually copying the assets in the Xcode project fixed it indeed. Not something that we look forward to do every time there's a new update, but we'll do it since there are not other options.\r\n\r\nThank you ", "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-28T14:03:52.000+0000", "updated": "2016-07-28T14:03:52.000+0000" }, { "id": "391825", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "3. Using instruments to find memory leaks in core titanium_mobile code\r\n4. Using xcode debugger to get meaningful error messages in modules\r\n\r\n", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2016-07-28T14:12:59.000+0000", "updated": "2016-07-28T14:13:45.000+0000" }, { "id": "391827", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~sfeather] Thank you. I assume you _could_ use the workaround for those two, but it's tedious?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-28T14:26:31.000+0000", "updated": "2016-07-28T14:26:31.000+0000" }, { "id": "391829", "author": { "name": "cillianoktw", "key": "cillianoktw", "displayName": "Cillian O'Keeffe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Same boat as Alberto.\r\n\r\nThis wasn't an issue building from 4.x.x to Xcode 6, so it was introduced along the way.", "updateAuthor": { "name": "cillianoktw", "key": "cillianoktw", "displayName": "Cillian O'Keeffe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-28T14:40:43.000+0000", "updated": "2016-07-28T14:40:43.000+0000" }, { "id": "391830", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To be very clear, I am not trying to brush anyone's concerns aside....I want to make sure I understand what is the issue and what is the proper solution.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-28T15:07:06.000+0000", "updated": "2016-07-28T15:07:06.000+0000" }, { "id": "391831", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "@ingo Exactly. The two I mentioned are particularly more expensive areas of development. (and the memory leaks are not inherit to titanium alone, but to nearly all proxy/abstraction/reflection operations including native android!). Adding what may seem like a minor roadblock by removing previous functionality (whether specifically specified or not), copying assets over into a project, becomes pretty major when compounded by each new build operation. Its why live code refreshes (ti-shadow, liveview, faster-titanium), partial builds (alloy) have such value. Could it be scripted? probably. Adds one more opportunity for something to break though. \r\n\r\nYes, the build process of titanium has gotten complex, yes there was a refactor from python to node involved, yes there was the addition of an additional abstraction (alloy) added to the mix, yes apple went and mucked around with temp locations and derived data in xcode (missing app.js, similar issue).\r\n\r\nI'll counter @hans assertion that its not best practice, with two things:\r\n\r\nFirst, the opening of project within xCode was once not only possible, but recommended officially by appcelerator for debugging, both in video content, in training and in the documentation guides. It may not NOW be considered best practice, but was for a very long time. \r\n\r\nSecond, the best practice must be replaced with a new better practice for it to no longer be the best practice. So, what specifically is the new best practice for debugging native language issues?\r\n\r\n\r\n\r\n\r\n\r\n", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2016-07-28T15:41:10.000+0000", "updated": "2016-07-28T15:41:10.000+0000" }, { "id": "395026", "author": { "name": "nomorhop", "key": "nomorhop", "displayName": "Morten Hopstad", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any news here? Im stuck with this problem and its really causing me a headache. I went for the manual method of copying all the files over to the Xcode project, but now Im struggling with LaunchImages. Appstore won't accept it.", "updateAuthor": { "name": "nomorhop", "key": "nomorhop", "displayName": "Morten Hopstad", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-01T08:12:38.000+0000", "updated": "2016-09-01T08:12:38.000+0000" }, { "id": "407590", "author": { "name": "mszabi1@gmail.com", "key": "mszabi1@gmail.com", "displayName": "Szabolcs Muranyi", "active": true, "timeZone": "Europe/London" }, "body": "here's my solution:\r\n– open up a terminal window\r\n– change directory to the project's root\r\n– execute this command: titanium build --platform ios --build-only --force --force-copy-all\r\n– voilà! you get a complete xcode build in your build/iphone folder with all your images, fonts and other stuff included", "updateAuthor": { "name": "mszabi1@gmail.com", "key": "mszabi1@gmail.com", "displayName": "Szabolcs Muranyi", "active": true, "timeZone": "Europe/London" }, "created": "2017-02-22T17:10:58.000+0000", "updated": "2017-02-22T17:10:58.000+0000" }, { "id": "420180", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ewieber] Can you check this out please? Maybe touch base with [~cbarber].", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-22T22:42:03.000+0000", "updated": "2017-05-22T22:42:03.000+0000" }, { "id": "427986", "author": { "name": "support@dataii.com", "key": "support@dataii.com", "displayName": "Szymon Machajewski", "active": true, "timeZone": "America/Detroit" }, "body": "It appears I see the same unexpected functionality.\r\n\r\nAlloy project, html files in a local asset directory, all files are copied to the iOS simulator device with the exception of the images folder. I have 6.2.0 GA SDK. The app runs in the Simulator, but no images present in the interfaces.\r\n\r\nIt's strange that only images folder isn't copied. I find the folder in assets, in Resources, but not in the Simulator device directory.", "updateAuthor": { "name": "support@dataii.com", "key": "support@dataii.com", "displayName": "Szymon Machajewski", "active": true, "timeZone": "America/Detroit" }, "created": "2017-09-18T01:29:27.000+0000", "updated": "2017-09-18T01:29:27.000+0000" }, { "id": "427989", "author": { "name": "support@dataii.com", "key": "support@dataii.com", "displayName": "Szymon Machajewski", "active": true, "timeZone": "America/Detroit" }, "body": "Ahh, never mind. This is related to app thinning. In the ios section of tiapp.xml just change true to false:\r\n\r\n\r\n false\r\n", "updateAuthor": { "name": "support@dataii.com", "key": "support@dataii.com", "displayName": "Szymon Machajewski", "active": true, "timeZone": "America/Detroit" }, "created": "2017-09-18T01:51:31.000+0000", "updated": "2017-09-18T01:51:31.000+0000" }, { "id": "432938", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cbarber] Can you investigate this one to se if still relevant?\r\n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-09T22:57:29.000+0000", "updated": "2018-01-09T22:57:29.000+0000" }, { "id": "432983", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I cannot reproduce. I tested with Xcode 9.2, iOS SDK 11.2, and Titanium SDK 7.0.1.GA for both simulator and ad hoc. I made sure that app thinning was enabled. The generated Xcode project contained the correct image in the asset catalog. The generated .ipa file contained the {{assets.car}} file. The ImageView loaded the image just fine.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-01-10T17:19:41.000+0000", "updated": "2018-01-10T17:19:41.000+0000" }, { "id": "437209", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cbarber] Should we re-close this one then? ", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-30T18:03:11.000+0000", "updated": "2018-04-30T18:03:11.000+0000" }, { "id": "437220", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I bet I know what's going on. When the app is built from Xcode, the project is cleaned and that wipes out all the Resources that the Titanium build copies into the output directory. Since we don't support building directly from Xcode, this should be changed to \"won't fix\".", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-04-30T19:10:50.000+0000", "updated": "2018-04-30T19:10:50.000+0000" }, { "id": "440041", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing tickets that need more info from 2015 and earlier. Is this is in error, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:43:14.000+0000", "updated": "2018-08-06T17:43:14.000+0000" } ], "maxResults": 51, "total": 51, "startAt": 0 } } }