Questions tagged [xcode4.6]

the Jan. 28, 2013 release of Apple's integrated development environment (IDE) for Mac OS X and iOS. USAGE NOTE: Use this tag only for questions that are specific to this version of Xcode, and not for general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, and [cocoa-touch] or [ios] for iOS programming questions.

Xcode 4.6, Apple's integrated development environment (IDE) for Mac OS X and iOS, was released January 28, 2013.

Use this tag for questions that are specific to Xcode 4.6, and not for general programming questions. Use the or tags for macOS programming questions; use the or tags for iOS (formerly iPhone OS) programming questions; for questions about the Objective-C language and its features, use the tag; also, avoid adding the Xcode tag if your question would stay the same if you would use any other editor for writing your program code.

Features of the 4.6 release:

  • Includes iOS SDK: iOS 6.1
  • Includes Mac SDK: OS X Mountain Lion 10.8

Device support (added):

  • iPad mini
  • iPad with Retina display (4th generation)

Changes:

  • Xcode 4.6 is the last release to include the LLVM-GCC compiler and the GDB debugger.
  • Package Maker app was deprecated, use the productbuild command to create installer packages.

Source: Release notes for Xcode 4.6

See for more information.

442 questions
158
votes
9 answers

Could not insert new outlet connection

Could not insert new outlet connection: Could not find any information for the class and not showing any class named "ViewController" Solutions I have done : - Restarted XCode - Restarted System - Deleted the Deriveddata contents from…
Noufal Kmc
  • 2,020
  • 3
  • 15
  • 20
88
votes
9 answers

Xcode version 4.6.2 (4H1003) compiler error

I just updated to Xcode version 4.6.2 (4H10003) and tried to run a previously working application project in the simulator and received the following error and the build failed. PCH file built from a different branch ((clang-425.0.27)) than the…
OscarTheGrouch
  • 2,374
  • 4
  • 28
  • 39
73
votes
1 answer

How do I create a new C++ project in Xcode?

I'm not sure how to create a pure C++ project with Xcode 4.6:
YasBES
  • 2,365
  • 3
  • 21
  • 33
54
votes
11 answers

Modal segue, navigation bar disappears

I'm using Xcode 4.6.1 to code on Objective-C. I want to know how can I keep the navigation bar shown when I create a modal segue between 2 View controllers, because I'm doing the segue in the storyboard and when I run the application the navigation…
Johnny Dahdah
  • 995
  • 5
  • 15
  • 21
36
votes
2 answers

iOS 6.1 and Xcode 4.6, enumaration warning UIViewAnimationCurveEaseOut

i have installed the new iOS 6.1 and Xcode 4.6, and now i have some warning of enumeration in my code, i can't resolve this: [UIView animateWithDuration:0.4 delay:0.0 …
Piero
  • 9,173
  • 18
  • 90
  • 160
35
votes
1 answer

"po" command in Xcode 4.6 is very slow the first time

I upgraded to Xcode 4.6 and whenever I debug and I execute "po" for the first time to inspect an object, the debugger takes like 1 minute to return. After that, every "po" command will work fast as usual. Are you guys seeing this as well? Any…
LocoMike
  • 5,626
  • 5
  • 30
  • 43
33
votes
1 answer

changing the project and target name in XCode

I created a project and I fully developed it. I need to change the name of the project and targets. is there an easy way to do that or should I just create a new project and copy all the items in there? Thanks
user1415780
  • 1,153
  • 5
  • 16
  • 33
32
votes
1 answer

Where to set environment variables for app?

I'm working with source code that is frozen and cannot be changed; but its ENV aware and expects changes through the ENV. The source code is being used in an Xcode 4/iOS project. Xcode 3 allowed us to set environmental variables on the app in the…
jww
  • 97,681
  • 90
  • 411
  • 885
32
votes
3 answers

Xcode 4.6.2 app crashes on every second run

Xcode 4.6.2 seems quite buggy. When I run a second time my any project I get SIGABRT crash within the first second. I completely removed Xcode and reinstalled, (yeah I try turn off and on again). Also I removed command line tools and simulators,…
Ilya Ilin
  • 2,283
  • 21
  • 27
32
votes
6 answers

Changed project name in Xcode causing naming error

My old name consisted of a camel case type name similar to this MyApp I then changed it to Myapp 'notice the A is now non-caps' I changed this by clicking MyApp name in the navigator menu and changing it, up came a help box asking me to do system…
HurkNburkS
  • 5,492
  • 19
  • 100
  • 183
25
votes
2 answers

Xcode warning "profiling: invalid magic number"

I just installed Xcode 4.6. When I run my OCUnit tests now, I get multiple lines with "profiling: invalid magic number" in the output window after all tests have finished. I'm pretty sure that Xcode 4.5.2 didn't give me that output. Does anybody…
Dorian Roy
  • 3,094
  • 2
  • 31
  • 51
17
votes
2 answers

How to execute a class member function in a separate thread using C++11 thread class?

I'm trying to use the C++11's std::thread class to run a member function of a class to execute in parallel. The header file's code is similar to: class SomeClass { vector classVector; void threadFunction(bool arg1, bool arg2); public: …
Raiyan Kabir
  • 1,016
  • 2
  • 11
  • 23
16
votes
7 answers

.app file not found in Derived Data

When trying to compile my project I am getting this error and am wondering if anyone knows how to fix it? I've read every answer on SO and elsewhere on the internet pertaining to this kind of linker error. I've tried so many solutions, including…
dwf
  • 309
  • 1
  • 4
  • 13
16
votes
2 answers

Error launching remote program: launch or suspend in progress

I'm suddenly getting this error when launching my app on an actual device but not on the simulator, where it appears to run fine. I've tried deleting the app from the iPad. I've also tried clearing out ~/Library/Developer/Xcode/DerivedData as…
Robert
  • 5,278
  • 43
  • 65
  • 115
16
votes
10 answers

Mach-O Linker Error on Xcode 4.6

I have an iOS app on Xcode 4.6 and when I recently tried to build and run in the iPhone 6.1 simulator I got a "Mach-O Linker Error." It continued to say: ld: 17 duplicate symbols for architecture i386 clang: error: linker command failed with exit…
user1253582
  • 185
  • 1
  • 1
  • 5
1
2 3
29 30