{ "id": "130878", "key": "TIMOB-17030", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2016-11-28T22:17:35.000+0000", "created": "2014-05-26T02:54:04.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "build", "cb-tooling", "module", "release" ], "versions": [], "issuelinks": [ { "id": "37809", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "110035", "key": "AC-1825", "fields": { "summary": "CLI: OTHER_CFLAGS from module.xcconfig only present in Release configurations of app build", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-23T22:30: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": "When OTHER_CFLAGS are defined in module.xcconfig they are only applied to Release builds.\r\n\r\nThis issue makes it very hard to test my module in an app, and users of my module are confused as to why they only works in Release builds.", "attachment": [], "flagged": false, "summary": "OTHER_CFLAGS from module.xcconfig only present in Release configurations", "creator": { "name": "arleyandrada", "key": "arleyandrada", "displayName": "Arley Andrada Maria", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "arleyandrada", "key": "arleyandrada", "displayName": "Arley Andrada Maria", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "395265", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "If I see it correct (and of course need more time to sort things out), this pieces of the {{titanium_mobile/iphone/cli/commands/_buildModule.js}} could cause the problem:\r\n\r\n{code}\r\n\r\n\t// Create a build for the device\r\n\txcodebuildHook(this.xcodeEnv.executables.xcodebuild, [\r\n\t\t'-configuration', 'Release',\r\n\t\t'-sdk', 'iphoneos'\r\n\t], opts, 'xcode-dist', done);\r\n\r\n\t// Create a build for the simulator\r\n\txcodebuildHook(this.xcodeEnv.executables.xcodebuild, [\r\n\t\t'-configuration', 'Release',\r\n\t\t'-sdk', 'iphonesimulator'\r\n\t], opts, 'xcode-sim', done);\r\n{code}\r\n\r\nSo changing the second hook (which is responsible for sim-builds) to {{Debug}} could actually do something. [~cbarber] Any quick advice?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-03T10:01:57.000+0000", "updated": "2016-09-03T10:01:57.000+0000" }, { "id": "396996", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~hansknoechel] We only support building \"Release\" builds for iOS modules. Either this ticket is a won't fix or we can introduce {{\\-\\-deploy\\-type}} for module builds where it would default to \"production\", but could be set to \"development\" which in turn would set the configuration to \"Debug\". Thoughts?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-09-22T23:10:44.000+0000", "updated": "2016-09-22T23:10:44.000+0000" }, { "id": "401938", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "As per Chris' comment above, modules should not have debug configurations. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-28T22:17:35.000+0000", "updated": "2016-11-28T22:17:35.000+0000" }, { "id": "415442", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as Won't Fix with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T22:30:46.000+0000", "updated": "2017-03-23T22:30:46.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }