Interesting. Consider this:
% find /Applications/Xcode.app -name '*polyfills*'
…/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/usr/lib/libc++polyfills.a
…/Platforms/DriverKit.platform/Developer/SDKs/DriverKit.sdk/System/DriverKit/usr/lib/libc++polyfills.a
…/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libc++polyfills.a
…/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/lib/libc++polyfills.a
…/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/usr/lib/libc++polyfills.a
…/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libc++polyfills.a
Note how the library is present for all the real device platforms but is missing for all the simulator platforms (like iPhoneSimulator.platform). I suspect that the root cause of this issue is that this combination simply wasn’t anticipated. However, I’d like to learn a little more about your setup before I send you off to file a bug.
I tried reproducing this with a new project created from the built-in iOS > App template, but couldn’t. I suspect it’s because your project is using something C++-ish that requires it to bring in that library.
What’s your project’s deployment target?
Did you tweak any of the checkboxes in the Enhanced Security capability? If so, which ones?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"