Blockskit depends on libffi, which includes this flag in its podspec. However, it seems that it is no longer supported by the linker from version ld64-134.9 (you can check which version you are using by entering ld -v from the command line).
I sent a transfer request to fix this. In the meantime, the only solution I found was to manually remove "-Wl, -no_compact_unwind" from the generated Pods.xconfig file after each run of the "pod install" program. Btw, the problem arises regardless of whether you are linking a static library or application.
I hope that my fix will be merged soon.
** Update **
Fixed!
** Update **
Unfortunately, the BlocksKit developer did not make my decision, and the problem does not reproduce on his test machines. Thus, the best option at the moment: 1. Manually remove the flag after each update "pod" (as I mentioned above) 2. Fork BlocksKit, remove the compiler flag from it, and then update your subfile to point to your fork instead source project. You will have to manually pull out the original project to stay up to date.
source share