Questions tagged [xcode9]

This tag should only be used for questions specific to the usage and features of Xcode 9. Do not use this tag just because you are using Xcode to develop your app. General Xcode questions should use the non-version specific xcode tag. Use tags appropriate for the OS such as ios or macos.

Xcode is the complete developer toolset used to create apps for Apple TV, Apple Watch, iPad, iPhone, and Mac. The Xcode development environment bundles the Instruments analysis tool, Simulator, and the OS frameworks in the form of tvOS SDKs, watchOS SDKs, iOS SDKs, and macOS SDKs.

1771 questions
0
votes
1 answer

Why is my UITableViewCell row forced to height 44?

When my UITableViewCell rows display they're coming up with a height of 44. They definitely shouldn't be doing that. I've constrained the whole top to bottom of the path, as you can see in the warnings below about bad constraints. Ignoring the…
Gargoyle
  • 7,401
  • 10
  • 55
  • 99
0
votes
0 answers

Xcode complains if I specify all constraints

In my UITableViewCell subclass I'm adding two elements, and I specify them as shown below. Note how I'm leaving off the bottomConstraint on the ball. When I do that, Xcode give a runtime warning saying height couldn't be determined and it's…
Gargoyle
  • 7,401
  • 10
  • 55
  • 99
0
votes
1 answer

Is xcode 8.3.3 running swift 3.2

With Xcode 9 and swift 4 out, I keep seeing that you have to migrate from swift 3.2. Currently I am running Xcode 8.3.3 which shows my swift compile language as swift 3. Some places have said swift 3.2 is the name given in Xcode 9 and it's what is…
Berro
  • 15
  • 5
0
votes
1 answer

Xcode XIP = non installed?

During an attempt to reinstall Xcode9 from scratch I decided to use the XIP file download from the developer.apple.com website. I opened the archive, moved it to the Application folder and launched it. No problem, aside from the issues I was trying…
NotationMaster
  • 275
  • 2
  • 13
0
votes
1 answer

Custom UITableViewCell's content is overlapped by delete button in editing mode

Environment: Xcode + Swift 4 I following the tutorial Start Developing iOS Apps (Swift) to create a app that using UITableView to show the meals, entering editing mode to delete meals, and other functions. My problem is when I enter editing mode,…
Nestarneal
  • 183
  • 1
  • 11
0
votes
0 answers

how do you solve 'instead add them to the -contentView.' error in Xcode 9 for iOS 11

I have an iOS app which builds and runs fine in Xcode 8 but after i updated to Xcode 9 the app throws this error at run time: *** Terminating app due to uncaught exception ... layer = >. Do not add subviews directly to the…
simples
  • 21
  • 3
0
votes
0 answers

iOS 11 issue of Navigation Title and navigation Buttons not appearing while presenting viewcontroller using navigationrootviewcontroller

Prior to iOS 11, the UINavigationBar buttons and title are being displayed correctly. After downloaded Xcode 9 with iOS 11 and, after building and running without doing changes, both navigation buttons and the title are not being displayed anymore.…
jigs
  • 809
  • 1
  • 6
  • 21
0
votes
1 answer

Issues with AutoLayout in iOS app. Major difference sbetween Storyboard, SImulation and Actual Device

I am totally new to iOS development and I am facing a major issue and hurdle (I'm half dead already :) ) with the Xcode 9 AutoLayout. TL;DR The app fetches some blog posts from a backend and displays them in a card view. I've used the iPhone 8…
0
votes
0 answers

Custom templates Xcode to C++ project

I'm going to edit my question. When I want to developer in C++, I go to: Xcode => New Project => macOS => Command Line Tools => File C++. When I edit the main.cpp, the content is to defect (with int main(int argc, const char *…
ProgrammerJr
  • 107
  • 6
0
votes
1 answer

Xcode 9 cannot go to method definition (Cocoa pods, Rxswift)

I'm running into an issues with Xcode 9. I have a new project setup with RxSwift 4.0 installed through CocoaPods. The issues is I cannot go to method definition using command + click command Xcode always display this error Anyone know what is the…
Lê Khánh Vinh
  • 2,329
  • 4
  • 24
  • 63
0
votes
1 answer

JSON file returns nil

I've been trying to implement something like https://github.com/ranmyfriend/FirebasePhoneAuth on my project. I have the JSONReader.swift in my project: import Foundation public struct JSONReader{ static func countries()->[Country] { …
Hussein
  • 153
  • 3
  • 14
0
votes
2 answers

Can I use ReplayKit to record both microphone and system audio?

There is not much documentation online about this because it's an odd task. I am trying to record my screen, the internal microphone, and the system audio at the same time using ReplayKit. Here is how I am recording my screen right now: …
evenodd
  • 1,746
  • 4
  • 22
  • 36
0
votes
1 answer

Disable the timestamps that appear in the debugger console when calling NSLog in XCode 9

How to disable or hide the time stamp in the debugger console while calling NSLog(). /** LOG to see AFF_FLOW*/ func showLog(classname:String , tagName:String){ NSLog("APP_FLOW -- \(classname)--> \(tagName)") }
jazzbpn
  • 4,159
  • 6
  • 37
  • 73
0
votes
1 answer

How to restore pre-Xcode 9 Find In Workspace functionality

Before Xcode 9, the shortcut CONTROL + SHIFT + F would open the Find Navigator in it's previous state. I'm a big fan of the Regex search, so this would mean that if I had set find style to "Regular Expression", after entering the shortcut above I…
Max Chuquimia
  • 6,295
  • 2
  • 36
  • 57
0
votes
2 answers

Xcode Server iOS Trigger issues error 35

I'm using Xcode 9.0.1 we increased the maximum number of processes until the next restart sudo launchctl limit maxproc 2000 2500 I am having this issue while running integrations in Xcode Server. Assertion: Exception trying to execute trigger: …
Ted
  • 19,425
  • 10
  • 78
  • 99
1 2 3
99
100