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

Is there a way for iOS 11 users to display ARSCNView with Deployment Target 10.2?

Currently, I am creating an application with Deployment Target 10.2. I have ViewControllerA and ViewControllerB available. All users can view ViewControllerA. I would like to allow iOS 11 users to view ViewController B. By tapping button AR of…
ginger
  • 69
  • 9
0
votes
1 answer

Adding facebook SDK to Xcode project throws exit code 1 error

I have looked at all the questions in stackoverflow regarding this question. Still no luck. When I add Facebook SDK to my Xcode project, it throws this error: "Linker command failed with exit code 1 (use -v to see invocation)". This error goes away…
Joseph Francis
  • 825
  • 1
  • 13
  • 20
0
votes
2 answers

Xcode 9 Swift 4 AR app add ads

I am trying to add iads to my Xcode9/Swift 4 AR project. From searching online, adding iads to the viewcontroller should be as easy as dragging the iad banner view into the main.storyboard, however there doesn't seem to be any options for ads in…
Rolthar
  • 151
  • 2
  • 18
0
votes
1 answer

Change border, font, color of UISegementControl

How can we change the following properties of UISegmentControl: font, border, color. I need the UISegementControl look like below: Googled around an hour but not found any proper answer. Please guide. Below is what i tried so far: override func…
iPhone 7
  • 1,483
  • 20
  • 54
0
votes
2 answers

Cleanse build failed on xcode 9

I try to build my legacy code on xcode 9, swift version 3.2 with the Cleanse dependency injector, but the static func configure(binder: Binder) function got the following error: Reference to generic type 'Binder' requires arguments in…
0
votes
1 answer

How to check notification permissions on the main thread in swift?

I've got a function in my code to check if we can have permission to display a UILocalNotification. open func hasPermission() -> Bool { if let permissions = UIApplication.shared.currentUserNotificationSettings { if…
Rool Paap
  • 1,498
  • 2
  • 29
  • 34
0
votes
2 answers

Inconsistent Date format

Xcode 9.0.1 · Swift 4 · iPhone 5s To recreate the problem I'm getting in my app, I've created a single view application and added the following three lines of code to ViewController.viewDidLoad(): let formatter = DateFormatter() …
Vince O'Sullivan
  • 2,403
  • 25
  • 40
0
votes
1 answer

Retrieve data from InputStream

I have an app that pulls data from a socket using the Stream class. Everything appears to work as expected, I am receiving data in the delegate method: func stream(_ Stream: Stream, handle eventCode: Stream.Event) The challenge I am having is…
Buyin Brian
  • 2,626
  • 2
  • 24
  • 42
0
votes
2 answers

Xcode 9 with Swift 4 Extra argument in call

I was using XCode 8.3 with swift 3.1 and I updated to Xcode 9 with swift 4, now in some classes when I use RXSwift, I have this error compiler logs: class petViewModel { var lastPetID: Int = 0 var refreshing = Variable(false) var…
user_Dennis_Mostajo
  • 2,389
  • 4
  • 24
  • 36
0
votes
1 answer

Swift Different Color for Each Action on UIAlertViewController.actionSheet

In swift, I am trying to add different colors to different buttons in a single option sheet. This is a sample: let optionMenu = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet) let reccommendAction = UIAlertAction(title:…
Jstngoulet
  • 743
  • 5
  • 12
0
votes
2 answers

Cannot connect to any HTTPS url on iOS 11 simulator

Going to https://google.com results in the screen below. This is an iOS 11.0.1 simulator, and I'm using Xcode 9.0.1 I've tried multiple HTTPS urls, and none have worked. I've tried these fixes, to no avail: Restart the simulator Hardware > Erase…
aleclarson
  • 15,865
  • 9
  • 52
  • 80
0
votes
2 answers

Yellow warning triangle in Xcode 9's Create Bot.. window

I'm trying to set up continuous integration (CI) in Xcode 9 with it's new built-in Xcode Server functionality. (MacBook Pro, macOS High Sierra) I've been following various tutorials, such as Tutorial: Continuous Integration with Xcode 9 and…
leanne
  • 5,933
  • 38
  • 65
0
votes
1 answer

Xcode 9 and iOS 11 SDK:UIToolbar buttons actions are triggering

I have UIToolbar which I am initialising with Nib using following statement. UIToolbar *toolbar = [[[NSBundle mainBundle] loadNibNamed:@"MyToolbar" owner:self options:nil] objectAtIndex:0] // this is an instance variable. In nib it is having two…
AppleBee
  • 1,086
  • 10
  • 22
0
votes
1 answer

Swift StoryBoard Reference segue to Navigation controller not Root

Is there a way to use storyboard reference segue to a controller which is the second controller inside a navigation controller? To be more specific: I have a cameraViewController in storyboard A. I would like to create a segue (with a storyboard…
Marco
  • 911
  • 12
  • 34
0
votes
1 answer

Launch an application available only for iPhone with Xcode 9

I was reading the thread: App Store: launching for iPhone/iPod only, not iPad and checking those answers, to try changing the Targeted Device Family, but my options are 1; 2 and 1, 2 and not iPhone; iPad; iPhone/iPad. How can I set this application…
MrMins
  • 9,633
  • 10
  • 67
  • 127
1 2 3
99
100