{ "id": "123580", "key": "TIMOB-15958", "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": "15715", "description": "2013 Sprint 25", "name": "2013 Sprint 25", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "15717", "description": "2013 Sprint 25 Core", "name": "2013 Sprint 25 Core", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-12-11T19:31:19.000+0000", "created": "2013-12-11T08:28:22.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "modules", "platform", "ti.urbanairship", "triage" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-05-30T20:45:49.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": "10207", "name": "Tooling" } ], "description": "When you build an app using the ti.urbanairship module it won't work and complain the {{AirshipConfig.plist}} is missing, which is indeed not included in the final {{.app}} file. This might be a general problem with platform-folder files not being included, but this test case is specific to UA:\r\n\r\nh1. Steps to reproduce\r\n\r\n1. Create new app: {{ti create -p ios -n ua --id test.ua -d .}}\r\n2. Replace {{app.js}} by the module's example [app.js|https://github.com/appcelerator/titanium_modules/blob/master/urbanairship/mobile/ios/example/app.js]\r\n3. Copy the module's example [platform|https://github.com/appcelerator/titanium_modules/tree/master/urbanairship/mobile/ios/example/platform] folder to the root of the app.\r\n4. Build the app to a device: {{ti build -p ios -T device -C all}}\r\n5. Click the (on iOS7 poorly layed out) _Open UA Inbox_ button\r\n6. Note that just before the app crashes because of a {{NSRangeException}} it alerts _The AirshipConfig.plist file is missing._ (screenshot A)\r\n7. Go to the project's {{build/iphone}} folder and see that the {{AirshipConfig.plist}} file is there.\r\n8. Open the {{build/iphone/Debug-iphoneos/ua.app}} package and see the file is *NOT* there!\r\n9. Repeat steps 4-8 with 3.1.3.GA and see that the app now (still crashes, but) alerts the application key and secret are not set property, like expected. Also, you'll find that this time the {{ua.app}} package *does* have the file.", "attachment": [ { "id": "44544", "filename": "A.PNG", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-12-11T08:30:50.000+0000", "size": 56708, "mimeType": "image/png" }, { "id": "44545", "filename": "B.PNG", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-12-11T08:30:50.000+0000", "size": 87306, "mimeType": "image/png" } ], "flagged": false, "summary": "Urban Airship cannot find AirshipConfig.plist in Titanium 3.2.0-beta", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 3.2.0.v20131126144841 (beta)\r\nCLI 3.2.0-beta", "comment": { "comments": [ { "id": "283809", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "The AirshipConfig.plist file is required by the UA module. It should be getting copied into the application bundle like other files in the platform folder.", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-11T14:15:55.000+0000", "updated": "2013-12-11T14:15:55.000+0000" }, { "id": "283810", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "I know, and like I explain in step 7-9 the file is not packaged in 3.2.0", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-12-11T14:30:50.000+0000", "updated": "2013-12-11T14:30:50.000+0000" }, { "id": "283811", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "Agreed. Sorry that I wasn't clear. I was just clarifying the requirement for the ticket.", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-11T14:33:40.000+0000", "updated": "2013-12-11T14:33:40.000+0000" }, { "id": "283819", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is this specific to the UA module? Does it happen with other modules as well? How about Android vs. iOS?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-11T16:07:03.000+0000", "updated": "2013-12-11T16:07:03.000+0000" }, { "id": "283821", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~ingo] I have no idea and I'm afraid I don't have time to test this today and probably not tomorrow either, but I just wanted to get this reported soon since it's quit critical if you ask me.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-12-11T16:24:41.000+0000", "updated": "2013-12-11T16:24:41.000+0000" }, { "id": "283824", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks. Just trying to narrow it down. [~emerriman], [~fcasali] any chance you guys can put a little color on this in the morning?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-11T16:33:53.000+0000", "updated": "2013-12-11T16:33:53.000+0000" }, { "id": "283849", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Uh... this can't wait to 3.3.0, it's a blocker for any UA-push app.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-12-11T19:06:36.000+0000", "updated": "2013-12-11T19:06:36.000+0000" }, { "id": "283856", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fokke. merge-3.2.0. You're fine. Chris also thinks it's already fixed with a newer build. Can you try the latest SDK?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-11T19:31:01.000+0000", "updated": "2013-12-11T19:31:01.000+0000" }, { "id": "283857", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I cannot reproduce. The AirshipConfig.plist file is present in my app.\r\n\r\nI believe this was fixed by TIMOB-15907.\r\n\r\n[~fokke] can you please try a new 3.2 CI build that was built after Dec 6th, 2013. To install the latest CI build, run:\r\n\r\n{code}\r\nsudo ti sdk install -b 3_2_X -d\r\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-11T19:31:19.000+0000", "updated": "2013-12-11T19:31:19.000+0000" }, { "id": "283871", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can't reproduce also from my side.\r\n\r\nTiSDK 3.2.0.v20131210191510 \r\nCLI 3.2.0-beta\r\nUrbanAirship 1.3.2\r\n\r\nTested on iOS 7 iPhone 5S and iOS 7 simulator. \r\n", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-11T21:10:01.000+0000", "updated": "2013-12-11T22:41:11.000+0000" }, { "id": "283881", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Fokke: let us know and reopen if you can still reproduce it after upgrading SDK and CLI to latest 3.2.X\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-11T22:40:37.000+0000", "updated": "2013-12-11T22:40:37.000+0000" }, { "id": "283947", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~fcasali] yes, it works on the latest. Will update to master next time before reporting ;)", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-12-12T08:23:25.000+0000", "updated": "2013-12-12T08:23:25.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }