Search results for

xcode github

92,017 results found

Post

Replies

Boosts

Views

Activity

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 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:
Mar ’24
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 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 Sign In With Apple not working with Xcode 12 beta on simulator ?
Using xcode 13. I downloaded ios Simulator 13.4 and there it works for me. Simulator ios version 14.5, and 15 it does not, no error messages, only spining wheel. Hardware works fine. The issue with this workaround, is that I have code that can only be run on 14+, so even if testing goes through for apple signin on 13.x, part of the code will not work on that ios version. Have now gone through rejected phase 3 times, although explained every time.
Topic: App & System Services SubTopic: General Tags:
Oct ’21
Reply to Implementing deprecated method
@Clude31 thank you for your reply. To be honest I am not an app developer. This(Linphone) is an opensource application. Just downloaded and compiled through xcode. Then I check the latest source repository from github the willAnimateRotationToInterfaceOrientation still exist.if I just replace this will it be fixed?- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator;Could you plese advise me..I'll be very gateful to you.
Jun ’18
Reply to Converting meters to millimeters
I was told the code below was the correct code to use to convert a 3d scan in meters to millimeters. I must not have it in the correct place in the code in my first post. vertex[j].x = vertex[j].x * 1000.0; vertex[j].y = vertex[j].y * 1000.0; vertex[j].z = vertex[j].z * 1000.0;
Topic: Programming Languages SubTopic: General Tags:
Nov ’16
Reply to Package.resolved file is missing from the repository
Update: It appears that the main reason I'm getting this error is because one of my dependencies is failing to clone. This dependency is located in a private repository also hosted on GitHub, and I've granted authorization to this additional repo. Could this be because Xcode-Cloud is trying to look in keychain for my normal git authentication info (username and token), but it's not available on the host?
Nov ’21