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

2020-03-0110:59:46来源:lywyb112 评论 877 views

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

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

 

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

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

 

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

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

四.版本上传appstore:

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

————————————————
版权声明:本文为CSDN博主「lywyb112」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/liulanzaijia/article/details/89494101

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: