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

Running Goals or Running Goal; What is it That I Want?

The other day I got all caught up in setting running goals for myself for the rest of the year. After the goals were set, I found myself starting to worry about how I was going to reach them. Wondering if there would be time to sufficiently prepare for them all. My goals were to run a 5k in under 20 minutes, to run a half marathon in 1:25 minutes and qualify for and run in the Boston marathon in 2014. At first, I thought that setting and meeting these goals would make me a more serious runner. In fact, I thought that to be the "serious" runner I want to be that I needed these goals. However, while I was running the other morning I realized that first of all, I was thinking about how to shift my training to meet my 5k goal. Then I began thinking about the right approach to a 1:25 half while training to qualify for Boston in a full marathon a month later. That is when I realized that the ancillary goals were starting to consume my focus and quite possibly i...

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...

The Rosary: Staying Focused

There are several obstacles that someone who has committed to pray the Rosary will face. Since the Rosary is a long prayer one of the biggest challenges I face is staying focused. If you have read my other posts or if you are just familiar with the prayer, you know that the mental contemplation of the Mysteries is the main focus of the prayer. So getting distracted really detracts from the prayer. Even if I am only praying 1 chaplet of the Rosary, it still takes about 20 minutes. In that amount of time your mind is bound to wander some. I have found several different things to help me when my mind begins to drift off to the worries of everyday life. The first is to understand that this is going to happen and be watching for it. If I am not vigilant I can get through a whole decade and realize I have not thought one single time about the Mystery that I should have been contemplating. So before I begin the prayer I make a conscious determination to be watchful of my wandering mind. O...