Xcode 4 build succeeds, command line build fails?

后端 未结 10 1611
春和景丽
春和景丽 2021-01-30 02:14

I have a project in Xcode 4 (the latest non-beta version) that builds fine when built in Xcode itself. Specifically, the Ld command correctly uses the derived data directory (wh

10条回答
  •  悲&欢浪女
    2021-01-30 03:07

    I don't know if this will work for you but in my case, I had more than one main.m file. All I had to do was detach one of the main.m from the target and it worked. Make sure you don't have more than one main.m in your project.

提交回复
热议问题