I want to archive a React Native project user the latest Xcode and always failed because linker command failed.
When I run xcodebuild -verbose
please remove all derived data step1: cmd + option + shift + k step2: cmd + shift + k step3: restart xcode
In some cases the magical fix
try this, go to Target -> Build Settings,then search these three as following,
GCC_NO_COMMON_BLOCKS,
CLANG_WARN_INFINITE_RECURSION,
CLANG_WARN_SUSPICIOUS_MOVE,
set NO to each value then clean and build.