Clint Carver
Lost but trying
Profile
Posts: 2
Reg: Mar 27, 2012
location unknow...
1,420
09/11/12 07:29 PM (13 years ago)

Linker Command failed with exit code

Help!! I am a noob! I have no idea what I am doing and why my app won't build in Xcode. I keep getting this message "Linker Command failed with exit code 1 use -v to see invocation" Any ideas or suggestion would help?? Thanks in advance
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/11/12 09:38 PM (13 years ago)
Could it be that you've included the AT53 Tweet Sheet Plugin in your project? If so, you'll need to add the Twitter Framework to your Xcode project before compile. If this is the case, and this is the cause, it serves all of us as a good reminder to read the README / description info included with each plugin. If this is NOT the case, I'm not sure what is?
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
09/11/12 11:11 PM (13 years ago)
There should be some text above that error, please copy/paste it here and I'll see if I can figure out what to do. By the way, what plugin are you trying to load?
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
09/12/12 07:18 AM (13 years ago)
Exact steps with pictures to add the Twitter framework if you need them: https://dev.twitter.com/docs/adding-twitter-framework
 
Clint Carver
Lost but trying
Profile
Posts: 2
Reg: Mar 27, 2012
location unknow...
1,420
like
09/12/12 06:38 PM (13 years ago)
Hey guys I know its not the twitter framework. Thanks for the help. I am trying to use the PDF and Doc plugin.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/12/12 11:50 PM (13 years ago)
OK. But, regardless of whether or not it's related to the PDF / Doc plugin, ALL the plugins are included in your Xcode project. This isn't going to be related to a plugin, in a literal sense. It's going to be related to the Frameworks that your project is using. When you download the project and open it in Xcode, some Frameworks are already added to the project. For sure a "linker" error is Xcode's way of saying "hey, you're trying to use a framework in your source code that you have not added to your project" It could be that there is something funky going on with your Xcode install in that it could be that the paths to the actual Frameworks is different than the rest of ours. Not sure, just thinking. Do this... a) Open your Xcode project, visit Build Settings > Build Phases > Link Binary with Libraries section. You should see a list of Frameworks like... CoreAudio.framework CoreLocation.framework Foundation.framework SystemConfiguration.framework .... .... There are about a dozen of them. b) Take a screenshot of the ones listed so you hava reference. c) Use the "-" (minus) sign at the end of the list and remove them all. d) Use the "+" (plus) sign at the end of the list and re-add them all (using your screenshot as a reference). When you add them, you'll be explicitly telling Xcode where they are on your machine. This may straighten out why the Xcode project can't seem to find them.
 

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.