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

Xcode 9 issue duplication ('Uncategorized' + i.e. 'Swift Compiler Error')

For reason unknown to me, Xcode 9 started to duplicate some (most) of the issues (errors and warnings both). It adds 'Uncategorized' group in the Issue navigator and also displays each of them twice in the code. Not like it's critical, but…
nikans
  • 2,468
  • 1
  • 28
  • 35
0
votes
1 answer

Cannot Click or Drag Connections Inspector's item to View Controller on Xcode 9.1

i'm new to iOS Development. currently just want to produce Hello World Message. However, after write update ViewController.swift code, i can't not drag or click any item on Controller Inspector's item Below are Updated code of ViewController.swift…
questionasker
  • 2,536
  • 12
  • 55
  • 119
0
votes
0 answers

Xcode9 not work NSLog Swift in Simulator-System log

I want to see log in Simulator-System log. Xcode9 not work but Xcode8 works. I tried in Xcode9.2 beta but not work as well. NSLog("\(message)")
0
votes
1 answer

inserting data into array of type swift class

How can i insert a value of textfield texts into an array of type class? Basically, i have two view controllers one shows the list of items and code created using the following class class Courses { var courseName : String var courseCode :…
heavyguidence
  • 363
  • 1
  • 8
  • 23
0
votes
2 answers

Xcode9 unable to enter Git username while git pull

I am working on an app where I am pulling my code from the remote git repository While doing this Xcode not allowing me to enter my GitHub username. Its showing 'git' as prefill disable username. Please check attached screenshot link for same.
Ram
  • 11
  • 1
0
votes
1 answer

Why SafeArea frame size is changing?

After I added an UIView into one of my UIViewController I noticed SafeArea size is shortened from bottom about 40 and when I select the UIViewController it applies the effect all other UIViewControllers. When I click any other UIViewController, all…
Vetuka
  • 1,523
  • 1
  • 24
  • 40
0
votes
0 answers

didReceiveRemoteNotification:fetchCompletionHandler not being called when app(iOS 11.0.2) is in background and not connected to Xcode 9.0

When app is in background and connected to Xcode, everything works fine but when i unplug any iOS device and run the app, move to background and send remote notification, didReceiveRemoteNotification:fetchCompletionHandler not being called. Here is…
Arun
  • 483
  • 6
  • 20
0
votes
1 answer

Codesign error in Xcode 9

I have the strange error. When my app is compiling, Xcode 9 asks for password in keychain. But when I enter the password, this window appears a lot and so on ad infinitum. If I do not enter the password, then the application will not be…
user2759544
  • 181
  • 1
  • 10
0
votes
0 answers

My macOS project build failed after upgrade to Xcode9

here is the error description: Undefined symbols for architecture x86_64: "_verify", referenced from: _HIDGetDeviceInfo in HIDUtilities.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit…
gao
  • 11
  • 4
0
votes
0 answers

Unexpected Crash on iPhone X on launching the application

Application is working fine on all devices including iPhone 8 except iPhone X. Scenario is setting a viewcontrooller as the topviewcontroller on Push of navigation system and removing them on pop of navigation controller system. On launching on…
iOS Developer
  • 1,723
  • 2
  • 16
  • 47
0
votes
1 answer

Xcode UItextField Transparency

I figured out how to make the UITextField transparent, but I now need to make the placeholder text white. Is this possible? Thanks in advance for your help!
DerrickC
  • 3
  • 2
0
votes
1 answer

Xcode 9 only - How to resolve the [-Wundefined-var-template] warning caused by static variable in a class template?

The sample code compiles without warning or error on Windows and Linux. It starts to get the -Wundefined-var-template warning in XCode 9. foo.h: template struct myClass { static const char* name; }; foo.cpp: #include…
Batistuta
  • 127
  • 1
  • 9
0
votes
0 answers

Disable Scroll left & right in UIPageViewController Objective-C iOS

Hi every one i have 3 controller in my UIPageViewController. I just want to disable left swipe scroll from first controller and also disable right swap scroll from last controller. How can I do that?
Shahbaz Akram
  • 1,598
  • 3
  • 28
  • 45
0
votes
1 answer

NSTabViewController add NSToolbarItems

I'd like to use the NSTabViewController for switching through 6 different Tabs with the toolbar style. All tabs have in common that they show different aspects of a Customer entity. Now I want to add aditional NSToolbarItems to the toolbar of the…
Oliver Koehler
  • 711
  • 2
  • 8
  • 24
0
votes
1 answer

add separator line through auto layouts

I already added line through custom view but leading & trailing do not work properly according to device width. How i can can add following separator line in view and handle it through auto layouts.
Shahbaz Akram
  • 1,598
  • 3
  • 28
  • 45