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

Can I tell lldb to use a Python other than the first on the PATH?

I'm working on adding some Python scripting in my lldb sessions, but I've found that it only works when /usr/bin/python is the first Python on the PATH. If I have another Python that is found first on the PATH then as soon as lldb initializes its…
RobinDunn
  • 6,116
  • 1
  • 15
  • 14
5
votes
3 answers

iOS 7 no longer working with XCode 4.6.3

I have XCode version 4.6.3 and have just recently upgraded the OS on my iPhone 4 to iOS 7. When I try to run my code on my device I get the following error: Xcode cannot run using the selected device. No provisioned iOS devices are available with a…
PaulG
  • 6,920
  • 12
  • 54
  • 98
5
votes
1 answer

Random duplicate symbols in xcode (C++)

I am trying to build a C++ project in Xcode 4.6.3. In my project (the beginnings of a very simple OpenGL game) I have two files: textures.h: #pragma once #include void load(); // load textures GLuint dirt, water; // variables to…
qxz
  • 3,814
  • 1
  • 14
  • 29
5
votes
5 answers

Can the iOS 7 Simulator work with Xcode 4.6.3?

Tried copying over the iOS 7.0 Simulator to the Xcode 4.6.3 bundle in the correct location. It does show up in the Device List, and the simulator starts, but then pinwheels. I had to hard stop the simulator and Xcode. I'm mainly just curious, but…
ort11
  • 3,359
  • 4
  • 36
  • 69
5
votes
4 answers

Using boost from XCODE 4.6.1 - what are the proper build settings?

I downloaded boost 1.53 and extracted to Users/user/Desktop/boost_1_53_0 I successfully built boost as static libraries following instructions at: http://libcinder.org/docs/v0.8.5/_cinder_boost.html I changed XCODE's "Build Settings" "Header Search…
bhartsb
  • 1,316
  • 14
  • 39
5
votes
2 answers

Jenkins iOS job broken because "FATAL: Log statements out of sync: current test case was null"

I setup a jenkins job for my iOS project. The host target runs smoothly while the unit test target failed on a very strange reason given by "jenkins console output" as below: [DEBUG] Test Case '-[WhereYouAreTests testShowMainTopbar]' started. Test…
5
votes
3 answers

Non-type template argument evaluates to -1, which cannot be narrowed to type 'unsigned long long' xcode 4.6

I am using zxing and OpenCV lib in my project. I updated my XCode from 4.5 to 4.6 today and I am getting this error. externalLibs/boost/include/boost/gil/channel_algorithm.hpp:54:85: Non-type template argument evaluates to -1, which cannot be…
riyaz
  • 514
  • 4
  • 17
5
votes
2 answers

Kobold2d generates errors after upgraded Xcode to 4.6

After upgrading my Xcode to 4.6, Kobold2d 2.0.4 generates error as below. Anyone encounter this problem too? Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1 CompileC…
4
votes
2 answers

How to programmatically select a UITextField for editing

I have a UITextField that I need to select programmatically so when the user taps on a date in a UIDatePicker, it will be sent to that UITextField. This is the code I have, which does not select the UITextField; I have tried all possible…
SpokaneDude
  • 4,856
  • 13
  • 64
  • 120
4
votes
7 answers

Could not open workspace file of Xcode

When I am open my project in Xcode. it's not open. Display following alert. I also delete the project.xcworkspace file and create new scheme for this project. so that it can be open. but when I am shut down or restart my pc and then once again…
ChandreshKanetiya
  • 2,414
  • 5
  • 27
  • 41
4
votes
2 answers

How can I develop C# in Xcode?

I installed the mono CSharpPlugin for Xcode but I don't see an entry in the New Project wizard that looks like "CSharp Project" or something similar. My guess is that the plugin hasn't been developed lately and it doesn't work with the newer…
Adrian Oprea
  • 2,360
  • 3
  • 21
  • 23
4
votes
7 answers

[self.navigationController pushViewController:ngView animated:YES]; not working

If i use NGViewController *ngView = [[NGViewController alloc]initWithNibName:Nil bundle:Nil]; [self presentViewController:ngView animated:NO completion:nil]; above code the controller will go to NGViewController page. But if I use this navigation…
Nithinbemitk
  • 2,710
  • 4
  • 24
  • 27
4
votes
1 answer

Backup Code Snippets for Xcode 4.6

I've been searching for backing up user code snippet for Xcode, and i got this below which is only for system snippets! For Xcode's self contained app. This is the exact file path of the default snippets: …
webmastx
  • 683
  • 1
  • 8
  • 30
4
votes
1 answer

Xcode has the wrong debug values while paused in the debugger

I am having a strange problem in Xcode. After I use insertObject:withIndex: on this NSMutableArray object, the debug window shows the wrong value for the array even though the correct values are show for the other locals and this assertion is one…
Segfault
  • 8,036
  • 3
  • 35
  • 54
4
votes
1 answer

How does removing armv7s xCode 4.6 valid architecture project property affect App Store distribution of my iOS apps?

I have a project that I created before iPhone 5 was released and I'm working on this project in xCode 4.6. By default xCode changes the build architecture of new projects to include the latest iPhone 5 instruction set. One of the issues I faced is…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407