Search results for

xcode github

94,046 results found

Post

Replies

Boosts

Views

Activity

Reply to Watch Connectivity - WCSessionDelegate methods not called (simulator)
I'm having exatly the same problem, but with an actual Watch and iPhone (ie not simulator). Interestingly, the Apple sample code for WCSession, Potloc, had the same problem in a beta and/or Xcode version, then worked OK in another, and now fails to complie under the latest Xcode beta. Unfortunately I have two development environments that have had different versions of Xcode and OS X at various times combined with the iOS 9 and OS2 betas, so I haven't kept track of what version of Potloc worked in which specific environment.This is very frustrating.Regards,Michael
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
Reply to Does Universal Links work with unsigned apple-app-site-association JSON?
After seeing the device log, I found out that the first launch of the app will download apple-app-site-association JSON file from HTTPS domain, not HTTP.So that is the problem.I am using GitHub pages for testing with HTTPS domain.But the next problem I am facing is that iOS does not download the JSON file from GitHub page without www prefix (GitHub only provide https://hieuth.github.io/ not https://www.hieuth.github.io/)
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’15
Reply to How can i use the old code(or project) in xcode10
'how can I use' is a fairly broad question, especially considering that the readme claims Swift 2 (vs. Xcode 10's Swift 4.x), which adds it's own layer beyond whatever else the code focuses on. Xcode 10 won't be able to migrate that version Swift, so you'd have to go back to Xcode 8.x (?), then start climbing the ladder until you ended up with a version current tools would accept.Might be more in your interest, however, to let that fossilized tutorial go and find something much more up to date. As it is, you risk learning things you'll only need once, rather than uptodate skills you can put to work going forward.BTW, this is off-topic for this forum. You might be better served as this stage using'Getting Started', instead.Good luck.
Nov ’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 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 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 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 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