Questions tagged [xcode4]

Xcode 4, released in June 2011, is Apple's integrated development environment (IDE) for Mac OS X and iOS. This tag should only be used for questions about this specific version of Xcode, and not for general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, or [cocoa-touch] for iOS (formerly iPhone OS) programming questions.

Xcode 4 is the successor to Xcode 3, the main development tool for developing software under Mac OS X, targeting Mac OS and iOS. It was introduced to the developer community at Apple WWDC 2010, and the final release was published in March 2011. It was replaced by Xcode 5 in September 2013.

References

See for more information.

5408 questions
3
votes
3 answers

xCode 4 "File not Found" when creating .ipa with core-plot library

I have my app ready to ship, and I can not create the .ipa I need to do so. I have reproduced my problem in a very small example. 1) Create a new project (I used a Nav Bar application). 2) Build for Archive 3) Share. .ipa creates at specified…
Hasan
  • 41
  • 3
3
votes
1 answer

XCode4 doesn't show "C/C++ Compiler Version" option

We have a very rare problem. In some machines we have installed the last version of xcode4 and works fine. We can chose in "C/C++ Compiler Version" between GCC or LLVM, but in other machines with the same xcode4, we don't have "C/C++ Compiler…
Daniel Lahoz
  • 31
  • 1
  • 2
3
votes
2 answers

How to prevent Xcode 4 from crashing with git branch when the project file changes?

When the project file is different between two branches (say, we added a new source file), switching git branches causes Xcode 4 to crash. What's a good solution to this?
Elliot
  • 6,086
  • 11
  • 45
  • 57
3
votes
1 answer

How can I add-new or modify-existing file template in Xcode4?

How can I put a new or modifying existing file template in Xcode4?
eonil
  • 83,476
  • 81
  • 317
  • 516
3
votes
4 answers

Creating Cocoa Touch Static Library with XCode4

When creating a Cocoa Touch Static Library with XCode4, the .a file in the Products groups appear red and building doesnt fix this. Then, when adding this project to another project in the same workspace with Build Phases/Link Binary With Libraries,…
sharvey
  • 7,635
  • 7
  • 48
  • 66
3
votes
1 answer

Increase the size of the fonts used By XCode 4's GUI

How can I increase the size of XCode 4's GUI fonts (not the editor, everything else)? On my MBP 17", it's just impossible to read that XXX for hours!
cfischer
  • 24,452
  • 37
  • 131
  • 214
3
votes
2 answers

Xcode 4 project opens, then hides folders

I just upgraded to Xcode 4, and I'm trying to open a project I created with the previous Xcode, but when I open it, after about 1 second, it hides all the folders and inline projects in the project navigator, and only shows the "resources" folder.…
haider
  • 2,418
  • 3
  • 24
  • 26
3
votes
4 answers

XCode 4: Problem deleting project files within a project

I am using XCode 4. Some time ago I added two sample projects to my main project. I didn't save it as workspace so al three projects are in the same one. The problem is that I cannot delete the sample projects from my main project. When I right…
mikywan
  • 1,495
  • 1
  • 19
  • 38
3
votes
3 answers

Xcode4 workspace sharing projects

I am trying to use the new Xcode4 workspace feature to migrate some Xcode3 projects that has dependencies between them. I have a project which creates a static library and then an application project which depends on the static library. So, as the…
user320587
  • 1,347
  • 7
  • 29
  • 57
3
votes
3 answers

How can I get the Free Pascal Compiler xcode template to work with xcode 4

I'd love to start using Pascal again on the mac and fpc 2.4.2 comes with a template for xcode. However, that template was designed for an earlier version of xcode and and after I install it, I still don't see any option to use fpc in a new xcode…
David
  • 5,991
  • 5
  • 33
  • 39
3
votes
1 answer

What does RELEASE_SAFELY mean and why does it not work in xcode4?

what does RELEASE_SAFELY or RELEASE_CF_SAFELY mean? Ok, it's for releasing objects but why not use [obj release]? Besides I tried to use it in xcode 4 but I am running into buid errors: Undefined symbols for architecture i386: "_RELEASE_SAFELY",…
DarkLeafyGreen
  • 69,338
  • 131
  • 383
  • 601
3
votes
3 answers

CompanyName in all new Xcode files not working

Since upgrading to Xcode 4 my company name is not appearing in any new files I create instead this appears: Copyright 2011 MyCompanyName. All rights reserved. I have gone into Terminal and run the command and restarted Xcode but nothing…
TheLearner
  • 19,387
  • 35
  • 95
  • 163
3
votes
2 answers

How do I submit an app through Xcode 4's organizer? I'm getting an error

I installed Xcode 4, thinking it would be similar to Xcode 3, and now I cannot get my binary to the App Store using organizer which I believe is the proper way to do this. Has anyone got this working properly? Not sure what setting I need to update…
Slee
  • 27,498
  • 52
  • 145
  • 243
3
votes
1 answer

Interface Builder Off Vertically

I'm using Xcode 4.0 and when building my view in Interface Builder everything looks great. When I run my app with the simulator or iOS device the whole view is off vertically (showing a white bar at bottom). It looks to be off by 20 pixels. TabBar,…
Steve
  • 31
  • 2
3
votes
3 answers

Local Repository in Xcode 4

I want to add local svn or git repository to my code in Xcode 4. I found help for adding that to a new project. But how do I add that to an old one? I started working in Xcode 3. Recently I'm using Xcode 4. I want to use Time Line. Please help.
Raiyan Kabir
  • 1,016
  • 2
  • 11
  • 23
1 2 3
99
100