Search results for

“xcode github”

98,154 results found

Post

Replies

Boosts

Views

Activity

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 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 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 CMake duplicate symbol '_main' when building Swift/CPP interop. Why?
Solution found. Somehow it was related to Ninja, but can't say why it's not working with Ninja that is default for Qt environment. When changed to Xcode - everything works fine for me. There are published by me example that is working with CMake/Xcode compilation under Qt Creator. This example oriented on building Swift modules for MacOS/iOS environment only. If you need to build Swift project for the Linux or Windows follow this example from Apple repository on Github
Nov ’24
Reply to XCode 16 and iOS 12 support
I’ve managed to run the Xcode 26.4 debugger with an app on an old iPhone 5s running 12.5.8 (though it failed for a different reason). The trick was to install a developer disk image for iOS 12.4. Since Xcode does not grab it from the old iPhone I found it on GitHub where someone collected these old images. You need to copy the dmg and signature to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport . Good luck.
Apr ’26
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 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 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 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 How to make root volume writeable in Big Sur?
I've built a small program which enables you to write anywhere on your Mac again in Big Sur, check the github link for a detailed description on how to use it (use at your own risk): writeable_root on GitHub - https://github.com/fxgst/writeable_root Cheers!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’21
Reply to login item still displays my personal name after migrating to company account
I did do this on clean mac, it is done on github CI, so it is clean mac for sure. https://github.com/rustdesk/rustdesk/blob/1d6037003a24664ac92f2cb390fb94f30468b3a2/.github/workflows/flutter-build.yml#L591 Do you mean the display name is related to notarization rather than signing?
Replies
Boosts
Views
Activity
Aug ’25
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 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.
Replies
Boosts
Views
Activity
Nov ’18
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:
Replies
Boosts
Views
Activity
Aug ’15
Reply to CMake duplicate symbol '_main' when building Swift/CPP interop. Why?
Solution found. Somehow it was related to Ninja, but can't say why it's not working with Ninja that is default for Qt environment. When changed to Xcode - everything works fine for me. There are published by me example that is working with CMake/Xcode compilation under Qt Creator. This example oriented on building Swift modules for MacOS/iOS environment only. If you need to build Swift project for the Linux or Windows follow this example from Apple repository on Github
Replies
Boosts
Views
Activity
Nov ’24
Reply to XCode 16 and iOS 12 support
I’ve managed to run the Xcode 26.4 debugger with an app on an old iPhone 5s running 12.5.8 (though it failed for a different reason). The trick was to install a developer disk image for iOS 12.4. Since Xcode does not grab it from the old iPhone I found it on GitHub where someone collected these old images. You need to copy the dmg and signature to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport . Good luck.
Replies
Boosts
Views
Activity
Apr ’26
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 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 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 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 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 Applying WarpGeometry on SKEffect nodes inverts the child Sprite
This is the Complete Sample Project to test : Github
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Jul ’17