Questions tagged [xcode4.1]

The July 2011 release of Xcode, Apple's integrated development environment (IDE) for for its Mac OS X and iOS platforms.

Xcode is Apple's integrated development environment (IDE) for development for its Mac OS X () and iOS (/) platforms. Documentation for Xcode 4, the newest major version, can be found in Apple's Xcode 4 User Guide. Apple also has a good starting point for new users.

This tag covers:

  • Project organization
  • Source code editing
  • Build system
  • Unit testing
  • Interface Builder (in Xcode 4 and later only; it is separate in 3 and earlier)

Xcode comes with Apple's Mac OS X and iOS SDKs bundled, but that does not mean questions about the use of those SDKs are questions about the IDE. Consider what changes your question would require if you were using vi to edit and make to build; if your question would remain unchanged, then it is not an Xcode question, so you should not give your question the tag. Use the (Mac) and/or (iOS) tags instead.

See for more information.

32 questions
52
votes
4 answers

How to solve Xcode 4.1 (LION) GPS error?

My project worked perfectly on simulator+device, but now, after upgrading to lion os and xcode 4.1, I get this error when gps is active! server did not accept client registration 68 It's a gps based application, and i'm nervous to not debug app in…
elp
  • 8,021
  • 7
  • 61
  • 120
23
votes
5 answers

How to turn off reopen projects on Xcode launch In Xcode 4.1 & later

In Xcode 4.1 to present (4.2.1), if I close Xcode without first closing the project, the project will be automatically reopened the next time I launch Xcode. Previously I would have gotten the Welcome Screen. Is there a way to change this so that…
user523234
  • 14,323
  • 10
  • 62
  • 102
9
votes
2 answers

Xcode 4.1 behaviours - automate closing a tab?

I have my behaviours set up so that on successfully running a build, Xcode will open a custom debug window. I would like to then close this window when the run completes, however I cannot see an option for this. The best I can manage is returning…
Stuart
  • 36,683
  • 19
  • 101
  • 139
8
votes
2 answers

Xcode 4 file complete path

If I have any file open in Xcode and I would like to know the complete path to the file, how do I do that in Xcode 4? In Xcode 3 I could hover over the file name and get a tooltip with the complete path. I could also right-click a file name at the…
Tamer
  • 876
  • 2
  • 10
  • 22
6
votes
1 answer

Command libtool failed with exit code 1

I've created a static library C++ project but when I compile I get the following error: XCode 4.1 (Lion) doesn't show me any more information what's going wrong. I'm using clang. How can I find out what went wrong?
jhasse
  • 2,379
  • 1
  • 30
  • 40
5
votes
0 answers

Xcode 4.1, SVN source control, Update in menu accessible, but update button in version control greyed out

I know there are a lot of questions on here that are quite similar to mine, but I looked through as many as I could and never found anyone with this specific problem. I have a access to an SVN server that seems to be setup properly. I have…
James Paul Mason
  • 1,051
  • 1
  • 13
  • 27
4
votes
2 answers

Dealloc method disappeared from XCode 4.1 UIViewController template

I have been using XCode 3.2.4 when started developing iOS apps but now I turned to XCode 4.1 with iOS 4.3 SDK. I noticed that now dealloc method is not added automatically when I create UIViewController class from XCode template as were in XCode…
Mitry
  • 375
  • 4
  • 13
3
votes
1 answer

Remove UIToolBar Buttons not working

I'm trying to hide toolbar buttons. First In my viewDidLoad I hide some of them and that works perfectly. I do not want to hide btnCreateReport Yet. I just use: NSMutableArray *items = [[myToolBar.items mutableCopy] autorelease]; [items…
Mick
  • 147
  • 9
3
votes
2 answers

How does one send the image background behind the buttons while using Interface builder in Xcode 4.1

The earlier version of xcode had a layout option in which one could select push to back. But the new version does not have it
atash
  • 41
  • 1
  • 1
  • 3
3
votes
3 answers

consequences of itunes app name being different then xcode project name

what are the consequences of itunes app name being different then xcode project name? Will my app not be accepted into the store if they are dfferent? fyi I already created an app called X on itunes connect and linked it to an xcode project named Y.…
osnewb
  • 71
  • 1
  • 5
2
votes
1 answer

Cannot build source code in Xcode 4.1 with iOS 4.3.5 device

I have been developing in Xcode 4.1 with iphone of iOS 4.3.5. It was fine without a version mismatch problem. Today, I connected another iphone which has the same version of iOS (4.3.5) and I could not build source code on to the device. The…
heemin
  • 321
  • 3
  • 12
2
votes
2 answers

How to use device instead of Simulator

I am a new with iphone development and want to test my application on my iphone . I have paid $100 but can not find any way to workout how to do that . There are some references around but they are for xcode 3. Any help would be much appreciated.
Java Ka Baby
  • 4,880
  • 11
  • 39
  • 51
1
vote
1 answer

application not running on a device in Xcode 4.2

Everytime I run my application in Xcode 4.2 with iOs 5, Xcode says it finished running on my device but actually it doesn't build there, it just finished running. But when I run my application in Xcode 4.1 it runs in my device. by the way, my device…
Jahn
  • 97
  • 2
  • 10
1
vote
2 answers

iPhone simulator black screen in xcode 4.1 on Lion (iAtkos L1)

i am new to mac and i started working on iOS programming. Recently i get problem when i run or click on Build & Go button (in Xcode 4.1), my project does building but Xcode isn't able to run my application in iPhone simulator. I just see blacnk…
Idrees Khan
  • 7,702
  • 18
  • 63
  • 111
1
vote
1 answer

XCode does not give any useful information in autocomplete

In older versions of Xcode (before Xcode 4.1), hitting ESC would give a very useful autocomplete window, including the return value of any methods available. However, in XCode 4.1, hitting ESC gives a much less useful autocomplete helper. It dos not…
Jason
  • 14,517
  • 25
  • 92
  • 153
1
2 3