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.

1766 questions
0
votes
1 answer

willSelectRowAt and didSelectRowAt not called anymore since Xcode 9 / Swift 4

Since I've upgraded to Xcode 9 / Swift 4 some of my UITableViewDelegate methods are not called anymore
Lucas van Dongen
  • 9,328
  • 7
  • 39
  • 60
0
votes
1 answer

Error env: ruby_executable_hooks: No such file or directory while running Slather on Jenkins

I am trying to configure slather on my Jenkins server. Everything works fine when I run slather command using Terminal, but the script seems to fail when I run it on the Jenkins server. Each time I get env: ruby_executable_hooks: No such file or…
sandy
  • 2,127
  • 4
  • 28
  • 50
0
votes
2 answers

Ionic 3 IOS Push notification issue

I am using cordova-plugin-fsm to send push notifications. In Android, it works perfectly fine. But in IOS I am getting issues while building the project. Opened the project in XCode 9. It is giving following errors : Also, I have enabled…
Arpit
  • 227
  • 5
  • 15
0
votes
3 answers

Calculate time taken to Navigating between one Screen to other Screen

All, In my project, we have some time delay (Performance) issue when Navigating from one Screen to another screen. Do we have any tool in Xcode to figure out which method is exactly causing the issue?
kiri
  • 1,977
  • 5
  • 27
  • 55
0
votes
1 answer

Can I submit and deploy app from Xcode 8.3.3 without updating to Xcode 9 now that Xcode 9 is out?

I'm new to coding and the last update/migration left me so stuck I recoded the whole app instead. I've nearly finished my next app and realised instead of updating to Xcode9, maybe I could finish and deploy the app to the app store in and from…
Berro
  • 15
  • 5
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
  • 9,590
  • 16
  • 80
  • 145
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
  • 390
  • 3
  • 17
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
  • 205
  • 1
  • 2
  • 12
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
  • 839
  • 1
  • 6
  • 23
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…
Sebastian Nitu
  • 117
  • 1
  • 7
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,591
  • 5
  • 31
  • 77
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
  • 487
  • 6
  • 22
1 2 3
99
100