[TIMOB-19778] iOS: Cannot build for devices with Xcode 7.0 iOS SDK 9.0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2018-07-23T17:52:31.000+0000 |
Affected Version/s | Release 5.1.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Feon Sua Xin Miao |
Assignee | Unknown |
Created | 2015-10-23T17:39:15.000+0000 |
Updated | 2018-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.
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).
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)
Marking old bug against no longer supported SDK version as Invalid.