Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19778] iOS: Cannot build for devices with Xcode 7.0 iOS SDK 9.0

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionInvalid
Resolution Date2018-07-23T17:52:31.000+0000
Affected Version/sRelease 5.1.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterFeon Sua Xin Miao
AssigneeUnknown
Created2015-10-23T17:39:15.000+0000
Updated2018-07-23T17:52:31.000+0000

Description

When building a project using -I 9.0 option for device, I get the below error:
[INFO] :   Invoking xcodebuild
[ERROR] :  ** BUILD FAILED **
[ERROR] :  The following build commands failed:
[ERROR] :  	CompileC build/Intermediates/ClassicAppLV.build/Debug-iphonesimulator/ClassicAppLV.build/Objects-normal/i386/TiUITextWidget.o Classes/TiUITextWidget.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[ERROR] :  (1 failure)
TRACE  | titanium exited with exit code 1
I do no see the error when building with -I 9.1 option.

Comments

  1. Kerry DenHerder 2016-10-25

    For what it's worth... I see this same issue when I select Titanium SDK: *{color:#14892c}5.5.1.GA{color}* (Tiapp.xml / Build Properties) and target iOS 8.4. I +do not+ see this issue when I select Titanium SDK: *5.2.1.GA* and target iOS 8.4. I also +do not+ see this issue when I select Titanium SDK: *{color:#14892c}5.5.1.GA{color}* and target *{color:red}iOS 10.0{color}*. I need to do a "Project / Clean" between switching between the two SDK versions. I have macOS 10.12; Xcode 8.0 (8A218a).
  2. Pablo Liz 2016-11-26

    I'm experiencing the same issue when 5.5.1GA is selected. This doesn't happens when 6.0.0GA is selected. macOS 10.12.1 Xcode 8.1 [ERROR] : ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : CompileC build/Intermediates/AppName.build/Debug-iphonesimulator/AppName.build/Objects-normal/i386/TiUITextWidget.o Classes/TiUITextWidget.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler [ERROR] : (1 failure)
  3. Christopher Williams 2018-07-23

    Marking old bug against no longer supported SDK version as Invalid.

JSON Source