file was built for archive which is not the architecture being linked

今天向xcode工程中加入.a库的时候,出现上面的错误,网上查了下,解决办法,.a工程中BuildActiveArchitecturesOnly设置为no,app工程中设置为yes,解决链接

你可能感兴趣的:(file was built for archive which is not the architecture being linked)