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
1 answer

Bindings in XCode 4 for iOS

I can't find the bindings pane in XCode 4 interface builder. Is it removed? Thanks.
user635064
  • 6,219
  • 12
  • 54
  • 100
3
votes
3 answers

Why automatically generated Core Data Project contain synthesize for the managedObjectContext?

When we create core data object automatically I see a line @synthesize managedObjectContext=__managedObjectContext; However, I do not think we will ever need that line because the code also generate a function - (NSManagedObjectContext…
user4951
  • 32,206
  • 53
  • 172
  • 282
3
votes
1 answer

Removing Icon Bevel IN XCODE 4

I know this shouldn't be ANY different than in a previous xcode and I know there are questions asking this BEFORE xcode 4 came out... But the info.plist in xcode 4, instead of "Icon already includes gloss and bevel effects" it is "Icon already…
Theme
  • 417
  • 6
  • 18
3
votes
2 answers

Xcode 4 Icon Problem !

My problem is: Icon specified in the Info.plist not found under the top level app wrapper: Icon.png (-19007) I've done exactly what Apple documentation says and I'm still getting this warning! I have everything set, everything is in PNG, the size…
Cadrick Loh
  • 721
  • 1
  • 7
  • 19
3
votes
1 answer

How do I set up environment variables for my product in Xcode 4?

I just recently move to Xcode 4, now I'm stuck trying to find the executable file (it used to be in the left pane of Xcode 3), anyone know where it is? Since I'm trying to adding a new environment variable to debug my program. Thank you in advance.
Viken Ong
  • 109
  • 2
  • 10
3
votes
5 answers

UIAlertView buttons action code

Do anyone know how to make actions for the buttons in UIAlertview? if so, please guide me.
adhees
  • 79
  • 2
  • 5
3
votes
3 answers

Can I inspect a Core Data model from Xcode?

Can I inspect a Core Data model from Xcode? I want to see if the data are correctly stored into the database.
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
3
votes
1 answer

why doesn't this work in XCode debug window "po [myNsDateComponent weekday]"

why doesn't this work in XCode debug window "po [myNsDateComponent weekday]" ? Specific example: (gdb) po weEndDayTime (gdb) po [weEndDayTime weekday] 0x2 does not appear to point to a valid object.
Greg
  • 34,042
  • 79
  • 253
  • 454
3
votes
1 answer

How do I stop setup.py from trying to include -arch ppc on MacOSX builds?

It appears that Xcode4 doesn't include PPC as a build option anymore. When using setup.py for modules that include C extensions, setup.py always attempts the build with these options: gcc-4.2 ... -DMACOSX -arch i386 -arch ppc ... This fails with…
Calvin
  • 4,177
  • 1
  • 16
  • 17
3
votes
2 answers

Linking error in Xcode 4

I know this is a long shot but, I've been having trouble with a linker error that I specifically don't understand. Please refer to the picture below. The project contains 4 targets. This error points specifically to one target that is a BSD/Shell…
David
  • 14,205
  • 20
  • 97
  • 144
3
votes
1 answer

How to set padding in UILabel in UIBuilder?

How can I specify the text offset (or if you prefer padding size) in my "UILabel" field in UIBilder ? The text starts exactly on the border, and I would like to specify padding (such as in css) because I'm also assigning a background color to the…
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
3
votes
2 answers

What is the Xcode 4 shortcut to move the cursor to the commit message

XCode 4's Commit interface is great. However I am really lazy and I want to commit without the use of a mouse. cmd-alt-c brings up the commit dialogue. However, when I type no text appears because the lower text box is not in focus. How do I move…
Robert
  • 37,670
  • 37
  • 171
  • 213
3
votes
2 answers

Managing libraries in Xcode 4

I'm currently trying to import the facebook-ios-sdk into one of my projects. My approach is to import my project and the project of the facebook-ios-sdk into one workspace, but my project can't find the header files of the facebook sdk. I thought…
LeonS
  • 2,684
  • 2
  • 31
  • 36
3
votes
1 answer

XCode4 Override Repository Offline

I decided to try out the integrated version control feature in XCode 4 (using git). I have an ssh config file that looks similar to this: Host server Hostname server.example.com Port 1234 When I add the repository to XCode I give it the…
user736399
3
votes
2 answers

iPhone - System strings not localized on device

I build a project using XCode 4 and I was running on the simulator since now. I had noticed that the strings in System type "Edit" and "Save" buttons where in english, but everything in my simulator was set to french. I suspected a bug like the one…
Oliver
  • 23,072
  • 33
  • 138
  • 230