I resolved this problem, by switching scheme
to Pods-xxx
, and build it first. Then, switch back to original project, and build it.
Let Pods-xxx
build the necessary xxx.a first, resolve the dependency problem.
Switch scheme
On the toolbar, select
Product -> Scheme -> (Pods-xxx or original target)