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

Binding dereferenced null pointer to reference has undefined behavior Xcode 9

I am running Objective-C project on Xcode 9 and facing this error which states EDIT: Using FBXSDK by AutoDesk. I think its related to clang version which is new in Xcode 9 (the project was written in Xcode 7). If I understand correctly I need to…
ananai
  • 9
  • 1
  • 7
0
votes
2 answers

SonarQube SonarSwift plugin exception when parsing Coverage file generated by Xcode 9

I got an error when using SonarQube > SonarSwift plugin when trying to push the coverage report to SonarQube server. I generated the report using Xcode command line: xcodebuild test -enableCodeCoverage YES -scheme iOS_Template -workspace…
WilsonL
  • 167
  • 1
  • 2
  • 10
0
votes
0 answers

UIImagePickerController on iPhone Left trim handle don't work

on iOS 11 when using UIImageViewController and allows editing turned on, and selects a video, I can't move left trim handle on iPhone but it works on iPad. Is this a known problem? or do anyone know a workaround to get this to work? This problem is…
Olle
  • 47
  • 1
  • 4
0
votes
2 answers

Swift 4: cast issue with Generics

I'm new to Swift, after many years as an Objective-C developer. I'm struggling to understand how type casting works with generics. I have two functions that are doing object mapping with Alamofire + Codable and Alamofire + ObjectMapper. Something…
0
votes
1 answer

How can I access to UITextView from an ARScene thread?

I'm trying to hide a UITextView when the floor is detected in ARScene. The code is as below: class ViewController: UIViewController, ARSCNViewDelegate { ... @IBOutlet var sceneView: ARSCNView! @IBOutlet weak var myTextView:…
cypark
  • 838
  • 6
  • 21
0
votes
1 answer

How to do an animation for iOS on XCODE9

I'm trying to do an animation on XCODE 9 but it returns me a Nil value, does anybody knows what can be doing that Problem? First I have created an IBOutlet reference, then the code shown belong. Thanks a Lot. @IBOutlet weak var ImageView:…
Mauro Stancato
  • 537
  • 1
  • 9
  • 19
0
votes
1 answer

SIGBART error & backtrace does not show anything useful

I am building an app in xcode 9 using swift. I recently installed firebase into my project using cocoa pods. I am fairly sure I installed this correctly, however some time after making changes and messing around with my view controller I started…
Alex Hill
  • 11
  • 1
0
votes
4 answers

All view controllers on a single storyboard

Back to XCode 5 and 6 times, putting all view controllers on to one single storyboard was not recommended, and my experience proved it: XCode became slow. What is the situation today? Can XCode 9 handle this? Does Apple officially recommend to put…
Display Name
  • 4,502
  • 2
  • 47
  • 63
0
votes
0 answers

Not able to delete copy of my project from Project Navigator in Xcode 9

I am very new to iOS development. Recently, I've downloaded one open-source project code online and enhanced it more with my own logic and code. Now, I wanted to rename it and for that, I've followed this thread for a step by step process: How do I…
Bhanu
  • 1
  • 2
0
votes
1 answer

UITableView always displays basic cell instead of custom cell in Swift

I spent hours of trying to fix this, but my simple app still displays the basic cell type instead of my prototype cell. I'm aware of using the identifier and registering after loading up the view, but it still displays the basic cells with just one…
Sector
  • 47
  • 8
0
votes
1 answer

My NSDocument read method isn't being called

I'm writing a Cocoa Document based app. I've gotten it to the point where it can save a document using override func data(ofType typeName: String) throws -> Data { // End editing let jsonEncoder = JSONEncoder() let jsonData = try…
0
votes
2 answers

Show "Cancel" button in photo gallery (UIImagePickerController) swift 4

In my AppDelegate.swift file I have this two lines: let barButtonItemMenu = UIBarButtonItem.appearance() barButtonItemMenu.setTitleTextAttributes([NSAttributedStringKey.foregroundColor: UIColor.clear], for: .normal) that allows me to remove…
Dimoreno
  • 227
  • 3
  • 15
0
votes
1 answer

Xcode 9 iOS Dynamic Font Size in Scroll View

I don't understand how to set Dynamic Font Size in Scroll View. My AutoLayout is ok for all devices, but my font size stay at is initial size. How can I make (exemple) Police système 20.0 for iPhones, and Police système 30.0 for iPads ? Second…
0
votes
0 answers

Turn off (Core Data) automatic codegen in Xcode 9?

There used to be an option to turn off the automatic codegen of Core Data entities in Xcode8 but it seems to be gone in xCode 9. Did it go somewhere else or is this option gone for good?
Jens
  • 6,243
  • 1
  • 49
  • 79
0
votes
0 answers

How am I suggesting a TableViewCell height of zero?

I have a tableView with some static cells. It's set to automatically calculate the row height. The bottom most button is in a cell with a height constraint along with top, bottom, leading, and trailing. All constraints are done in the interface…
Aaron Bratcher
  • 6,051
  • 2
  • 39
  • 70