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
-2
votes
3 answers

Getting error "code will never execute" when using do-while loop for password checking function in c++e

I put a do/while loop in my password function but it doesn't work. I use xcode10 to code c++ and when I use a semicolon after the while statement it shows an error saying code will never execute string password (string g) { string ch = "hello"…
-2
votes
1 answer

Xcode 10 does not show file in Navigation Pane

When I click on a folder in the Navigation pane, and open it in Finder, the file is there, but it's not shown in Xcode and build fails complaining the file doesn't exist. Is there a way to "Refresh" the file structure (the way you would in IntelliJ)…
matchifang
  • 5,190
  • 12
  • 47
  • 76
-2
votes
1 answer

fixing - Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value

I am new to coding and have been trying to make an area on the screen that I can sign with my finger. I have made the box but I am struggling to clear it. I have made a button connected to a function to clear the path but I can't seem to work out…
-2
votes
1 answer

[NSNull length]: unrecognized selector sent to instance 0x10f8c6fc0' swift 4 iOS

I am fetching data from the model in this way if let birthdate = personInfo?.str_Birthdate { cell.dobTF.text = birthdate } But app crash and return this error '-[NSNull length]: unrecognized selector sent to instance 0x10f8c6fc0'
Shahbaz Akram
  • 1,598
  • 3
  • 28
  • 45
-2
votes
2 answers

How can I play Vimeo 360 video from url to my app?

I am searching out the SDK for playing Vimeo 360 video in my application, but I am not able to find out any way to play the video, even safari is also not supporting the 360 player, is there any framework exist to play Vimeo 360 video in my…
Patel Jigar
  • 2,141
  • 1
  • 23
  • 30
-2
votes
2 answers

Format %ld (%lx, %li, %lu and etc) doesn't work in Swift 4.2?

Please help me. I updated to Xcode 10 where is a Swift 4.2. And now format %ld (also others) doesn't work anymore. Who knows what should I use instead that? let name = String(format: "Pic_%ld", value) Part of code: if value != 0 && value != 6 &&…
-2
votes
1 answer
-2
votes
1 answer

Xcode 10: Compilation stopped by errors in other files

When using Xcode 10 (Beta 1) and several Swift frameworks like Eureka, the build fails with the following error: /path/to/Pods/Eureka/Source/Rows/Common/OptionsRow.swift:1:1: Compilation stopped by errors in other files Unfortunately, the real…
Hans Knöchel
  • 11,422
  • 8
  • 28
  • 49
-2
votes
4 answers

Where is the download link for Xcode for developers?

I am an iOS developer and can't find the xcode download link anywhere! I can find the link that says: For, Xcode beta, sign in with the Apple ID associated with your membership in the iOS Developer Program or Mac Developer Program to download and…
Sam Hanson
  • 53
  • 1
  • 1
  • 7
-3
votes
2 answers

How do i get and display the difference between two times using two UIDatePickers in swift 5

I'm new to Swift and I'm trying to calculate a time difference between 2 UIDatePickers the main UI of the app. I want the user to be able to select the time then press the button and a displayed time difference show up in the "label" for example…
moss s
  • 3
  • 1
-3
votes
1 answer

How to build Ionic Cordova with Xcode 10?

I would try: ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"
-3
votes
1 answer

I do not know why I have a touch indicator in my app ios

I'm developing an app with Swift in Xcode10 with multiple targets. When I run my application there is always a blue indicator of all the events that I touch on the screen, so after uploading it to TestFlight it remains there in emulator or devices.…
-3
votes
1 answer

mac os keychain password pops up

after I first learned how to code in swift I tried to run a simple app on my own iphone but I keep getting keychain asking me about a password. till now I've never seen this notification can you tell me what should I type as my keychain password?
-3
votes
1 answer

How to calculate variables

I want to calculate the amount of tickets that can be purchased in packages of 4 at a discounted rate or individually for full price. I don't know how to write the code that determines how many packages plus any individual tickets that will need to…
-3
votes
1 answer

How to add the code block on Xcode10?

I can't drag code to Library on Xcode10
Corbin
  • 113
  • 1
  • 7
1 2 3
65
66