Search results for

“xcode github”

96,040 results found

Post

Replies

Boosts

Views

Activity

Reply to After latest update: The compiler is unable to type-check this expression in reasonable time
As szymczyk says, it’s hard to offer a good answer without more info about your code. However, there are some things common to all such issues. This is a compile-time error, not a runtime error, so the fact that your previous code is still running in TestFlight isn’t a surprise. At some fundamental level all instances of this problem could be considered a compiler bug (or maybe an opportunity for an improvement in the compiler :-). That’s especially true here, where things have regressed from a previous version of the compiler. If you’re able to distill this down into a small test project that compiles with Xcode 15.2 but fails in this way with Xcode 15.3, it’d be great if you could file a bug with that project. As to what you can do about it, the advice in the error message is sound. This problem is triggered by code that relies on extensive type inferencing. The compiler has to search a large space of possible type combinations that might allow the code
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’24
Reply to Swift 2.3 - What will be the date of your death?
From the Xcode 8.3 release notes...Xcode 8.3 no longer supports Swift 2.3. Please migrate your projects containing Swift 2.3 code to Swift 3 syntax by opening the project and choosing Edit > Convert > To Current Swift Syntax.Over time, Apple resets the base version of Xcode required for submissions. Your guess as to when that base version will be set to 8.3.Personally, I jumped on Swift 3.x changes last July. It was huge. It was painful. But I am so glad to have done it early. And, my code is definitely improved in terms of readability and consistency. There is at least one WWDC 2016 video that goes over in great detail the changes along with best practices.
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’17
Reply to Swift Playground hangs on Xcode/High Sierra fresh install
I spent the past several days trying to get Xcode 9.4 to work. It crashes constantly as soon as a syntax error occurs as you are typing a line of code. I submitted a ticket with Apple and they said it was a bug. None of the workarounds that I found on the web work. The details of the help ticket is below. I don't see how anyone can use Xcode 9 and Swift 4. PLATFORM AND VERSION OS X MacBookPro12,1 Intel Core 95 8 GB memory. The OS is macOS 10.13.6 Darwin 17.7.0 DESCRIPTION OF PROBLEM Xcode 9.4.1 hangs when running simple IOS code from the Intro to App Development Curriculum by Apple. I am simulating an iPhone 5s phone. STEPS TO REPRODUCE Go into Xcode Open any of the Intro to App Development Curriculum projects into the playground. When an syntax error Xcode hangs. The only fix is to reboot the computer. This happens a lot in developing code.
Aug ’18
Reply to No Swift Package Manager for iOS
The new build system available for preview in the Xcode 9 beta is probably a necessary step toward adding support for iOS/watchOS/tvOS, and toward making the Swift Package Manager an integrated option within Xcode.For more info you can search the web for swift-llbuild and check out the apple repository on github.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’17
Reply to Xcode Full Vim Support
I switch between Android Studio (eclipse-based) and Xcode all of the time. And I have hated using xcode ever since the XVIM support went away. The native Xcode support for vi is a joke! ShadowVim sounds fantastic, but I am intimidated by what I see on github. There are a lot of technical details, but I don't see a simple overview. How do I get ShadowVim up-and-running? Is there a document like Installing ShadowVim for dummies I have been using vi/vim for 40 years, but I am not a guru. If I just had . and a small subset of :, I would be very happy. THANK YOU for your hard work!!
Jul ’23
Reply to Submit ios9+ app
Looks like you can... My Xcode 9.3 supports down to iOS 8.0 via the Deployment OS setting. You may need to code around any deprecations, etc. Idioms might help.And just a note that after all the chatter surrounding Apple's repeated admonition that as of April 2018 (May 1 is tomorrow...), 'all new apps and updates must support iOS 11', which would mean latest Xcode 9.3 (as of now), iTunes Connect, after nearly two years, remains unchanged, still saying this about that:Submit your builds using Xcode 6 or later, or Application Loader 3.0 or later.If you want to build w/base SDK iOS 9.x, you're free to use Xcode 7.x - which of course means you can't also support iOS 11 - but you seem to be good-to-go in that example, since you have no interest in iOS 11 support.Good luck.
Apr ’18
Reply to Can't delete breakpoints in Xcode 14.1
Thanks, I've used Xcode for a long time. So I'm familiar with the breakpoint UI. It's just that they shift as code changes, and then I like to delete them. How do you delete a conflicting Xcode keyboard shortcut? I constantly have this issue. Cmd+ doesn't work. There are no articles online about it. delete just enters the delete key as the keyboard shortcut. This shouldn't have to be this hard. The keyboard shortcut menu even has a red x, but you click on it and it doesn't delete the conflict.
Dec ’22
Reply to Problem with matching arrays and indexes
I apologize, it is confusing. I don't know what to do so there is no code yet. My previous attempts are snippets and are not whole. I'm looking if there is a function to do this process below before I start coding again.The values are values of the variables x and y, in this specific case the values are 3 and 5, however, the values of x and y will change every loop.As well as the fact if we convert the numbers into strings it would be pointless again, because it would be searching for x, and not searching for the actual value of x.What I was trying to say here is simply I tried the function arrayValue.containsand in order to do that .contains function, I would need to string x, which would make the .contains function search for x, instead of the actual value of x, in this example is 3.if arrayValue.contains(x){}Sorry if it's not clear, I'll do my best, since I am confused myself.
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’19
Reply to guard vs control-flow-aware typing?
It is in effect the same thing. In particular, you can currently write this code (where x is a property of optional type):guard let x = x else {return} // 'x' is an unwrapped local for the rest of the scopeNote that it's not really unsafe, because you can't assign to the new 'x', and it has the same value as the old x.All that's really in question here is whether this sort of thing is always going to require an explict let x = x somewhere in the syntax, as above, or whether this in the future might be done silently by the compiler.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to After latest update: The compiler is unable to type-check this expression in reasonable time
As szymczyk says, it’s hard to offer a good answer without more info about your code. However, there are some things common to all such issues. This is a compile-time error, not a runtime error, so the fact that your previous code is still running in TestFlight isn’t a surprise. At some fundamental level all instances of this problem could be considered a compiler bug (or maybe an opportunity for an improvement in the compiler :-). That’s especially true here, where things have regressed from a previous version of the compiler. If you’re able to distill this down into a small test project that compiles with Xcode 15.2 but fails in this way with Xcode 15.3, it’d be great if you could file a bug with that project. As to what you can do about it, the advice in the error message is sound. This problem is triggered by code that relies on extensive type inferencing. The compiler has to search a large space of possible type combinations that might allow the code
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Swift 2.3 - What will be the date of your death?
From the Xcode 8.3 release notes...Xcode 8.3 no longer supports Swift 2.3. Please migrate your projects containing Swift 2.3 code to Swift 3 syntax by opening the project and choosing Edit > Convert > To Current Swift Syntax.Over time, Apple resets the base version of Xcode required for submissions. Your guess as to when that base version will be set to 8.3.Personally, I jumped on Swift 3.x changes last July. It was huge. It was painful. But I am so glad to have done it early. And, my code is definitely improved in terms of readability and consistency. There is at least one WWDC 2016 video that goes over in great detail the changes along with best practices.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’17
Reply to WKWebView's video become black while paused in fullscreen state
I know why black, because I use webView?.translatesAutoresizingMaskIntoConstraints = false to avoid some wkwebview bug in Xcode 13.x; now this code make black screen bug, remove it, black screen disappeared. but new bug appeared: after enter fullscreen again, the WebView become small size that same as main window. headache~~
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to Swift Playground hangs on Xcode/High Sierra fresh install
I spent the past several days trying to get Xcode 9.4 to work. It crashes constantly as soon as a syntax error occurs as you are typing a line of code. I submitted a ticket with Apple and they said it was a bug. None of the workarounds that I found on the web work. The details of the help ticket is below. I don't see how anyone can use Xcode 9 and Swift 4. PLATFORM AND VERSION OS X MacBookPro12,1 Intel Core 95 8 GB memory. The OS is macOS 10.13.6 Darwin 17.7.0 DESCRIPTION OF PROBLEM Xcode 9.4.1 hangs when running simple IOS code from the Intro to App Development Curriculum by Apple. I am simulating an iPhone 5s phone. STEPS TO REPRODUCE Go into Xcode Open any of the Intro to App Development Curriculum projects into the playground. When an syntax error Xcode hangs. The only fix is to reboot the computer. This happens a lot in developing code.
Replies
Boosts
Views
Activity
Aug ’18
Reply to No Swift Package Manager for iOS
The new build system available for preview in the Xcode 9 beta is probably a necessary step toward adding support for iOS/watchOS/tvOS, and toward making the Swift Package Manager an integrated option within Xcode.For more info you can search the web for swift-llbuild and check out the apple repository on github.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’17
Reply to Xcode Full Vim Support
I switch between Android Studio (eclipse-based) and Xcode all of the time. And I have hated using xcode ever since the XVIM support went away. The native Xcode support for vi is a joke! ShadowVim sounds fantastic, but I am intimidated by what I see on github. There are a lot of technical details, but I don't see a simple overview. How do I get ShadowVim up-and-running? Is there a document like Installing ShadowVim for dummies I have been using vi/vim for 40 years, but I am not a guru. If I just had . and a small subset of :, I would be very happy. THANK YOU for your hard work!!
Replies
Boosts
Views
Activity
Jul ’23
Reply to Submit ios9+ app
Looks like you can... My Xcode 9.3 supports down to iOS 8.0 via the Deployment OS setting. You may need to code around any deprecations, etc. Idioms might help.And just a note that after all the chatter surrounding Apple's repeated admonition that as of April 2018 (May 1 is tomorrow...), 'all new apps and updates must support iOS 11', which would mean latest Xcode 9.3 (as of now), iTunes Connect, after nearly two years, remains unchanged, still saying this about that:Submit your builds using Xcode 6 or later, or Application Loader 3.0 or later.If you want to build w/base SDK iOS 9.x, you're free to use Xcode 7.x - which of course means you can't also support iOS 11 - but you seem to be good-to-go in that example, since you have no interest in iOS 11 support.Good luck.
Replies
Boosts
Views
Activity
Apr ’18
Reply to Can't delete breakpoints in Xcode 14.1
Thanks, I've used Xcode for a long time. So I'm familiar with the breakpoint UI. It's just that they shift as code changes, and then I like to delete them. How do you delete a conflicting Xcode keyboard shortcut? I constantly have this issue. Cmd+ doesn't work. There are no articles online about it. delete just enters the delete key as the keyboard shortcut. This shouldn't have to be this hard. The keyboard shortcut menu even has a red x, but you click on it and it doesn't delete the conflict.
Replies
Boosts
Views
Activity
Dec ’22
Reply to Best ways to publish an app along with a developer partner
I think GitHub has a student program that is free if you are a student, thats what i use for my college projects, and you have a choice to make them public or private, and you can invite people to your repo like your teacher or classmates. Or you could just pay for a Github membership, or you can choose a licence for your source code.
Replies
Boosts
Views
Activity
Jul ’17
Reply to Access Watch Heart Rate Sensor? Where are the docs?
search github watchOS-2-heartrate
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Unresolved Spilt View problem?
I am just learning GitHub. How do I push a link?
Replies
Boosts
Views
Activity
Mar ’18
Reply to Problem with matching arrays and indexes
I apologize, it is confusing. I don't know what to do so there is no code yet. My previous attempts are snippets and are not whole. I'm looking if there is a function to do this process below before I start coding again.The values are values of the variables x and y, in this specific case the values are 3 and 5, however, the values of x and y will change every loop.As well as the fact if we convert the numbers into strings it would be pointless again, because it would be searching for x, and not searching for the actual value of x.What I was trying to say here is simply I tried the function arrayValue.containsand in order to do that .contains function, I would need to string x, which would make the .contains function search for x, instead of the actual value of x, in this example is 3.if arrayValue.contains(x){}Sorry if it's not clear, I'll do my best, since I am confused myself.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’19
Reply to Source code for streaming Heart Rate
Search github watchOS-2-heartrate
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Xcode 26 RC unable to compile asset catalogs on CI
FWIW I am seeing this with my GitHub actions as well.
Replies
Boosts
Views
Activity
Sep ’25
Reply to guard vs control-flow-aware typing?
It is in effect the same thing. In particular, you can currently write this code (where x is a property of optional type):guard let x = x else {return} // 'x' is an unwrapped local for the rest of the scopeNote that it's not really unsafe, because you can't assign to the new 'x', and it has the same value as the old x.All that's really in question here is whether this sort of thing is always going to require an explict let x = x somewhere in the syntax, as above, or whether this in the future might be done silently by the compiler.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’15