Search results for

“xcode github”

96,037 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 Can anybody guide me how to use c programming language in Xcode ?
XCode is compatible with C, C++ and Objective C as well as Swift.Objective C is based on C.You can execute any C program in XCode as long as it does not have any platform specific dependencies that would prevent it from running on an Apple device / computer.Can you explain what the problem is, show some code and the error you get (screenshot) ?How did you create your project ?Try File > New > Project then OS X > Command Line Tool. Select C as the language. A main.c file will be created for you.
Topic: Programming Languages SubTopic: General Tags:
Jul ’16
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 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 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 Can anybody guide me how to use c programming language in Xcode ?
XCode is compatible with C, C++ and Objective C as well as Swift.Objective C is based on C.You can execute any C program in XCode as long as it does not have any platform specific dependencies that would prevent it from running on an Apple device / computer.Can you explain what the problem is, show some code and the error you get (screenshot) ?How did you create your project ?Try File > New > Project then OS X > Command Line Tool. Select C as the language. A main.c file will be created for you.
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’16
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 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 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 Can we share planes/anchorpoints with others?
I will put this on github in the coming weeks and respond back here.
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Jun ’17
Reply to Xcode does not create git directory?
It is solved by adding the username and email of GitHub on the preferences.
Replies
Boosts
Views
Activity
Dec ’18
Reply to VisionOS custom hover effect and click sound
Here is a VisonOS project demonstrating the problem: GitHub Project
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to How do I run a Xcode Applicaton as root
I plan to export the product to GitHub, giving it to people there.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to Are there assets available for the code from Introduction to SwiftUI section?
Thanks very much jaypri for creating the GitHub project.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’20
Reply to UIActivityViewController options are not clickable and scrollable when i add thirdparty framework
github address: https://github.com/youshinki/ShareExample
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jan ’22
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