Post

Replies

Boosts

Views

Activity

Reply to After updating to Xcode 16.3, getting the error - Symbol not found: ___cxa_current_primary_exception
We had been using the workaround above in our project, and it was working fine. Later, we partially migrated the project from CocoaPods to SwiftPM, and after that the issue started showing up again at runtime. In our case it was no longer just a launch-time symbol error, but a runtime crash caused by a weak import. I do not know why, I do not know how, and I do not know why this makes any difference at all, but the only thing that fixed the project for us was removing the commas from the workaround above. This form finally worked for us: "-Wl -force_load $(SDKROOT)/usr/lib/libc++abi.tbd", "-Wl -weak_library $(SDKROOT)/usr/lib/libc++.tbd", "-Wl -weak_library $(SDKROOT)/usr/lib/libc++.1.tbd",
Mar ’26
Reply to After updating to Xcode 16.3, getting the error - Symbol not found: ___cxa_current_primary_exception
We had been using the workaround above in our project, and it was working fine. Later, we partially migrated the project from CocoaPods to SwiftPM, and after that the issue started showing up again at runtime. In our case it was no longer just a launch-time symbol error, but a runtime crash caused by a weak import. I do not know why, I do not know how, and I do not know why this makes any difference at all, but the only thing that fixed the project for us was removing the commas from the workaround above. This form finally worked for us: "-Wl -force_load $(SDKROOT)/usr/lib/libc++abi.tbd", "-Wl -weak_library $(SDKROOT)/usr/lib/libc++.tbd", "-Wl -weak_library $(SDKROOT)/usr/lib/libc++.1.tbd",
Replies
Boosts
Views
Activity
Mar ’26