1.can't link with a main executable file "/app path" from architecture
1.选中项目

2.然后选中你的测试target

3.看到右侧,选中General,然后把Host Application设置为你的项目名

4.如果还不行,检查一下Host Application下面的复选框是否选中了,在选中情况下也有可能无法编译
5.如果还是不行,可以选中Build Settings,将Architectures下的Build Active Architecture Only选项,设置为NO
网友评论