Questions tagged [xcode10.2]

For questions about the 10.2 version of Xcode. Use this tag in combination with the general [xcode] tag. If your question applies to Xcode more generally, use only the [xcode] tag.

151 questions
1
vote
0 answers

Xcode 10.2 is not showing autocompletion

Recently I have downloaded Xcode 10.2 from the App Store. I started using it. And I observe that my Xcode is not showing autosuggestion or autocompletion when I am writing code. Anyone have any idea about it ? Is I missed anything ? Should it…
VRAwesome
  • 4,721
  • 5
  • 27
  • 52
1
vote
2 answers

update Xcode to 10.2.1 run project crash with problem dyld: Library not loaded: @rpath/libswiftCore.dylib

I have a project that was created with Xcode 10, Objective-C, and Swift 4.0 and now upgraded to Xcode 10.2.1. Error reporting for each run. I have set Always Embed Swift Standard Libraries to YES Add @executable_path/Frameworks to "Runpath Search…
Jackie
  • 13
  • 2
1
vote
2 answers

error: Unable to resolve build file: XCBCore.BuildFile (namedReferencesCannotBeResolved) (in target 'CentralCasting')

I am facing an issue while running iOS code from react-native Unable to resolve build file: XCBCore.BuildFile (namedReferencesCannotBeResolved) (in target 'myProjectName') I have tried many solution from stackover flow but nothing working.
Kotes
  • 21
  • 1
  • 4
1
vote
0 answers

Xcode 10.2 – Swift 5 enum with associated values enters incorrect case

I just updated one of my projects to Swift 5 and have a pretty weird occurrence. I'm using a GKStateMachine to handle states for a game. When entering a state I also set the value of an enum to the related case for cleaner communication to the…
arthurschiller
  • 316
  • 2
  • 9
1
vote
1 answer

Xcode 10.2.1 xcode simulators are not working

after updating to xcode 10.2.1 simulators are not working.My using mscOS Mojave Version 10.14.4 in my Mac mini (Late 2012). The Simulators takes 20-30mins to attach the apps and after waiting for that much it gives error messages like "could not…
1
vote
1 answer

Cocoa swift: how can set NSTextField to only accept number

Any of you knows how can set NSTextField to only accept numbers(int)? Let me explain. I got my NSTextField: @IBOutlet weak var txtBoxField: NSTextField! But I can type any string and what I want is just to be able to type numbers. I'll really…
user2924482
  • 8,380
  • 23
  • 89
  • 173
1
vote
0 answers

Cannot adjust UIScrollView with UITabbar

i'm trying to setup a uiscrollview on a uinavigationbar and uitabbar controllers, the uiscrollview is limited to the bottom of the main view i tried to rewrite all of the constraints, and i've tried to add constant for the bottom constraint //…
1
vote
3 answers

upgrade Xcode to 10.2, build failed

After upgrade my Xcode to 10.2, my working project can't build successfully any more, and the following is the error message. cause I'm a newbie at Xcode, I don't know how to fix it. Failed to find a suitable device for the type…
realxie
  • 109
  • 3
1
vote
1 answer

weird result of init some instance in swift5?

protocol TestProtocol { init() } class Person: NSObject, TestProtocol { required override init() { super.init() } } class Man: Person { } class Women: Person { } class ViewController: UIViewController { override func…
light_bo
  • 21
  • 3
1
vote
2 answers

No such module 'IBMCloudAppID' in xcode 10.2 Swift

I am trying to use IBMCloudAppId is my swift project and getting an error when I am trying to import IBMCloudAppID in my xcode 10.2. I followed these steps as Open your Xcode project and enable Keychain Sharing (Under project settings >…
user366584
  • 1,016
  • 1
  • 16
  • 34
1
vote
1 answer

Xcode - how to reset glitched Xcode 10.2 installation?

I'm updating to Xcode 10.2, and have a glitched installation stuck at about 77%. It has been sitting like that for over 30 minutes. Restart did not help - the installation gets stuck again. How to fix glitched/stuck Xcode 10.2 installation process?
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
1
vote
1 answer

Xcode 10.2 iOS Swift (+ React Native) project compilation error

After upgrading to Xcode 10.2 we cannot compile project anymore. We got this compilation errors. Looks like very wired LLVM compiler error. It is not React Native issue as far as I can see, but I cannot even imagine how to debug this error, there is…
Dmitrii Dushkin
  • 3,070
  • 4
  • 26
  • 37
1
vote
0 answers

Xcode 10.2 still with Swift 4.2 Array of optional StringProtocol extension not compiling anymore

I've just updated to Xcode 10.2 and my formerly compiling extension can't compile anymore: extension Array where Element == StringProtocol? { func joined(by separator: String = " ") -> String { return compactMap { $0?.description…
Zaphod
  • 6,758
  • 3
  • 40
  • 60
1
vote
1 answer

Conversion to Swift 5 produces 'Multiple commands produce x86_64.swiftmodule' error

I am trying to get Xcode 10.2 to convert my hybrid Objective-C / Swift project to use Swift 5. Whenever I do this, however, the compilation files due to the following error error: Multiple commands produce…
Andy
  • 38
  • 4
1
vote
3 answers

Argument labels '(stringInterpolationSegment:)' do not match any available overloads

After updating the latest Xcode Version 10.2 (10E125), I am getting this error : Argument labels '(stringInterpolationSegment:)' do not match any available overloads Could not find any solution yet, any idea please ? let interpolation1 =…
Arafin Russell
  • 1,487
  • 1
  • 18
  • 37