更正:此方法并不可行 在xcode8中没有办法兼容Swift2.3版本。只能通过项目升级或者保留XCode7.3.1版本 在 Building Settings中搜索 swift 将No 换成Yes 如下图: