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

How do I step-over or continue after a c assert in ios/xcode?

I have searched, but cannot find how (or if) I can step over or continue after a c assert() in xcode 4/ios 5.0. I am using c++ not objective-c. Will I need to define my own assert to achieve this? Thanks~
ashleysmithgpu
  • 1,867
  • 20
  • 39
3
votes
1 answer

Code Sign Error: Distribution

I am just trying to process application submission, I did following 1- Created 2 Certificate Requests , one for Development and One for Distribution 2- Generated Development and Distribution Ceretifcates from Portal. 3- Generated and Downloaded…
Dumb Code
  • 438
  • 3
  • 12
3
votes
2 answers

Disabling warnings about Boost headers in XCode 4.1

I am writing a C++ program that uses Boost, using XCode 4.1 as IDE and compiler front-end. I get quite a lot of warnings in various Boost headers, and I would like to disable all warnings for those headers (but still enable them for my own project).…
Andrea Bergia
  • 5,502
  • 1
  • 23
  • 38
3
votes
1 answer

Xcode 4 breakpoint switches to "assistant view"

How to prevent switching from "standard view" to "editor view" in Xcode 4 when I'm debugging and hitting a breakpoint? I want to remain in editor view.
user521048
  • 79
  • 1
  • 6
3
votes
1 answer

Xcode: Convert "Command Line Tool" Project to "C/C++ Library" Project

If I have a "Command Line Tool" project in Xcode, and just want to build a "C/C++ Library", can I convert my existing project without deleting the project file and starting from scratch? (I want to maintain all my groups / organization / settings /…
Steve
  • 31,144
  • 19
  • 99
  • 122
3
votes
2 answers

Xcode 4 & Mac OSX 10.3?

I'm new at programming on the Mac. I've got me a brand new copy of XCode 4.0. I've got people asking me what versions of MacOSX we'll be able to support but I'm not sure what to tell them. I see options for selecting an "SDK" and other options for…
bugfixr
  • 7,997
  • 18
  • 91
  • 144
3
votes
3 answers

How to set UITableViewCell Identifier in Xcode 4

In Xcode 4, I failed to find where to set UITableViewCell's Identifier, can anybody helps me? Thank you very much.
Smeegol
  • 2,014
  • 4
  • 29
  • 44
3
votes
2 answers

determine if a sprite is on screen or not in cocos2d

i want to determine if the sprite is in the screen or not in cocos2d. am using the code some thing like these. CGSize winSize = [CCDirector sharedDirector].winSize; if (_SmallBlueAlien1.position.x> 0 || _SmallBlueAlien1.position.x >…
Srinivas
  • 1,059
  • 1
  • 11
  • 26
3
votes
2 answers

Implementing Facebook Connect for iPhone using xcode 4

I'm having trouble getting Facebook Connect working. I (attempt) to follow the instructions located at http://www.mobisoftinfotech.com/blog/iphone/iphone-fbconnect-facebook-connect-tutorial/ but it seems to be for earlier versions of xcode. Here are…
Jason
  • 17,276
  • 23
  • 73
  • 114
3
votes
2 answers

linker error Assertion failed: (atom->fixupCount() == 1)

Using Xcode 4.0.2, I have a target that compiles, links, and runs properly in the simulator. However when I compile and link it for an iOS device I get the following (full) linker error: Ld…
mmorris
  • 4,006
  • 3
  • 27
  • 29
3
votes
1 answer

RestKit build error: ../NSManagedObject+ActiveRecord.h:19: error: cannot find interface declaration for 'NSManagedObject'

I've linked RestKit in an xcode 4 project, as described on the GitHub install page and am getting this error while trying to build. Does anyone know what is going on? I've asked on the RestKit IRC channel as well, and am waiting for an answer. The…
Shyam Habarakada
  • 15,367
  • 3
  • 36
  • 47
3
votes
3 answers

Look inside objects in the Xcode 4 debugger

I understand that when you reach a breakpoint while debugging in Xcode you can hover the mouse pointer over objects and see their properties. But with most objects you only get a few of the properties. The rest are hidden. Trying this with a…
Christian Schlensker
  • 21,708
  • 19
  • 73
  • 121
3
votes
3 answers

How to Find & Replace text in a file using Objective C?

I am new to Xcode and was wondering if anyone could help me with this. I need to make an application that is able to open a file and replace its contents. E.g. (in psuedo code) Replace("String1", "String2", "~/Desktop/Sample.txt") Please let me know…
Conk
  • 33
  • 1
  • 4
3
votes
2 answers

NSTextField leaking when handling key events

I'm new to this forum and I have searched but not found any answers to this problem which has been puzzling me for best part of this week. An NSTextField causes a memory leak every time a key is pressed. I have isolated this problem from my code and…
helioz
  • 910
  • 11
  • 22
3
votes
2 answers

Building for x86 and x64 platform with CMake with Xcode and Visual studio

I started using CMake pretty recently. It is a really easy script language but there are many tricks to learn and tutorials on the cmake website is not much help. Basically I want to build my project for Windows (using visual studio 2010) x86 and…
lollancf37
  • 1,105
  • 3
  • 15
  • 27