美文网首页
Swift entry point (_main) undef

Swift entry point (_main) undef

作者: 未知的远方 | 来源:发表于2017-09-12 18:09 被阅读23次

新建项目 遇到该问题


1

解决方案:我重写了delegate 但是没配置main函数导致的,加上
@UIApplicationMain//这个放在那里哪里先运行,这是程序入口,相当于OC的main函数

2

相关文章

网友评论

      本文标题:Swift entry point (_main) undef

      本文链接:https://www.haomeiwen.com/subject/dexhsxtx.html