Xcode升级10.2后打包碰到的各种坑

一.xcode升级10后switf2.0不可打包问题:

Build Setting->Swift Compiler-Language->Swift Language Version ->改成swift4以上

二.swift升级到4.0后各种不兼容报错:

Build Setting->找到Swift3 @objc Inference 改选项改成on:

三.Archive打包发布时,报错building could produce unreliable results.

修改build system :
在Xcode菜单栏 -> File -> Workspace Setting,将build system修改为legacy build system,然后clean后编译。

四.版本上传appstore:

xcode10没有export了只有以下,选中第一个,根据步骤直接更新到appstore上,过个几分钟登录appstore账号就有可以构建的版本了

猜你喜欢

转载自blog.csdn.net/liulanzaijia/article/details/89494101
今日推荐