{ "id": "108137", "key": "TIMOB-12348", "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": "14980", "description": "2013 Sprint 02 JS", "name": "2013 Sprint 02 JS", "archived": true, "released": true, "releaseDate": "2013-01-28" }, { "id": "14812", "description": "2013 Sprint 02", "name": "2013 Sprint 02", "archived": true, "released": true, "releaseDate": "2013-01-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-27T02:26:45.000+0000", "created": "2013-01-19T15:59:48.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "regression" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-02-11T02:36:46.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": "If you build a Titanium app that uses either JSS and/or i18n, then open the Xcode project and build for device, it does not regenerate the stylesheet.plist or i18n lproj directories. The old 2.1.4.GA iOS builder.py does generate the i18n files during the pre-compile phase, but doesn't appear to generate the stylesheet.plist, thus JSS probably didn't work before either.\r\n\r\nNeed to move those two generation steps into the pre-compile phase. Also double check that this doesn't break anything. There's a bit of an order to which events need to happen.", "attachment": [], "flagged": false, "summary": "CLI: iOS: Compiled i18n and JSS files not generated during Xcode builds", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "236098", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3796\n3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3797", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-26T01:53:53.000+0000", "updated": "2013-01-26T01:53:53.000+0000" }, { "id": "236107", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test:\n\n1) create a project with i18n and jss\n2) build and run app\n3) open up build/iphone/appname.xcodeproj\n4) build the app for device from Xcode\n5) inspect ~/Library/Developer/Xcode/DerivedData/appname-/Build/Products/Debug-iphoneos/appname.app\n6) notice en.lproj dir is missing\n7) notice stylesheet.plist is missing\n8) after applying fix\n9) rebuild from Xcode\n10) notice both en.lproj and stylesheet.plist exist", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-26T02:15:47.000+0000", "updated": "2013-01-26T02:15:47.000+0000" }, { "id": "237921", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OS: 10.8.2\nTitanium SDK version: 3.0.2.v20130207164659\nTitanium Studio, build: 3.0.2.201302041757\nCLI version: 3.0.24-cr\nXcode 4.6\n\nen.lproj and stylesheet.plist exist. I also used EspaƱol, so had an es.lproj as well. Project build in sim, then in Xcode run on device. The app worked as expected.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-11T02:36:23.000+0000", "updated": "2013-02-11T02:36:23.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }