Skip to main content

Xcode build failed with exit code 1

I am involved in my first native IOS development project. Because I am kind of excited to be working on this project I wanted to play with the code and the development environment some this weekend. When I opened up Xcode to get stated I changed 1 line of code and did a build. What did I get for my enthusiasm? A failed build with "exit code 1."



With such a helpful error message, I went straight to google. I saw a lot of posts on stackoverflow.com pointing to problems with the certificate. We've done enough mobile app development for me to know that IOS certificates can be a royal pain. But the project built fine on Friday I hadn't changed anything with the certificate. Being the weekend, I wasn't up for the frustration of tracking down a vague error code so I shut my MacBook Pro and went back to my weekend.

When I came in to the office this morning and did a little more googling. I found this thread on the apple developer forums with a suggestion for the simple step of cleaning the project, why I didn't think of this myself I cannot say other than the fact that I am pretty new to Xcode development and in my defense, during my 10 years of experience with .NET Studio, I can remember 1 or 2 times of having to "clean" a project. Anyway, cleaning the project worked to fix "build failed with exit code 1." I'll keep that in mind. 

Comments

Popular posts from this blog

2015 Valpo Half Marathon Race Report

This was my big tune-up race for the Indianapolis Monumental Marathon. I always run a half-marathon at this point in the build up to the Monumental to get a final big fitness boost, a reality check on where I am at fitness-wise and, if all goes well, probably the most important aspect is the confidence boost that I get. I got one heck of a confidence boost yesterday, 10/25/2015, at the Valpohalf Half-marathon in Valparaiso IN. Valparaiso is about 2 hours from home which is kind of right there on the line of driving on race morning or staying in a hotel the night before. This time we decided to get up and drive. Valparaiso is on central time which puts it an hour behind us. Meaning the 8:30 AM start was really a 9:30 AM start for me.  Making the decision to drive that much easier. I have been dealing with some issues on the top of my right foot, which is probably extensor tendinitis, for the last couple of weeks. I saw my soft-tissue guy last Friday. He worked on it some and got me

The Gosh Darn Tuesday Morning 15-Miler

What can you say about a 15-mile Tuesday morning run? I can say a lot. I’ve had a lot of time to think about what I can say about a 15-mile Tuesday morning run on more 15-mile Tuesday Morning runs than I can count. You see, they are a main stay of the marathon training plan that I use. That plan being Pete Pfitzinger’s Advanced Marathoning 18 week 70-85 miles per week plan. The first thing I can say about the Tuesday morning 15-mile run is that it’s not a long run. Pete clearly defines long runs as starting at 16 miles. So, the 15-miler that begins so many Tuesdays of my life is not a long run. I mean, who ever heard of doing a “long run” on a Tuesday morning. That would just be insane. Being that it’s not a long run I can’t do all of the things that I do around a long run. I can’t obsess over the weather for the 15-miler, I can’t eat extra carbs in preparation for the 15-miler, I can’t expect my family to give me deference and make accommodations for me

My AMDG Run: An Answered Prayer.

I have never been a person to pray for specific favors. It never felt right to me. My prayers generally are for strength, guidance, an acceptance of what comes my way. That is always how I "felt" right praying. To pray for a specific favor like a good grade, to do well in some competition and things like that just always felt a little wrong and to pray for physical healing was something I never would have considered. I am not saying this was any kind of selflessness. I am not sure exactly what it was. A fear of seeming childish or perhaps it was out of fear that my faith would be shaken if the prayer wasn't answered. Regardless, this is how I generally pray. And that is not to say that I don't or didn't think that God doesn't concretely answer prayers. I believe that He does. For instance I have always prayed when overwhelmed something like "God, I cannot do this all alone, please help me" and I will somehow, someway find my way through whatever it