Error during archive: symbols referenced by indirect symbol table entries that can't be stripped

ios, macos, xcode

Solution

In my case, changing Strip Style build setting from All Symbols to Debugging Symbols fixed the problem.

Problem

I have a project which compile and run fine (even when built using "build for archive" command). However, when I want to Archive it (for MAS publishing), I get the following error: Command /Developer/usr/bin/strip failed with exit code 1 /Developer/usr/bin/strip: symbols referenced by indirect symbol table entries that can't be stripped in xxx where xxx is a subproject of my project (framework). What can be the issue? (I checked, everything is properly signed)

Original source