[TIMOB-17030] OTHER_CFLAGS from module.xcconfig only present in Release configurations
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2016-11-28T22:17:35.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | CLI |
Labels | build, cb-tooling, module, release |
Reporter | Arley Andrada Maria |
Assignee | Hans Knöchel |
Created | 2014-05-26T02:54:04.000+0000 |
Updated | 2017-03-23T22:30:46.000+0000 |
Description
When OTHER_CFLAGS are defined in module.xcconfig they are only applied to Release builds.
This 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.
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:So changing the second hook (which is responsible for sim-builds) to
Debug
could actually do something. [~cbarber] Any quick advice?[~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?As per Chris' comment above, modules should not have debug configurations.
Closing ticket as Won't Fix with reference to the above comments.