add -ld64 in other link flags. work for me
https://developer.apple.com/forums/thread/731090
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: