but linking in object file built for iOS, file 'libXGExtension.a' for architecture arm64
解决方法
http://events.jianshu.io/p/201a5b599c38 删除Xcode,勾选之后重启Xcode运行即可
1.library search path 静态库路径
2. framework search path 动态库路径,
这个会自动识别编译环境,从而动态执行
$(SRCROOT)/Libs/Release$(EFFECTIVE_PLATFORM_NAME)