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
28
votes
4 answers

what is the difference between target and project?

here are the images of the project and target what is the difference between this two? why both are given? An image of project.. An image of target..
GameLoading
  • 6,688
  • 2
  • 33
  • 57
28
votes
12 answers

Archive does not appear in xcode4 organizer

I am trying to submit an app to iTunes using the new xcode4. I followed the apple instructions but after doing product> archive, I still do not see anything in my organizer. Can anyone help?
Jason
  • 1,059
  • 1
  • 13
  • 32
28
votes
7 answers

How can I see the full error or warning in Xcode?

No matter how large I make the window, this is all I can see of warnings: How can I see the full text of the warning at the place it appears? I could hover the mouse over the warning as it appears in the left pane and, after waiting long enough, a…
rid
  • 61,078
  • 31
  • 152
  • 193
27
votes
1 answer

iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture

I have a problem :-( When I build my application for release XCode shows a warning saying: iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture (current IPHONEOS_DEPLOYMENT_TARGET = "3.0", ARCHS = "armv7"). But…
Aluminum
  • 2,932
  • 5
  • 35
  • 63
27
votes
3 answers

Xcode 4: Keyboard shortcut for switching Assistant Editor to Tracking (Automatic) mode?

I like using the Assistant Editor in Xcode 4. I frequently Option-Click files to open them in the Assistant Editor, or use Open Quickly (Command-Shift-O), and hold the option key when selecting a file to open it in the Assistant Editor. Both of…
Jeremy
  • 2,801
  • 2
  • 30
  • 31
27
votes
7 answers

Scrolling through UIScrollView in Interface Builder for Xcode 4

This seems to me as though it would be a common problem, but I can't seem to find the answer anywhere. This question seems to address the issue, but I can't seem to get the solution to work and I'm not sure it's referring to Xcode 4. When using…
Kongress
  • 2,244
  • 3
  • 20
  • 30
27
votes
7 answers

Finding all references of a variable or a method in Xcode4

There'a a similar question here but I couldn't make use of the answers in XCode 4. I googled it but I couldn't come up with anything useful either. What's your effective method of getting this information?
aslı
  • 8,740
  • 10
  • 59
  • 80
27
votes
3 answers

Where is the resources folder for my project in Xcode 4?

When I create a new project in Xcode 4 it does not create the resources folder like Xcode 3 used to do. Is there a setting in Xcode 4 to make this work?
ronaldus_magnus
  • 311
  • 1
  • 3
  • 4
27
votes
3 answers

Adding syntax highlighting to programming languages in Xcode 4.0

Does anyone know if it's possible to add custom syntax highlighting to Xcode 4? In Xcode 3 you just had to add some files in: ~/Library/Application Support/Developer/Shared/Xcode/Specifications/ but that does not seem to work anymore?
Jyaif
  • 1,047
  • 1
  • 10
  • 17
27
votes
2 answers

Xcode - How to copy executable to new location after build?

I'm building a command line application using Xcode 4. Once the build is complete the executable is located inside the default DerivedData folder. This is OK, however I'd then like to copy this file to a specific folder. I'd like this to happen…
tarmes
  • 15,366
  • 10
  • 53
  • 87
27
votes
4 answers

What does it mean when you check on "Recursive" in Header Search Paths

I've been referencing a lot of Projects, and i do it through adding their paths in Header Search Paths. I've been following the referencing stuffs through the "Referenced Project's" getting Started (like for example including the ZXingWidget). And…
Vincent Bacalso
  • 2,071
  • 4
  • 23
  • 34
27
votes
7 answers

missing required architecture armv7 in file?

I keep getting this warning and errors can anyone help? ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms …
Popeye
  • 11,839
  • 9
  • 58
  • 91
26
votes
2 answers

There is no "share" button in Xcode 4.3 organizer

I have a valid Apple iOS dev account and all provision profiles set. I can debug the application on my iPhone. But when I do Product -> Archive and went to the organizer, there is only a "Validate..." and "Distribute..." button. Clicking the…
chakrit
  • 61,017
  • 25
  • 133
  • 162
26
votes
12 answers

Apple Mach-O Linker errors and I don't know what to do

I cannot compile my project for the device or simulator anymore. I get 13 Apple Mach-O-Linker errors. It all started after I failed attempt to use sharekit. Here is the log from the error: ld: warning: directory not found for option…
Sega dude
  • 1,103
  • 3
  • 12
  • 29
26
votes
3 answers

Simulating location changes for `startMonitoringSignificantLocationChanges`

I am writing an iPhone app and using Location Services. I am using the startMonitoringSignificantLocationChanges method on CLLocationManager. (As I understand, this is for low power, low accuracy location services.) When I build and launch my app…
ocarlsen
  • 1,312
  • 2
  • 16
  • 20