Shakerite
Code is Art
Profile
Posts: 65
Reg: Sep 09, 2011
location unknow...
650
09/25/12 09:24 AM (13 years ago)

Error when archiving: clang: error: linker command failed with exit code 1 (use -v to see invocation)

I just tried archiving my app with Xcode and got the following error which caused the build to fail: clang: error: linker command failed with exit code 1 (use -v to see invocation)
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
09/25/12 11:15 AM (13 years ago)
Did you try Build for Archiving before you Archived it itself
 
Shakerite
Code is Art
Profile
Posts: 65
Reg: Sep 09, 2011
location unknow...
650
like
09/25/12 12:49 PM (13 years ago)
Yes, that was the error when a tried building for archiving.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
09/25/12 01:10 PM (13 years ago)
Which Version of Buzztouch and Xcode are you using?
 
Shakerite
Code is Art
Profile
Posts: 65
Reg: Sep 09, 2011
location unknow...
650
like
09/25/12 01:49 PM (13 years ago)
Not on my normal computer right now, but it's Buzztouch v1.5 and whatever the most updated version of Xcode from the Mac App Store is.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
09/25/12 01:58 PM (13 years ago)
Right. I had a problem with v1.5 and 4.5 xCode. Not sure if it was the same issue, but there was an issue that did what it's doing to you.
 
Shakerite
Code is Art
Profile
Posts: 65
Reg: Sep 09, 2011
location unknow...
650
like
09/25/12 02:11 PM (13 years ago)
How did you solve your issue?
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
09/25/12 02:21 PM (13 years ago)
I haven't. I haven't been developing recently, but v2.0 should be OK.
 
Shakerite
Code is Art
Profile
Posts: 65
Reg: Sep 09, 2011
location unknow...
650
like
09/27/12 04:48 PM (13 years ago)
Asked the question on stackoverflow.com and now it works. Here was the answer from someone: I received a very similar message just the other day when I tried running my app on my iPad after several successful attempts on the simulator. I found out that under the build settings I had to make "build active architecture only" to yes. Then my app would compile on my device. Hope this helps.
 
sd854282
Aspiring developer
Profile
Posts: 18
Reg: Aug 13, 2011
Mississippi
180
like
10/02/12 04:10 PM (13 years ago)
I made the change above but still receive the error. Any other ideas?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.