Search results for

“xcode github”

95,432 results found

Post

Replies

Boosts

Views

Activity

Reply to Webview crashes when instantiating shared workers in IOS 16.1
Hello @mauri870. Thanks for reporting this issue regarding SharedWorker in WKWebView on iOS 16.1, and for the bug report. While our engineers work on a long-term solution, the suggested workaround is to disable SharedWorkers for the web site you're loading. You can either do this in your web source, if you control it, or in your native app, if you are loading arbitrary web sites. As an example, the sample code in Code Listing 1 disables SharedWorkers when loading a page in WKWebView, by injecting a script using WKUserScript. Code Listing 1. func makeViewConfiguration() -> WKWebViewConfiguration { let configuration = WKWebViewConfiguration() let dropSharedWorkersScript = WKUserScript(source: delete window.SharedWorker;, injectionTime: WKUserScriptInjectionTime.atDocumentStart, forMainFrameOnly: false) configuration.userContentController.addUserScript(dropSharedWorkersScript) return configuration } var view = WKWebView(frame: CGRect(x: 0, y: 0, width: 400, height: 400), co
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’22
Reply to Locally Built Apple-LLVM Toolchain Can't Built Bitcode Supported Static Framework
Hi @edford, I am experimenting with adding custom modifications to the default toolchain. I expect the local build of the apple-llvm toolchain to behave the same as the pre-built toolchain that’s included in Xcode. Right now there’s a difference between the two, and I am not sure whether I missed anything. So, Is there any difference between the toolchain on Apple’s Github and the one came with Xcode? Or is there anything specific that I have to pay attention to when I try to build the toolchain locally?
Jan ’21
Reply to Xcode 13.3 SwiftPM.SPMRepositoryError error 5
You need to generate a new key since the one Xcode auto-generates is not supported... ssh-keygen -t ecdsa -C our_email pbcopy < ~/.ssh/id_ecdsa.pub Go to https://github.com/settings/ssh/new, paste the key and save. Go to Xcode -> Preferences -> Sign into the github account if not already. Select SSH for Clone using For SSH Key select id_ecdsa.
Mar ’22
Reply to How can we create class diagram in Xcode 7 and above?
Found this ; they mention OmniGraffle, but it seems to have limitsanda freeware (github, so you could customize):h ttps://stackoverflow.com/questions/29186136/uml-class-diagrams-for-xcode-swift-programmingEditedI tested, it's very interesting ; clearly, the set up on the page could be improved (up to us to improve the freeware), but a very good starting point.
Topic: Programming Languages SubTopic: General Tags:
Sep ’17
Reply to Badger code sample does not run on iOS 10 when compiled on El Capitan?
Thanks for your answer.Yes it is an iPad mini 2 - forgot to add the number at the end. The error I get consistently, both in the simulator and on the device is EXC_BAD_ACCESS at line 38 of ViewController.swift for Thread 1 with code=1, address = 0x0. I am running OS X v 10.11.5. I should say that I have both Xcode 7.3.1 and Xcode 8 beta installed. Since this error seems to be uncommon, I'll try a fresh install.
Topic: Graphics & Games SubTopic: SceneKit Tags:
Jun ’16
Reply to Xcode 8 release crashes on old xib files
I have the exact same issue. Any help would be greatly appreciated!If it''s of any help, my Xcode crash log is overe here gist [dot] github [dot] com [slash] thomax [slash] b338a8d02fb0c230fb1ec8e6cda41be9. Sorry for mangling that URL, but it seems the only way to avoid the moderation flag, and moderation around here seems to take a while.
Sep ’16
Reply to Custom Errors
I tried the code you last posted in new project (both Xcode 8.3.3 and Xcode 9, Swift 3.x and 4) and it works fine. At this point, I'd say the problem is not the ExamineError declaration, but something else is going wrong in your project. If you're using a current version of Xcode, I'd suggest you submit a bug report and see what comes back.Incidentally, just for interest, you could try:catch { let e = error as! ExamineError print (type(of: e)) }and see what it says.
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’17
Reply to Xcode Server no longer includes the capacity to host Git repositories.
>it's pretty straightforward to just use git and ssh on the server. I never used the xcode server option for it - are you really losing anything (besides time having to set up something new)? I have a ton of self hosted git repositories set up on my Xcode Server and having to set up remotes elsewhere or to configure them from the command line is a a time consuming task. Just a coulple clicks in the GUI was pretty nice.>But I am sincerely curious. Mostly just want to encourage you to look into setting it up yourself as a git+ssh type thing before you feel like you have no option besides switching to paid setup.Paying Github to host private repositories was never going to happen from me. But don't kid yourself, they made a deal with them for this integrated setup in Xcode 9 and money was involved. Self-hosting repositories is an easy way to not pay Github, so I bet they agreed with them to remove the feature in exchange for that open in xcode stuff on
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’17
Reply to Xcode doesn't support iOS 14.5.1
You can add support for iOS 14.5 (and watchOS 7.4) by copying the relevant DeviceSupport folders from Xcode 12.5 to Xcode 12.4. For example the one for iOS 14.5 is located at is Xcode.app/Contents/Developer/iPhoneOS.platform/DeviceSupport/14.5 You can download the xip for Xcode 12.5 from here: https://developer.apple.com/download/more/?=xcode and extract that folder from the XCode.app inside it and move it to your installed XCode.app. There are also publicly hosted GitHub repositories with these folders, a quick search will turn them up. It is obviously better to extract it from the official source yourself, but I think the archives are signed anyways.
May ’21
Reply to Failed to load owners error using GitHub
Was having the same problem. I didn't have anything from Github in my Keychain – the problem was with my Personal Access Token. I had left all of the checkboxes empty at first, but then re-signed in after checking all the checkboxes to allow for permissions to be granted through the token ... it worked right away after that! [https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line] Definitely second viewing this link if you are having this issue.
Jan ’21
Reply to Webview crashes when instantiating shared workers in IOS 16.1
Hello @mauri870. Thanks for reporting this issue regarding SharedWorker in WKWebView on iOS 16.1, and for the bug report. While our engineers work on a long-term solution, the suggested workaround is to disable SharedWorkers for the web site you're loading. You can either do this in your web source, if you control it, or in your native app, if you are loading arbitrary web sites. As an example, the sample code in Code Listing 1 disables SharedWorkers when loading a page in WKWebView, by injecting a script using WKUserScript. Code Listing 1. func makeViewConfiguration() -> WKWebViewConfiguration { let configuration = WKWebViewConfiguration() let dropSharedWorkersScript = WKUserScript(source: delete window.SharedWorker;, injectionTime: WKUserScriptInjectionTime.atDocumentStart, forMainFrameOnly: false) configuration.userContentController.addUserScript(dropSharedWorkersScript) return configuration } var view = WKWebView(frame: CGRect(x: 0, y: 0, width: 400, height: 400), co
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to Locally Built Apple-LLVM Toolchain Can't Built Bitcode Supported Static Framework
Hi @edford, I am experimenting with adding custom modifications to the default toolchain. I expect the local build of the apple-llvm toolchain to behave the same as the pre-built toolchain that’s included in Xcode. Right now there’s a difference between the two, and I am not sure whether I missed anything. So, Is there any difference between the toolchain on Apple’s Github and the one came with Xcode? Or is there anything specific that I have to pay attention to when I try to build the toolchain locally?
Replies
Boosts
Views
Activity
Jan ’21
Reply to Xcode 13.3 SwiftPM.SPMRepositoryError error 5
You need to generate a new key since the one Xcode auto-generates is not supported... ssh-keygen -t ecdsa -C our_email pbcopy < ~/.ssh/id_ecdsa.pub Go to https://github.com/settings/ssh/new, paste the key and save. Go to Xcode -> Preferences -> Sign into the github account if not already. Select SSH for Clone using For SSH Key select id_ecdsa.
Replies
Boosts
Views
Activity
Mar ’22
Reply to Animated blueprint of Solid-State Lithium Metal Battery
This is not github
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’23
Reply to How can we create class diagram in Xcode 7 and above?
Found this ; they mention OmniGraffle, but it seems to have limitsanda freeware (github, so you could customize):h ttps://stackoverflow.com/questions/29186136/uml-class-diagrams-for-xcode-swift-programmingEditedI tested, it's very interesting ; clearly, the set up on the page could be improved (up to us to improve the freeware), but a very good starting point.
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’17
Reply to Badger code sample does not run on iOS 10 when compiled on El Capitan?
Thanks for your answer.Yes it is an iPad mini 2 - forgot to add the number at the end. The error I get consistently, both in the simulator and on the device is EXC_BAD_ACCESS at line 38 of ViewController.swift for Thread 1 with code=1, address = 0x0. I am running OS X v 10.11.5. I should say that I have both Xcode 7.3.1 and Xcode 8 beta installed. Since this error seems to be uncommon, I'll try a fresh install.
Topic: Graphics & Games SubTopic: SceneKit Tags:
Replies
Boosts
Views
Activity
Jun ’16
Reply to Xcode 8 release crashes on old xib files
I have the exact same issue. Any help would be greatly appreciated!If it''s of any help, my Xcode crash log is overe here gist [dot] github [dot] com [slash] thomax [slash] b338a8d02fb0c230fb1ec8e6cda41be9. Sorry for mangling that URL, but it seems the only way to avoid the moderation flag, and moderation around here seems to take a while.
Replies
Boosts
Views
Activity
Sep ’16
Reply to Custom Errors
I tried the code you last posted in new project (both Xcode 8.3.3 and Xcode 9, Swift 3.x and 4) and it works fine. At this point, I'd say the problem is not the ExamineError declaration, but something else is going wrong in your project. If you're using a current version of Xcode, I'd suggest you submit a bug report and see what comes back.Incidentally, just for interest, you could try:catch { let e = error as! ExamineError print (type(of: e)) }and see what it says.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’17
Reply to Keyserver on Windows?
Is it possible to share it on github?
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Feb ’20
Reply to Xcode Server no longer includes the capacity to host Git repositories.
>it's pretty straightforward to just use git and ssh on the server. I never used the xcode server option for it - are you really losing anything (besides time having to set up something new)? I have a ton of self hosted git repositories set up on my Xcode Server and having to set up remotes elsewhere or to configure them from the command line is a a time consuming task. Just a coulple clicks in the GUI was pretty nice.>But I am sincerely curious. Mostly just want to encourage you to look into setting it up yourself as a git+ssh type thing before you feel like you have no option besides switching to paid setup.Paying Github to host private repositories was never going to happen from me. But don't kid yourself, they made a deal with them for this integrated setup in Xcode 9 and money was involved. Self-hosting repositories is an easy way to not pay Github, so I bet they agreed with them to remove the feature in exchange for that open in xcode stuff on
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’17
Reply to Xcode doesn't support iOS 14.5.1
You can add support for iOS 14.5 (and watchOS 7.4) by copying the relevant DeviceSupport folders from Xcode 12.5 to Xcode 12.4. For example the one for iOS 14.5 is located at is Xcode.app/Contents/Developer/iPhoneOS.platform/DeviceSupport/14.5 You can download the xip for Xcode 12.5 from here: https://developer.apple.com/download/more/?=xcode and extract that folder from the XCode.app inside it and move it to your installed XCode.app. There are also publicly hosted GitHub repositories with these folders, a quick search will turn them up. It is obviously better to extract it from the official source yourself, but I think the archives are signed anyways.
Replies
Boosts
Views
Activity
May ’21
Reply to Safari 8.1 pinned tabs icons are not loaded
Even under Safari 9.0, under El Cap, it seems pretty flaky. Twitter's icon shows up, but GitHub's doesn't (and GitHub definitely has the valid markup for it in ther site's HTML).
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’15
Reply to Failed to load owners error using GitHub
Was having the same problem. I didn't have anything from Github in my Keychain – the problem was with my Personal Access Token. I had left all of the checkboxes empty at first, but then re-signed in after checking all the checkboxes to allow for permissions to be granted through the token ... it worked right away after that! [https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line] Definitely second viewing this link if you are having this issue.
Replies
Boosts
Views
Activity
Jan ’21
Reply to Error Analyzing App Version
hey guys! what helped me is running build inside Xcode until I debugging all the critical warnings such as e.g. missing ipad icon 152 x 152. after that, the upload went smoothly! so you'll likely to see the error when there are issues with your Info.plist, icon images, essentially anything really:) happy coding! niko
Replies
Boosts
Views
Activity
Jun ’22
Reply to Certain files giving NSOSStatusErrorDomain Code=-54
Nice case for a playground:import Foundation let x = NSError(domain: NSOSStatusErrorDomain, code:-54, userInfo:nil ) print((x))// Error Domain=NSOSStatusErrorDomain Code=-54 permErr: permissions error (on file open)Jan E.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Jan ’16