xcode 运行的错误

  

      ld: framework not found -fobjc-arc

     clang:error: linker command failed with exit code 1 (use -v to see invocation)

解决方法:

  Google了一下,没找到原因,最后排查了一下,发现原因是在Other Link Flags里面,正常的应该类似于

xcode 运行的错误_第1张图片

而出现这种错误的则是,多了个-framework,入下图所示:

xcode 运行的错误_第2张图片

将多出来的这个-framework删除掉就好了。


你可能感兴趣的:(xcode 运行的错误)