WARNING: Almost all questions about development or app distribution are off topic here. See the FAQs for details. Xcode is Apple's official software development environment for Mac OS X and iOS

learn more… | top users | synonyms

27
votes
17answers
30k views

Xcode failed to download. Use the Purchases page to try again

Xcode is showing in the Mac App Store, ready to be updated. Clicking update results in an error: Xcode failed to download. Use the Purchases page to try again. Steps taken that didn't help: ...
1
vote
5answers
13k views

Xcode for iPad?

I don't have an Apple computer, only iPad and Debian computer but I still would like to add a feature to iOS app here. Earlier I found out that I can download Xcode, more here, from Apple Store. Now I ...
2
votes
1answer
145 views

Xcode.app gets scanned by socketfilterfw (OS X Firewall) at every launch

Situation: When I launch Xcode, socketfilterfw, OS X's application based firewall, starts using a lot of CPU. After some research I narrowed it down to this: socketfilterfw reads all the files in ...
2
votes
2answers
58 views

Retina Macbook Pro 15“ 2015 vs iMAC 21” 3.1 GHZ i7 256 SSD [on hold]

I need to purchase a new Mac computer to start developing iOS apps using Xcode and Swift. It's my first time Mac ever so I'm confused. I know its kinda of portability choice between the 2 models but ...
0
votes
1answer
8 views

Xcode 6, Yosemite and iOS device with iOS6

I'm testing the app that is built using latest iOS8 SDK, but deployment target is set to iOS6 (it still has to run on iPod Touch 4th gen). I know that there is no iOS6 simulator available on Yosemite, ...
2
votes
4answers
6k views

Xcode cannot run using the selected device?

I am developing my first ever iOS mobile app. I am using OS X Lion 10.7.5 with Xcode 4.6 for development. I completed my app and now want to test on a device. When I am trying to connect iPad Air with ...
0
votes
0answers
16 views

Assign min and max values to WKInterfaceSlider in Swift code [on hold]

I want to assign the minimum and maximum value for WKInterfaceSlider in the Swift code, not through the interface because I will get code from the server which won't always be the same. In my current ...
-1
votes
4answers
947 views

Xcode 6.1 , Storyboard, Ctrl+Drag doesnt work, not even blue line

I just upgraded to XCode 6.1 I started to create a Mac, Cocoa application. In story board, i put a button on view controller, and tried to CTRL+DRAG it to the source code. Problem is that it ...
0
votes
0answers
12 views

How to get all the coordinate points (X and Y) in ios [on hold]

I am writing an app which allows the user to draw what ever they want in the view. While they drawing I am sending the coordinate values simultaneously to web using Json and draw the same diagram in ...
0
votes
1answer
15 views

CMD + = shortcut on non standard USA keyboard (bluetooth)?

I need to execute a shortcut key of CMD + =, problem is that the = on my keyboard (non usa, european) it is obtained by pressing the Shift on the 0 (zero) ... So I tried doing CMD + Shift + 0 but ...
2
votes
2answers
18 views

Publishing app with iAd but no completed contract

Would it be possible to submit an app with iAd in it, without having your iAd contract completed? Since it would be like 7-14 days for Apple to review the app and publish it. Could I submit my app ...
0
votes
0answers
34 views

After Xcode update, simulator has wrong sizes

I just updated Xcode. When the simulator opens, the actual screen is bigger than the overall screen. Here is an image: I am not sure what's wrong. How can I fix this? I already tried changing the ...
1
vote
0answers
14 views

xcode odd behaiviour and bad rendering code

Recently I'm experiencing some odd behavior from xcode. It jump up and down on its own, it does not render codes correctly. Like this screenshot ↓ It's driving me crazy. Have this ever occurred to ...
0
votes
0answers
12 views

Instruments Not Able to Launch the iOS 8.1 Simulator Unless it is Pre-Selected Manually

My UI Tests running in Instruments not able to launch the iOS 8.1 Simulator unless the Device is manually selected. For Example, if I have 'iPad 2' as my current selected device, trying to launch ...
2
votes
4answers
113 views

Mac mini 2012 (2.3 quad core) Vs late 2014 (2.8 dual core)

I'm on my way to buy my new mac mini for my IOS development and I'm a bit unfamiliar with Apple products so I just want an advice from experts about that. my budget is not that high so I have 2 ...
0
votes
0answers
10 views

Stop xcode opening file on startup

I cloned my hard drive onto an SSD using SuperDuper. Now when I boot using the SSD, xcode opens an obscure source code file living in /opt (always the same file). I've tried quitting xcode, restart ...
0
votes
0answers
14 views

xcode not responding/hanging on start up/loading time

When I close a project and re-open any project it takes just less than 1 minute to load, but when I exit completely from Xcode and re-open any project it takes about 10-15 minutes to load. I see ...
0
votes
1answer
9 views

To discontinue line in many lines in Xcode

I have the following code, but I do not want it to continue to many lines. I want everything in one line. How can you prevent this from happening?
0
votes
1answer
31 views

Home Server for an iOS developer | Xcode continuous integration

I am currently developing websites and ios applications. Recently, I decided to install a home server for cloud/back-up purposes and especially for xcode server(helping me test my builds) with version ...
1
vote
1answer
170 views

Where can I get a signed iOS 8.2 .ipsw file for iPhone 4S?

Until about a week ago, Apple offered a signed version of iOS 8.2. Now the file is not signed anymore. Is there any place where I can still download the signed version of the file? Does anyone still ...
5
votes
1answer
6k views

cannot install iOS 7.1 simulator for Xcode 6 (weird file mounting error)

I have XCode 5.1 working without problems with iOS 7.1 simulators until yesterday when I upgraded to Xcode 6, the installation was completed successfully, but whenever I try to download and install ...
0
votes
0answers
13 views

Change line spacing in Xcode 6

I've seen this question asked before in Stack Overflow, but for Xcode 4, so I guess I'll give it a try: Is it possible to change line spacing in Xcode 6? If so, how? Thanks in advance.
1
vote
3answers
777 views

iOS Simulator installed app location in Xcode 6.1

I am trying to locate the actual location of app installed on iOS Simulator. I am using OSX 10.9.4 with Xcode 6.1 Already tried looking Application Support folder but can't find the simulator ...
1
vote
1answer
58 views

How to link back to the correct C compiler?

While trying to install fink-0.38.4 I get the ERROR: There is no C compiler on your system. Make sure that the Developer Tools are installed. I have got errors about missing a C compiler while trying ...
3
votes
0answers
22 views

How to display project name in minimized Xcode?

When Xcode project window is collapsed to dock it shows name of the current file: Is there any way to customize Xcode, so it will show project name in the dock, or "project_name - file_name"?
0
votes
0answers
13 views

images work for iPad Retina simulator but not for iPad Air?

Running in iPad Retina simulator, everything looks great. Correct scale, etc. But when running in iPad Air simulator, graphics and positioning are all half of what they should be. Basically the ...
3
votes
1answer
7k views

Updating / Upgrading Xcode to 6.0.1 does not work

so I tried to upgrade my Xcode to 6.0.1 from 5.6 or something. I'm running on Mac OS X Mavericks 10.9.5 yet. The problem is that it starts downloading Xcode form the Mac AppStore and already ...
1
vote
1answer
3k views

How do delete stuck download of Xcode 5 from app store?

Initially I was downloading Xcode 5 from the Mac App Store, but I found it extremely slow, and so I stopped the download. Then I downloaded it from the developer web site instead, which was much ...
1
vote
0answers
67 views

Disable OS X Server's shutdown prompt?

I've just installed OS X Server. Whenever I try to shut it down (as a local interactive user), I keep seeing a prompt that requires me to enter an admin's name and password before proceeding with the ...
6
votes
2answers
4k views

Command Line Tools fail to install OSX Lion 10.7.3 Xcode 4.3

I'm trying to install the command line tools to get gcc, make, and other goodies after a Lion upgrade. I went to preferences/Downloads in XCode and attempted to install the command line tools. At the ...
0
votes
0answers
10 views

Any way to change language setting on physical iPhone through automation?

I'm using Appium to run automated tests on a physical iPhone. The app I'm testing is multilingual so I need to test it on various languages. I've searched and searched but cannot find a way to ...
1
vote
0answers
145 views

Command line tool installed, but gcc/g++ compiler not working

Heads up, I have a similar problem such as in this question, but it wasn't resolved: how to debug configure.sh errors when compiling rsync on Yosemite So basically I am looking to compile code via ...
1
vote
2answers
31 views

Is there any way to get OS X to keep the iOS Simulator icon in the dock across Xcode upgrades?

I use the iOS Simulator often to check webpages so I run it and pick "Keep in Dock". That's works except every time Xcode upgrades it's no longer in the dock and I have to go digging for it again. Is ...
0
votes
1answer
19 views

WWDC scholarship

I submitted my WWDC Scholarship app and the first time I tried submitting it, it just logged me out. The second time it worked but my .app file was in the Xcode project, is that ok?
2
votes
2answers
1k views

“xcode-select --install” versus retrieving the dmg from Apple's developer website

I would to ask a question closely related to already existing posts (How to install command line tools without error that is not currently available on Software Update server? and ...
8
votes
3answers
13k views

How do I run the iPad simulator to test a website on my mac

I've developed a web app which is having some weird issues on iOS safari on my iPad. I've never developed an iOS app, although I am a developer (c#) and have downloaded the latest xcode dev tools ...
31
votes
3answers
7k views

XCode 6 on Yosemite crashing in fullscreen mode when build & running app on device

Xcode 6 on Yosemite crashes everytime when pressing Build&Run on Device. Current window disappears and Start screen appears. Anyone else experiencing this? UPDATE: As it seems Xcode is not ...
31
votes
8answers
32k views

OS X computer name not matching what shows on terminal

My computer name in System Preferences > sharing is set to "archos" but is showing as "iphone" on the terminal. It just started doing this after I loaded Xcode for doing iPhone development. Last ...
0
votes
2answers
5k views

Xcode 5.1.1 cannot run on device with iOS 8.0 version

I am using Xcode 5.1.1 as I require an app which supports iOS 6.1 and Above with base SDK iOS 7.1. I tried upgrading Xcode 6.0 but it is not able to run iOS 6.1 simulators. So I reverted back to Xcode ...
1
vote
0answers
28 views

Disable three finger drag on Xcode

I want to use the three finger vertical swipe to switch between header and implementation files on Xcode, but this stops working when I have three finger drag enabled in system preferences. I've ...
0
votes
0answers
27 views

Debug iOS Application using distribution certificate

I have Xcode setup with distribution certificate, when i run the application, It gets installed in the device but halts the connection in Xcode and throws an error. The issue is, the application ...
3
votes
1answer
1k views

Is Xcode with Swift on Mavericks possible?

My school computers have OS X 10.9.4 on them but they don't want to update them because of incompatibility with their Music class software. From what I see on Apple's website Xcode 6.4 and 6.3.1 both ...
0
votes
2answers
97 views

Determine xcode command line tools version

How do I determine what version(s) of xcode command line tools I have? I tried doing $ gcc --version Configured with: --prefix=/Library/Developer/CommandLineTools/usr ...
0
votes
1answer
40 views

Is it possible to enable Code Folding in Xcode for Bash scripts?

I work a lot with bash scripts and some of them can get pretty lengthy. Up until now, I've been using BBEdit as my editor of choice because of the way it handles locked files and permissions. But ... ...
1
vote
1answer
31 views

Hide Xcode's toolbar in fullscreen mode

How can I hide Xcode's toolbar in fullscreen mode (cmd + ctrl + f)? I tried to hide it and then go into fullscreen but it appeared immediately. Also I tried to hide it using right-click -> hide ...
1
vote
3answers
4k views

How would I bring View Controller Scene in Xcode to the main working area?

I cannot figure out how to get View Controller Scene on my main working area in Xcode rather than to have it on top of my working area. I want to be able comfortably navigate thought my view items.
1
vote
1answer
36 views

Is it possible to select which version of Swift to use in Xcode?

There's an update for Xcode 6.3 and it includes a new version of Swift (1.2). If I update, do I have to migrate all my Swift code to 1.2 or can I select an older version of Swift?
31
votes
3answers
79k views

How do I transfer my iOS developer profile to another computer?

I got a new MBP and would like to transfer my certificates and profiles from my old computer. According to TN 2250, under "Transferring Your Identities," I need to transfer three sets of items: all ...
0
votes
0answers
27 views

Export developer accounts from Xcode

I want to export developer accounts at Xcode from one Mac to another, so I created a .developerprofile file as per what said here: How do I transfer my iOS developer profile to another computer? ...
1
vote
1answer
16 views

Not able to create new project in Xcode [duplicate]

Here are the steps I used open Xcode create a new project choose the command line prompt On the the option for new project I put the product name For language I choose C++ Then I can't proceed. ...