tagged [xcode]

How to get .app file of a xcode application

How to get .app file of a xcode application I have created an xcode project. Now I want to give .app file to my friend to use that application. From where do I get this file? How to install this .app ...

1 Jun at 03:43

Tabbing between Xcode projects?

Tabbing between Xcode projects? Let us say that I have two Xcode projects open on a Mac and I am going back and forth between them. Is there any hot key that can do this (rather then constantly using ...

26 Jan at 00:16

Missing Compliance status in TestFlight

Missing Compliance status in TestFlight When I added my latest build for internal testing with TestFlight, I saw that it had a "Missing Compliance" status. Is this a major problem? Why does this appea...

How can I indent multiple lines in Xcode?

How can I indent multiple lines in Xcode? When I select multiple lines of code and want to indent them as usual with key, it just deletes them all. I come from Eclipse where I always did it that way. ...

13 Mar at 20:46

"Unknown class <MyClass> in Interface Builder file" error at runtime

"Unknown class in Interface Builder file" error at runtime Even though Interface Builder is aware of a `MyClass`, I get an error when starting the application. This happens when `MyClass` is part of a...

How to control the line spacing in UILabel

How to control the line spacing in UILabel Is it possible to reduce the gap between text, when put in multiple lines in a `UILabel`? We can set the frame, font size and number of lines. I want to redu...

UICollectionView Set number of columns

UICollectionView Set number of columns I just started learning about UICollectionViews. I'm wondering if anyone knows how to specify the number of columns in a collectionview. The default is set to 3 ...

Changing text of UIButton programmatically swift

Changing text of UIButton programmatically swift Simple question here. I have a UIButton, currencySelector, and I want to programmatically change the text. Here's what I have: Xcode gives me the error...

23 Mar at 15:34

Xcode 6.1 - How to uninstall command line tools?

Xcode 6.1 - How to uninstall command line tools? I installed Xcode command line tool by issuing `xcode-select --install`; now I want to uninstall it (without uninstalling Xcode). I've tried but then I...

3 Jan at 16:27

How to update the constant height constraint of a UIView programmatically?

How to update the constant height constraint of a UIView programmatically? I have a `UIView` and I set the constraints using Xcode Interface Builder. Now I need to update that `UIView` instance's heig...

How to create radio buttons and checkbox in swift (iOS)?

How to create radio buttons and checkbox in swift (iOS)? I am developing an app that allows to do survey. My layout is generated from XML based questions. I need to create radio buttons (single choice...

18 Mar at 09:1

How do you perform wireless debugging in Xcode 9 with iOS 11, Apple TV 4K, etc?

How do you perform wireless debugging in Xcode 9 with iOS 11, Apple TV 4K, etc? Wireless debugging was recently added as a feature in Xcode 9, iOS 11, and tvOS 11. Apple TV 4K doesn't have a USB port,...

28 Mar at 12:27

Check if my app has a new version on AppStore

Check if my app has a new version on AppStore I would like to manually check if there are new updates for my app while the user is in it, and prompt him to download the new version. Can I do this by c...

30 Jul at 21:50

A server with the specified hostname could not be found

A server with the specified hostname could not be found When I try to submit my app on the App Store through Xcode I got this error. > A server with the specified hostname could not be found. Is this ...

9 Jan at 05:22

iPhone 6 Plus resolution confusion: Xcode or Apple's website? for development

iPhone 6 Plus resolution confusion: Xcode or Apple's website? for development Apple's website claims that the resolution is 1080p: 1920 x 1080 However, the launch screen required by Xcode (8.0 GM laun...

How to update Xcode from command line

How to update Xcode from command line I am trying to update Xcode from the command line. Initially I tried running: which resulted in this message: So the question remains, is there a way to update Xc...

20 Jan at 21:51

Installing Apple's Network Link Conditioner Tool

Installing Apple's Network Link Conditioner Tool I have installed xcode 4.3.1 on my machine running Lion. I can't find the Network Link Conditioner tool anywhere. I have checked the utilities folder, ...

20 Jan at 09:50

How do you update Xcode on OSX to the latest version?

How do you update Xcode on OSX to the latest version? What is the easiest way to update Xcode on OSX? I see this in the terminal: But when I go to open up `Xcode > Preferences > Downloads`, it says th...

14 Mar at 18:42

How to create a delay in Swift?

How to create a delay in Swift? I want to pause my app at a certain in point. In other words, I want my app to execute the code, but then at a certain point, pause for 4 seconds, and then continue on ...

7 Nov at 10:43

Xcode: Could not locate device support files

Xcode: Could not locate device support files As i am trying to run my application from newly updated to my which is running It throws below error, [](https://i.stack.imgur.com/bVMBX.png) And, this is ...

8 Dec at 20:12

xcode library not found

xcode library not found I'm getting the following error: > ld: library not found for -lGoogleAnalytics clang: error: linker command failed with exit code 1 (use -v to see invokation) I've spent some ...

18 Feb at 16:58

Execute action when back bar button of UINavigationController is pressed

Execute action when back bar button of UINavigationController is pressed I need to execute an action (emptying an array), when the back button of a `UINavigationController` is pressed, while the butto...

Could not insert new outlet connection: Could not find any information for the class named

Could not insert new outlet connection: Could not find any information for the class named I got an error on Xcode saying that there was no information about the view controller. > Could not insert ne...

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65 I've build a react-native application and suddenly I get this error message on my terminal during run of...

19 Mar at 07:46

Detecting when the 'back' button is pressed on a navbar

Detecting when the 'back' button is pressed on a navbar I need to perform some actions when the back button(return to previous screen, return to parent-view) button is pressed on a Navbar. Is there so...

22 Nov at 14:32