[TIMOB-26426] iOS: Output warning on a build when using an Xcode version that is not verified as supported
GitHub Issue | n/a |
Type | Improvement |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-01-30T22:08:52.000+0000 |
Affected Version/s | n/a |
Fix Version/s | ioslib 1.7.6 |
Components | iOS |
Labels | cb-tooling |
Reporter | Ewan Harris |
Assignee | Ewan Harris |
Created | 2018-10-01T22:10:06.000+0000 |
Updated | 2020-01-30T22:08:52.000+0000 |
Description
Description
On Android, when using an Android SDK version that we have not verified as supported we will log a warning saying so, we don't do this on iOS. As pointed out by [~topener] we should do this to make it more obvious that an Xcode version is not supported
Comments
JSON Source
While checking this out I realised that ioslib hardcodes support for >=6.0.0 [here](https://github.com/appcelerator/ioslib/blob/e3873ba59d12e796ec6288ebad9fd32dabc708f5/lib/xcode.js#L247), so in ti info we will always say we support any version of xcode above 6. Yay! That'll be fixed during this
ioslib: https://github.com/appcelerator/ioslib/pull/84
We pass in the supported Xcode range into ioslib from the iphone/package.json vendorDependencies and it will use that to determine if an Xcode version is supported. There's no way to specify which version of Xcode to build with, only the iOS SDK version and ioslib filters out any Xcodes and iOS SDKs that are not supported, thus marking this ticket as fixed.