Questions tagged [xcode10]

This tag should only be used for questions specific to the usage and features of Xcode 10. 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.

976 questions
-1
votes
1 answer

How to center a label so that it appears centred on all simulators on xcode 10?

I'm trying to center a label on a basic app in swift so that it is centered on all simulators using xcode 10. I know on previous version you could uncheck Use size classes but that doesn't show on xcode 10. I've also tried unchecking Use trait…
Richard Desouza
  • 249
  • 4
  • 13
-1
votes
2 answers

File name used twice Xcode

Error I'm trying to use the CoreData functionality but when Xcode creates the two files (xx+CoreDataClass.swift and xx+CoreDataProperties.swift) Xcode gives me this error. The problem is: there's xx+CoreDataClass.swift is in the project's directory…
cam0347
  • 23
  • 3
-1
votes
2 answers

Have I missed anything with regards to importing Alamofire on Xcode?

Just to reiterate: I have installed PodFile Opened the Xcode.workspace Updated Xcode to 10.13.6 Installed Alamofire on the Terminal by both CocoaPods and manually Still 'No such module'. Currently at a beginner level, very beginner level, so if…
D-A
  • 1
  • 2
-1
votes
1 answer

Xcode 10.0: Linker command failed with exit code 1 (use -v to see invocation)

Created a new Xcode cpp project with the code below and it gives me the clang error "Linker command failed with exit code 1". I tried running this an existing Xcode project and it builds successfully but when I do it in the existing one or create a…
-1
votes
1 answer

How to resolve Expected ')' error on a success callback in Objective C

I am trying to integrate Quickblox chat into an existing Objective C (Xcode) application. The method below which had worked in another application is meant to send attachment to the chat dialog. dispatch_async(dispatch_get_main_queue(), ^{ …
kplus
  • 694
  • 8
  • 31
-1
votes
2 answers

popoverController does not show after upgrading Xcode from 7 to 10

I have this app that was previously developed and maintained at Xcode 7. But recently we had to upgrade Xcode to 10 to be able to post the app to apple store. Many layout were broken upon the update and this seems to be a known issue ref. I believe…
Frostless
  • 818
  • 1
  • 11
  • 33
-1
votes
2 answers

I want to set tick in tableview cell for row at indexpath

i am adding multiple selection in tableview with sections in tableview, so how can i store that section index as well as indexpath of that cell for display when user click on cell inside that particular sections that will store in array as selected…
ronit
  • 37
  • 12
-1
votes
1 answer

Swift 4- http request Post to login in website

I'm searching about how to send some data to a website. For example, I want to send username and password to a website and I want to check if the login is successful or not. I searched a lot but I don't know how to do it. If anyone has a background…
Jack
  • 1
-1
votes
1 answer

Invalid selector error on setting delegate: Xcode 10 swift 4

The app crashes on the line where I set the TextField delegate: listNameTextField = self in the viewDidLoad method Gives error 'NSInvalidArgumentException', reason: '-[UIView setDelegate:]: unrecognized selector sent to instance I have already…
-1
votes
1 answer

Xcode project throws NSUnknownKeyException after starting project on Version 10.1

I have an Xcode project on my older Mac that I finished building (Xcode version 9.4.1). There it workes fine and it is ready for the upload in the AppStore. Because My Mac can't run macOS mojave I borrowed another Mac with the latest Xcode Version…
ManSe
  • 81
  • 1
  • 7
-1
votes
1 answer

How to edit xib in Xcode 10?

I followed several tutorials in which there are some options at the right bottom of the screen like this: that allows entering images, texts, etc. but in my Xcode, there are no such options so I can't find anyway to edit my LaunchScreen.
Reza Shoja
  • 887
  • 2
  • 11
  • 24
-1
votes
1 answer

How to non programmatically add constraints to label and textview in my case study?

Screenshot of the example I am working with: I searched for the answer in previous posts but was unable to find the answer. When I execute, the text fields are overlapping with one another and is clustered. I am not sure, what constraints to add,…
-1
votes
1 answer

Xcode 10 static library doesn't include x86_64 arch

I am building a static library to be used with another project I'm working on, and eventually it will be included in a framework I'm developing. When I bring the library into my project, the arm builds work fine, but the simulator builds fail with…
SteveB
  • 483
  • 1
  • 4
  • 18
-1
votes
1 answer

Xcode 10.0 OpenCV Cpp project does not read NSCameraDescription from info.plist

I have already added a info.plist file, but it just wont let me use the webcam.I am in a fix as I have already tried editing the info.plist as a source file. Correct me if I am missing something. Also linked the info.plist to the plist for the app…
P Sing
  • 21
  • 3
-1
votes
1 answer

Xcode 10.0 Crash every time of header import

Xcode 10.0 with project in Objective-C. Each and every time Xcode crash at time of #import "" statement.
Pratik Sodha
  • 3,679
  • 2
  • 19
  • 38