Questions tagged [xcode]

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

Filter by
Sorted by
Tagged with
2
votes
0answers
380 views

Apple Xcode: remapping camera's Pan, Orbit and Dolly controls in SceneKit module

I'd like to remap the following camera controls in SceneKit module of Xcode 9.2 (I'm coding in Swift): panning – alt + LMB orbiting – LMB dollying – alt + MMB Pan drags the virtual camera ...
8
votes
1answer
845 views

Stop Xcode from Hijacking my File Associations

I typically associate certain file types with certain editors and IDEs. You know R with RStudio, Java with JetBrains, and all the other goodies with Sublime Text. But every time I install an Xcode ...
3
votes
1answer
6k views

You can’t open the application “iTunes” because it is being updated

After applying the 10.13.3 update, I am not able to open itune and xcode. In lanuchpad I don't see any update is being applied to these applications How can I fix this? I cannot afford to reboot ...
10
votes
4answers
8k views

What is the definitive iPhone X corner radius?

I've been experimenting and have found no conclusive corner radius for the iPhone X. Some sources, such as iPhone X Screen Demystified - PaintCode, say its 40pts. Some say it's 44, like UI Design for ...
6
votes
3answers
27k views

Running an iOS Emulator on Mac

I can't seem to find any updated (or reliable) sources of iOS emulators for Mac, I am running Sierra. At first I believed that in Xcode, when I went to run my app, was running an emulator, but I was ...
3
votes
0answers
584 views

What these kernel panic logs relating to GPU Reset mean?

I'm having a really annoying issue and I would like to know what's causing it (Xcode triggers it). When I'm using Xcode and the storyboard editor, selecting or moving anything will occasionally cause ...
3
votes
3answers
2k views

How to install command line tools offline?

I tried to find a solution but all of them are about trying to install cli-tools without Xcode. All of them eventually require the internet connection. My case is that I want to install cli-tools on a ...
0
votes
2answers
280 views

Have installed “Command line” but whenever i try to build and run my program terminal says “No such file or directory”

I have tried to build and run my project through CodeLite. I have installed Command Line but somehow it doesn't work. It says "no such file or directory" but whenever I ask it to look for gcc, it ...
1
vote
2answers
155 views

My AppleScript script wont work

I am a starter in AppleScript and there is an issue with my script I cant fix. The script is: display dialog "How long do you want the timer to go for in seconds?" default answer "" set time to "...
9
votes
1answer
1k views

Is there a way to code sign ad-hoc iOS apps for longer than 7 days in Xcode?

I know, on Xcode, you can create an iPhone app, and test it on your own phone via USB cable, but this expires after 7 days. I want to create a swift app just for my iPhone and not have it expire so ...
2
votes
0answers
431 views

(Almost) all apps hang on Mac while building an xCode project

I'm encountering an issue on my mid-2012 Macbook Pro (system specs below). While performing an Xcode build of an Ionic project from the command line, I see (once every ten times or so?) the process ...
2
votes
1answer
2k views

Force xcodebuild use a specific SDK only

I am trying to fix a homebrew formula which uses xcodebuild to build a dependency. Unfortunately, this dependency relies on an older SDK, MacOSX10.12.sdk. I cannot make this project use a newer SDK as ...
14
votes
3answers
16k views

Unable to run xcode-select --install

I am on a MacBook Air running macOS High Sierra 10.13.2 When I run xcode-select --install to re-install Xcode developer tools, I am prompted to this I choose install option which opens the agree ...
1
vote
1answer
177 views

Xcode: Jump back within file?

Let's assume: I'm looking at function foo. Inside foo, a function bar is called. I follow bar to the definition (in the same file) to see what it does. Now I want to go back to foo Is there a ...
3
votes
1answer
1k views

No developer folder

I bought a new MacBook Pro and installed Xcode but I don't have the developer folder. What is the problem? How can I fix this problem?
0
votes
1answer
940 views

Command Line Tools on Mac OS X 10.7.5

Okay, I have a problem with my Mac OS X 10.7.5 because I have to learn to program, I was programming "Hello world" and I was using the terminal and "Sublime Text" for text editor but my terminal doesn'...
6
votes
1answer
349 views

Prevent duplicate tabs in Xcode editor

In Xcode editor, is there a way to open files in a new tab only if one is not already present, and if it is, then switch to that tab. If it isn't possible to do so via the preference settings, can it ...
1
vote
1answer
784 views

Updating OS X El Capitan to macOS High Sierra as a developer

I'm working as a software developer and have a project that I've taken over from an old colleague which is developed on a mac with OSX El Capitan. I'm having some problems updating Xcode to the ...
3
votes
1answer
1k views

Xcode - Can I develop for iOS 11.1 in El Capitan?

I'm a software development student and I'm building an iOS app for a class. The thing is I have a MacBook Pro Mid 2009 with El Capitan 10.11.6 (15G17023) and an iPhone 5s running iOS 11.1.2 (15B202). ...
60
votes
8answers
41k views

Can I delete unnecessary device simulators of Xcode?

I found that Xcode on my laptop consumes much of its storage, so I am trying to delete unnecessary files in Xcode. There are four directories under Application/Xcode.app/Contents/Developer/Platforms/....
2
votes
1answer
248 views

Uses for Force Touch in the Xcode editor

Are there any special uses for the Force Touch trackpad on Apple's newer laptops in the Xcode source editor? I have tried to use it for various things but Force Touch always seems to do the same thing ...
2
votes
2answers
833 views

XCode Server not sending email notifications to committers whether the build has passed or not

I have set a bot with post integration "Periodic Email report" but no reports are arriving at specified email address. I have the following set-up on my local macbook pro. I also have the macOS Server ...
1
vote
1answer
229 views

How can I test an iOS app with just a Macbook? [duplicate]

I have a MacBook Pro and need to test my apps integration with another developer's iOS app. They have provided an installation link (itms-services://), but I don't have an iOS mobile device. Is it ...
-2
votes
1answer
3k views

Update Xcode to 9.0.1

I have already installed macOS High Sierra Version 10.13 and I have Xcode version 8.2.1. Now I want to update it to Xcode 9.0.1. Do I directly install from the App Store using the following link? ...
0
votes
1answer
1k views

Why Will Xcode 9.2 beta not Download?

Xcode 9.2 beta (9C30) was released today, but I have been unable to download it from developer.apple.com. I am using a non-paid Apple ID, but this hasn't caused trouble for Xcode downloads in the past....
1
vote
0answers
87 views

Xcode on Mac App Store requires additional storage even though I have more than enough? [duplicate]

As you can see, when I try to install Xcode 9.0.1, I'm shown an error that says I need an additional 5.6 GB of free space on my drive, yet I have 10.98 GB available, and the App Store lists Xcode as ...
3
votes
0answers
2k views

Terminal showing 192 instead of computername [duplicate]

I have a situation in which sometimes when I launch Terminal instead of showing: computername:~ user$ It instead shows: 192:~ user$ I've already found that the questions OS X computer name not ...
3
votes
1answer
1k views

running ARM program on xcode

I'd like to have a compiler for ARM on my Mac, and I read somewhere that there is a way to run and maybe debug ARM code on Xcode. Anyone has any hint on how I should do or if it is even possible? Any ...
0
votes
1answer
457 views

ARKit, Xcode, and iOS 11 upgrade

I have El Capital 10.11.6 and I do not wish to upgrade, however I need to clarify whether this means I cannot download and experiment with ARKit? The latest Xcode version that is compatible with El ...
2
votes
1answer
1k views

“Xcode helper” would like to control this computer. Is this request legit?

I haven't seen this request in earlier version of xcode. Why does XCode Helper require this permission?
1
vote
1answer
4k views

How to install older Xcode version from the App Store

I want to install Xcode 6 or 7 but I don't have a stable internet connection so installing the .dmg file with around 2-4GB file size will probably end badly. I was thinking of a way where I can ...
0
votes
1answer
842 views

XCode 8.3 - How many times can we deploy to an iOS Device with an expired Developer ID?

Good day everyone, I'm developing an iOS application and I was wondering how many times I can deploy to my iPad Mini (the device I use to test) without signing up for the iOS Development Program again....
1
vote
1answer
2k views

Xcode, Command Line Tools, GCC, and HomeBrew

I was following a Vuforia & Unity tutorial when I realized that (upon building for iOS) Xcode would not launch. So, I issued the following commands at the Terminal to find out if I had Xcode ...
5
votes
1answer
7k views

Use a Mac mini as a remote build server for an iOS game

Five other people and I are developing an iOS game using ARKit. I have a MacBook that I use for myself, and a Mac mini sitting at home that could act as a remote build server. Now, it would be easy ...
3
votes
1answer
429 views

Xcode organizer shows crash reports of unsupported device

We launched our iOS camera app only for iPhones and we do not support any other apple devices. We have telephony in UIRequiredDeviceCapabilities which iPads don't support.(Check here) But in Xcode -...
16
votes
2answers
1k views

Can't enable spell checker option in Xcode

Option is greyed out and I cannot enable spell checking in Xcode
3
votes
0answers
775 views

Xcode Simulator - Show White Devices Instead of Black

When I run Xcode Simulator the devices are simulated with black cases. I'd like to be able to toggle to show devices with white cases to see them easier. I don't see a setting in Xcode for that. Can ...
3
votes
0answers
1k views

File visible but “does not exist”

With macOS Sierra, a new folder has been added to the root folder: macOS_SDK Inside are a bunch of folders, each containing only one folder, till the last one, containing a single file. Here's the ...
6
votes
3answers
20k views

macOS Sierra update can't be installed on this disk.This volume does not meet the requirements for this update

I have been updating the macOS from 10.12.4 to 10.12.6 . For this I have downloaded the macOS dmg file from the Apple website. But when I go on for installing the macOS then I see this error. I have ...
1
vote
1answer
344 views

Accidentally deleted /Library/Developer files

I accidentally deleted my /Library/Developer files while trying to delete the Derived Data. Now, My Xcode 9 has stopped working and is crashing everytime I open it. I have a extremely important ...
1
vote
1answer
114 views

How can I label things in the Dock?

I have two XCode projects I open regularly, so I added them to the Dock. Unfortunately, they're not labeled. Hovering doesn't help, since it shows the same name. In fact, they're two different Git ...
1
vote
4answers
4k views

Trying to install Command Line Tools without Xcode

In the past it used to be easy to install CommandLineTools without Xcode. Now I cannot get it to install correctly. Please note: this is not a development question but an installation of software ...
25
votes
8answers
85k views

iPhone 7 won't charge from my MacBook Pro [duplicate]

My iPhone 7 which I recently bought doesn't charge with my MacBook Pro Retina 2015. It always shows for one second that it recharges but then something like lost connection and then again. and goes on ...
1
vote
1answer
327 views

Xcode on a classroom image asks students for admin password

I'm teaching a college class, and IT has installed Xcode on the image for the iMacs in the classroom/lab. In theory we should be good to go. However, when running a project or playground, there are ...
17
votes
3answers
4k views

How to undo pressing Don't Trust on Apple Watch

I want to test out my watch app on Xcode. So I plugged my iPhone paired with an Apple Watch Series 2 into my computer. The iPhone displayed a dialog saying whether to trust this computer or not, I ...
0
votes
2answers
239 views

Pop Up Button always has the same value in AppleScript

I have a Pop Up Button in Xcode with multiple choices, they are All, 1, 2 3, etc. to 15. In my AppleScript code I call it ItemPicker: property ItemPicker : missing value I have made a Referencing ...
3
votes
0answers
2k views

Xcode stuck on 'installing components'

I have installed Xcode 7.3.1 on OS X El Capitan and when I want to open it, it says components need to be installed. When clicking on install, the progress goes until over half the bar and then it ...
1
vote
1answer
2k views

Building a Xcode project downloaded from GitHub

I am just starting to learn about code and programming apps. I downloaded Xcode project source-code for a mac app that I wish to use from GitHub. How can I turn that code into an executable ...
2
votes
1answer
62 views

System Information Recognizes iPhone, Xcode/iTunes Does Not

Following the directions outlined by Apple here, i can confirm that the system itself recognizes my device, but iTunes and (more importantly) Xcode refuse to. I made sure to update everything i could; ...
2
votes
0answers
341 views

Xcode 8 error when installing

I just want to install Xcode 8 on Mac Sierra with the .xip format but in the expanding it shows the following error: The operation couldn't be completed.block-compressed payload operation failed. ...