Posts

Post not yet marked as solved
3 Replies
11k Views
I've been getting reports from team members of a build error:Undefined symbols for architecture x86_64: "___isPlatformVersionAtLeast", referenced from:and then the location of some small code function that hasn't changed for weeks.Eventually I've worked out that I've built a framework (that includes the 'problem' code) with XCode 11 GM and my colleagues have XCode 10.The code in the framework triggering the problem appears to be: if (@available(iOS 11,*)) { jsonOptions |= NSJSONWritingSortedKeys; }[the @available... in particular]If I build the framework in XCode 10 and give them the .framework bundle to drop into their build it all works fine, and if I take that framework bundle and build on XCode 11 GM it is all fine. Just the framework building on XCode 11 GM (with deployment target of iOS10) that can't be linked by a project built in XCode 10.Questions:1) Is anyone else seeing this?2) Is this a known issue? If so is it intended that a framework built with XCode 11 can't be used in an XCode 10 built project?Thanks,Richard
Posted Last updated
.