Project: titanium
Issue TIMOB-20495: iOS: Build error caused by missing define statements
Currently master is broken. This is a result of the following commit https://github.com/appcelerator/titanium_mobile/commit/9e209ca9ef3541ab23a0975627be2bc487464cbe#diff-2c9944d65132833cd5df17dcdd3ebc3a The reason is my code doesn't use any attrributed strings, which means the below define statements are not applied #if defined (USE_TI_UIATTRIBUTEDSTRING) || defined(USE_TI_UIIOSATTRIBUTEDSTRING) If these statements are not defined, you are unable to compile the code. You get the following error from Studio. If I remove the define statements I'm able to compile without any issues. [ERROR] : ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] :	CompileC build/Intermediates/myProject.build/Release-iphoneos/myProject.build/Objects-normal/armv7/TiUILabel.o Classes/TiUILabel.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler [ERROR] : (1 failure)
Story points: 3