开发者

Xcode compiles iPhone app for Debug not Distribution - Linking error "file not found"

Xcode compiles my iPhone app for Debug fine and the application works fine on my iPhone. But when I compile for Distribution I get the following Linking error:

/Users/jtesta/Documents/WaterTax开发者_高级运维i_prod_v1.1/build/WaterTaxi.app/WaterTaxi
ld: file not found: 
collect2: ld returned 1 exit status

It's not clear to me what file is not found. It almost looks like it can't find the executable in the application bundle. Any ideas what could be causing this?


Some ideas which maybe you already tried?

  • Do a clean rebuild of absolutely everything
  • Make sure you have the proper provision profiles setup on your computer and on the iPhone

Did you try searching stack overflow for this error? I got the following hit...

QtCreator build returns collect2: ld returned exit status 1

There is also some discussion about this issue here...

http://cboard.cprogramming.com/cplusplus-programming/96529-error-collect2-ld-returned-1-exit-status.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜