Re: Xcode 8 - XCODE_VERSION_MAJOR causes compilation issue

2016-08-12 Thread Jens Alfke
> On Aug 11, 2016, at 12:09 AM, Sasikumar JP wrote: > > Xcode defines following build variables, we can not use them in Xcode 8 > as the values are invalid octal number. Who says they’re supposed to be octal? The reason for the leading zero is presumably just so they’ll

Re: Xcode 8 - XCODE_VERSION_MAJOR causes compilation issue

2016-08-11 Thread Sasikumar JP
David, Thank for the detail. i have reported the bug(#27801515) for XCODE version number values. As you suggested, i have resolved the compilation issue by using __IPHONE_OS_VERSION_MAX_ALLOWED macro. Thanks Sasikumar JP On 11 August 2016 at 16:33, David Duncan wrote:

Re: Xcode 8 - XCODE_VERSION_MAJOR causes compilation issue

2016-08-11 Thread David Duncan
> On Aug 11, 2016, at 12:09 AM, Sasikumar JP wrote: > > Hi, > Xcode defines following build variables, we can not use them in Xcode 8 > as the values are invalid octal number. > > XCODE_VERSION_ACTUAL = 0800 >XCODE_VERSION_MAJOR = 0800 >XCODE_VERSION_MINOR = 0800

Xcode 8 - XCODE_VERSION_MAJOR causes compilation issue

2016-08-11 Thread Sasikumar JP
Hi, Xcode defines following build variables, we can not use them in Xcode 8 as the values are invalid octal number. XCODE_VERSION_ACTUAL = 0800 XCODE_VERSION_MAJOR = 0800 XCODE_VERSION_MINOR = 0800 I am working on iOS project, it should be compilable in both Xcode 7 and Xcode 8. I