Thank you, we write a lot of C++ and will gladly take any safety we can get.
Post
Replies
Boosts
Views
Activity
The link on the developer.apple.com downloads page has been updated as well.
I figured this out. It was related to Dead Code Stripping.
Correct, just obfuscating the details a bit. The class that the plugin used wasn't used outside of the plugin so after the static linking and dead code stripping it was no longer in the symbol table. It took a lot of digging to find this, at least for me.
I think I figured it out, because of course after I make a post I do. I turned off dead code stripping along with modifying the strip behavior to not remove global symbols on strip. The plugins now seem to load successfully.
It seems to be trailing off after 94 minutes and I am now able to load when previously I was not. We changed nothing on our end. Seems to be Unity Ads related and not Apple.
Just a guess, but since this is an iOS 18 feature and that is supported in Xcode 16, I imagine you'd have to use Xcode 16 to see those options.
iOS 18 is in beta and has to be used with Xcode 16 beta.
Define _LIBCPP_ENABLE_EXPERIMENTAL and you should get it. See <__ranges/join_view.h> for the explanation:
// Note: `join_view` is still marked experimental because there is an ABI-breaking change that affects `join_view` in
// the pipeline (https://isocpp.org/files/papers/D2770R0.html).
// TODO: make `join_view` non-experimental once D2770 is implemented.
#if _LIBCPP_STD_VER >= 20 && defined(_LIBCPP_ENABLE_EXPERIMENTAL)
Funnily enough, the URL in the header file appears to be incorrect, but P2770R0 https://isocpp.org/files/papers/P2770R0.html correct.
std::pmr::get_default_resource is available in C++17 and later, but I'm not sure when / if it was fully supported by Xcode. You might want to double check your C++ version in your project to make sure you're linking to a new enough version of libc++.
You're using Beta software. Xcode 14.3.1 isn't supported on Sonoma and Xcode 15 isn't out of beta yet. Neither is Sonoma for that matter.
I see ld: warning: ignoring duplicate library '-lc++' along with ld: warning: ignoring duplicate library '-lz' in my project in Xcode 15 Beta 5. I've double checked and I'm not including them anywhere explicitly. I am getting less of them than I got in previous Xcode 15 beta builds.
You have to use Xcode 14.2 to target 16.3 on a connected device. If you build an archive build you should be able to side load it to your device, but it isn't a great debugging experience.
Thanks for the reply. I can confirm it still occurs on my app as well with 11.3.1. It seems like OpenGL got broken and I don't know if Apple has any desire to fix it as it was marked deprecated.
If anything this is getting worse with subsequent releases of Xcode. I crash just stepping over code in C\++ on my M1 Mac Mini now running Xcode 12.4 (12D4e) on Big Sur (11.2 20D6). I submitted my most recent set of crash logs with feedback #FB8983057. Would really love to be able to use the debugger for C++ projects again.