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
1
vote
2answers
35 views

Is there any way to develop iOS apps on a MacPro 2,1 in 2019?

I wanted to run cordova on some my apps so that I can test them for iOS. Running cordova run ios on a windows system will complain: xcodebuild was not found. Please install version 9.0.0 or greater ...
0
votes
0answers
22 views

Problem with spglib library python library installation on Catalina beta

I am running the Catalina Mac OS X beta (19A558d). I have installed a python virtual environment for python 3.7 and am trying to install the package "pymatgen". The installation is having trouble ...
1
vote
0answers
25 views

How to pass filename as an argument passed on launch?

I would like to pass the script's filename to the "Arguments Passed On Launch" found in the Scheme editor under "Run". I looked at this Xcode documentation but did not find an answer. Currently, I ...
1
vote
0answers
52 views

iOS 13 simulator has nothing installed

I just booted up the iOS 13 simulator on Xcode 11 GM, and there is nothing installed. Usually there are some basic apps (Messages, Photos, Safari etc.) preinstalled. Also, SpringBoard and ...
1
vote
0answers
19 views

Xcode crashes when attempting to create a file

If I start up Xcode 10.3 on MacOS 10.14.6 and then try to create a new file (cmd-N), Xcode will crash. Actually trying to open any file will cause it to crash. The welcome window comes up as does all ...
1
vote
1answer
23 views

Xcode 10.1: Profile is not an “iOS In House” profile

I am attempting to distribute via the Enteprise method on my Xcode 10.1 so I can get the .ipa to the organization. For App Thinning I selected All compatible device variants and selected Rebuild from ...
2
votes
0answers
28 views

Can't run react native app in xcode simulator! [closed]

newbie to react-native, was following this official docs for creating ios app: https://facebook.github.io/react-native/docs/getting-started My System config : Xcode Version 9.4.1 (9F2000) Ran this ...
0
votes
0answers
11 views

Error when selecting a method of distribution for .ipa in Xcode [closed]

I was able to run a Product -> Archive and successfully generate an .ipa or almost. When I get to the pop-up that asks for a method of distribution, no matter what method I select, I get this error: ...
0
votes
1answer
16 views

Xcode: Archiving a project to generate .ipa but export is not an option in Organizer

I am a member of the Apple Developer program for my team and I have all the provisioning profiles in place and codesigning, but when I run Product -> Archive and get the Organizer pop-up, Export is ...
0
votes
0answers
16 views

Alternative to `llvm-objcopy` shipped with macOS?

I've used llvm-objdump on macOS Mojave to work with binary files. However, I cannot find its counterpart llvm-objcopy anywhere on the system. Does that mean that Apple has installed an alternative? ...
0
votes
0answers
27 views

Is it possible to use MacPorts without an Apple ID

MacPorts requires XCode. One seems to be only able to install XCode through the App store which requires an Apple Id to install stuff. Is there any way to circumvent this?
1
vote
1answer
54 views

Mac App Store: We could not complete your purchase - Unknown Error

I am using a Macbook Pro (2018, 13 inch, 2.3ghz i5) from work, and the previous user had installed Xcode and a few other apps through their apple account. I have since deleted Xcode, but whenever I ...
3
votes
1answer
52 views

VoiceOver reading results of Swift Playground print statements in Xcode

(By way of background I have been helping a local blind child learn coding. He's switching schools from a Windows based school to a Mac based school so I am trying to familiarise myself with VoiceOver ...
3
votes
0answers
27 views

Navigating to pop-up without a mouse

(By way of background I have been helping a local blind child learn coding. He's switching schools from a Windows based school to a Mac based school so I am trying to familiarise myself with VoiceOver ...
3
votes
0answers
39 views

xCode project causes system restart

I’m an amateur using xCode 10.3 on a MacBook Pro in Safe Mode,Mojave 10.14.6 with 4GB of DDR to generate tensors of complex numbers (to be processed in subsequent projects). The code, which I ...
0
votes
2answers
33 views

How to set Xcode as core.editor in git?

My current git config core.editor returns dreamweaver which I set up two years ago from inside the app(IIRC), and now I don't use it. I am receiving error while amending the author of the last commit. ...
2
votes
1answer
64 views

Is there any way to see iPhone logs on Mac's Console over wifi?

As the title says, is there any way to read the console logs without connecting the iphone to the mac via USB? I've tried putting the iPhone on the same Wi-Fi and it still does not work. I need to ...
1
vote
0answers
66 views

Xcode 11 option clicking on source files to open them next to the active editor doesn't work

So, The weirdest thing happened to me... I got a problem with not being able to option click a source file to open it next to the source file I'm working on. Weird.... So, I booted back into my pre-...
2
votes
2answers
100 views

Cannot pair my iPhone with Xcode

I am running Xcode 10.3 and I have an iPhone 6s running iOS 12.4. I am unable to connect it to Xcode, which is running atop macOS Mojave running on a VMWare virtual machine. I got "trust this device" ...
0
votes
0answers
40 views

Download Xcode 10.2.1 in macOS High Sierra (10.13.6) [duplicate]

I use MacBook pro with macOS High Sierra (10.13.6). The version of Xcode am using is 10.1 and I see the updated Xcode in AppStore is 10.3 which is not compatible with my environment since it expects ...
1
vote
1answer
54 views

Problems when trying to delete/uninstall Xcode

I'm trying to uninstall Xcode. I dragged the application to the trash and tried to delete but it hung for a while and then said it couldn't be deleted because some of its files were in use. However, ...
0
votes
0answers
166 views

App Store shows cloud icon for Xcode 10.3, how to update from installed version 10.2.1?

I'm running MacOS Mojave 10.14.6 with Xcode 10.2.1 installed. The Mac App Store doesn't show any update option for 10.3. In App Store, Account -> Purchases section shows Xcode with a Cloud with a ...
0
votes
1answer
22 views

How to run latest tvOS SDK on macOS 10.13?

TL/DR: Is there any way to get the latest tvOS SDK, and hack it into my (slightly older) version of XCode, so I can do tvOS development on my machine? Background: I need to do some tvOS development. ...
0
votes
0answers
44 views

Xcode command line tools cctools incomplete

I've had Xcode & the command line tools installed for a while. Recently I wanted to start playing with the TianoCode EDK II, which for macOS requires the mtoc command from cctools (of which ld64 ...
0
votes
1answer
75 views

Problem in installing Xcode on MacBook Air 2017 with macos Mojave version 10.14.5

I am trying to download Xcode from the mac app store but it fails again and again. I am using my mobile hotspot for internet. It has a daily data limit of 2.5 GB but Xcode is of 6.1 GB. Once I put ...
1
vote
0answers
25 views

Is is possible to use Xcode's touchbar without Xcode?

Xcode (or at least Xcode 9.2) has a virtual touchbar that you can launch by pressing Command+Shift+5. This virtual touchbar works on all applications that support it, and is always on top (of every ...
3
votes
2answers
76 views

stdlib.h file not found and macOS SDK package installer also not found

I have macOS High Sierra 10.13.6 (For various reason I will not update) and Xcode 10.1 installed alongside command-line-tools. I am trying to compile a certain software that is attempting to open the ...
1
vote
2answers
91 views

Compile for iOS 5.1 in macOS Mojave

I have a macOS Mojave based Mac, and, for a project, I need to be able to target iOS 5.1 (iPad 1). Xcode 10 doesn't ship build support for iOS 5.1, so I downloaded Xcode 4.3 from Apple's archives. ...
2
votes
1answer
60 views

Can't connect iPad to macOS Mojave

I used to be able to recognize iPad when working with Xcode and iTunes in previous versions of macOS. Now I can no longer connect it. System Information does contain the device in USB list and the ...
1
vote
0answers
29 views

iOS Newsstand app background mode

Does Apple still support Newsstand apps? I searched a lot but I can't find any tutorial or a demo for such an app with NewsstandKit. If this is not used anymore, why does the Newsstand background ...
2
votes
1answer
311 views

Homebrew not detecting latest Xcode and Command Line Tools, and not uninstalling them either

I have macOS Mojave version 10.14.5 installed with Xcode version 10.2.1 and Command Line Tools installed using xcode-select --install. All problem started when I tried to install youtube-dl formula on ...
0
votes
1answer
1k views

Xcode 10: Failed to create Provisioning Profile - There are no devices registered

When I try to create a profile to build an iOS app by going to Project → General → Signing, and selecting my Team (Personal), I get two errors: Failed to create provisioning profile. There are ...
-1
votes
1answer
53 views

new Xcode + GitHub [duplicate]

A new Mac laptop with OSX 10.13 with Xcode 9 on it gets run time errors from a cloned the project that runs fine 10.8 OSX and Xcode 5 The C++ project throws Run-Time-Exception against one of the ...
0
votes
1answer
317 views

macOS_SDK_headers_for_macOS_10.14.pkg doesn't exist on my system

I am trying to install gem packages. I am missing the macOS_SDK_headers_for_macOS_10.14.pkg file from /Library/Developer/CommandLineTools/Packages/. I found the link to download the .pkg, but I need ...
1
vote
1answer
48 views

I want to download Xcode that I deleted again. But when I open App Store and search for Xcode the download button is grey

When I downloaded it before I did it through App Store but now that doesn't work because of that the button is grey. Have tried to download Xcode through developer.apple but there it says that I don't ...
1
vote
1answer
34 views

Mobile app development using Xcode. Single Graphics vs Dual Graphics?

I have decided to buy a pre-owned MacBook for mobile app development using Xcode, I have two options: MacBook Pro (13", Early 2015) Processor: 3.1 Ghz Intel Core i7, Integrated Graphics 16 GB RAM ...
-2
votes
1answer
226 views

How to run the “Build Phase” in Xcode as root

ALL, This post is spawned by this question In my Xcode I added the new Build Phase to copy .dylib files to /usr/local/lib. And then I tried to rebuiold the application by doing "Command + B". ...
1
vote
1answer
41 views

Installing a software from Xcode

I'm trying to develop a program using Xcode on macOS. The program compiles and links fine, but when trying to execute it, I get an error message stating that a library can't be found in "/usr/local/...
0
votes
0answers
239 views

XCode 11 Beta fails to start-up: “Required content for platform tv OS simulator is missing.Re-install Xcode”

Trying to make up more space to download XCode 11 (the .xip file won't expand because there "wasn't enough space"), I've deleted XCode 10 and foolishly followed this article by doing: sudo rm -rf /...
4
votes
1answer
22 views

macOS app review process: Touch Bar functionality in metadata

I have a macOS app that get bug fixed. But the latest Apple review process drives me a bit insane. They always tell me that my app's metadata indicates Touch Bar functionality which my app do not have....
3
votes
1answer
229 views

How do I install beta command line tools using softwareupdate -l on 10.14.5?

On a clean install of 10.14.5: Multiple reports of the beta version not working using a headless install: https://github.com/Homebrew/install/issues/206 This lead me to trying to manually do a ...
1
vote
0answers
222 views

Uninstall Xcode 11 beta 1 Command Line Tools accidentally installed in public release of macOS Mojave? [duplicate]

Yesterday I ran the system update and mistakenly installed Command Line Tools for Xcode 11 beta 1 in a system running macOS Mojave. This update is breaking some of my dev applications. I would like ...
3
votes
1answer
719 views

Command Line Tools beta 1 for Xcode 11.0 offered as an update in the current latest public release of macOS Mojave 10.14.5 [duplicate]

I am running the current latest public release of macOS Mojave 10.14.5 (18F132) with the current latest public release of Xcode 10.2.1 installed. When opening System Preferences app → Software Update,...
0
votes
1answer
78 views

Why is my iOS Development Certificate Team ID different from my real Team ID?

When I create an iOS Development Certificate using Xcode or the manual CSR process, the Team ID is something like (for e.g.) EK1H65HGFB, whereas my Team ID according to the Apple website is actually ...
1
vote
2answers
314 views

Does running both (XCode & Android Studio) at the same time overload my MacBook Air with only 8 GB of Ram

This IDE is for the Automation Testing Purpose. Along with Appium Server, I need to run the Emulator of Xcode's iOS Emulator and the Android Studio's Emulator. Does this Run smoothly in the 8GB RAM ...
1
vote
1answer
415 views

Xcode 10.2 does not open after installation from Mac App Store

When I try to open Xcode 10.2 after installing it from Mac App Store, it doesn't open. After a while, a dialog box comes up with an error check with the developer to make sure Xcode works with this ...
0
votes
0answers
203 views

How to configure Xcode external build system to build and clean using standard short-cuts?

[Xcode 10.1, MacOS 10.14.1] I have a project that uses bmake (could be any make though) and the Makefile provides a number of targets. I would like to use Xcode to build host and clean the build ...
0
votes
0answers
17 views

Error archiving from Xcode project

I am unable to archive from an Xcode project. The build is failing with the following error: How do I resolve it?
0
votes
1answer
51 views

Running an app build with very old iOS SDK on a device running current iOS

I have 2 iOS devices, an iPhone 6s, and an iPhone 4. I'm currently using OS X Mavericks 10.9.0 and plan on using Xcode. The iPhone 6s is running iOS 12.2, and iPhone 4 is running iOS 7. My Xcode ...
1
vote
1answer
38 views

How to execute an equivalent function of Xcode's Instruments > “File Activity” in shell?

I need to be able to show and capture the same output that Xcode.app/Contents/Applications/Instruments.app captures while in Terminal.app (in the shell). Is there a dtrace function / script, or some ...