Search results for

“xcode github”

95,415 results found

Post

Replies

Boosts

Views

Activity

Reply to Xcode 26 fails to load SPM packages
I have this problem with a private repo (which I have full access) on github.com too. Things I've tried (with Xcode not running) that did not help: deleting DerivedData deleting org.swift.swiftpm in both Library and Library/Caches deleting Xcode user defaults (com.apple.dt.Xcode) removing github items from Keychain Access restarted Mac after deleting above Each time I try to resolve packages it fails with SSH Key failed to verify. When I click on Edit Credentials it asks for my GitHub Personal Access token. I have an ssh key. It works everywhere except in Xcode - this also worked a month ago from within Xcode. This feels like it broke in Xcode RC2. The only thing that works is to run xcodebuild -resolvePackageDependencies in the terminal in my repo root. Which is a pain when you do a lot of branch switching or merging main into the branch. This is also how I know that the key works fine and I suspect it's a problem with Xcode itself.
2w
Reply to CAMetalLayer calling -display has no effect.
Hello Greven.SKEmitter nodes are very broken.Try to do this in Xcode 9.1 Beta 2. using ios 9.x-Add one SKEmitter to the default GameScene.sks using the spacehip texture.(In code)- create a strong reference to the skemitter- Remove the emitter from the scene (Using removefromparent)- Add the emitter back to the scene addchildren(Broken)- Broken in iOS 9.x Simulator & Real Hardware+works in iOS 8.x Simuator & Real Hardware+work removing - adding SKSprite nodes
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Oct ’15
Reply to Cannot register the product
I've been getting this exact same problem, I'm enrolled, have used xcode cloud on other projects I setup fine with no problems. I have created a new project in Xcode, connected it to my GIT account, verified that it exists on GitHub, pushed updates to it via Xcode, and setup an App Store Connect entry for it. The project is define in Aoo Store Connect. When I try to add Xcode Cloud from Xcode, I get to the step to grant access, it launched App Store Connect, but says it can't find the repository - Repository was not found. Either the repository does not exist or you do not have permission to access it. Learn More. I have the correct git account setup in Xcode, and it shows up fine when I get to teh gran access screen in Xcode for setting up a new xcode cloud workflow, but I still get the above error. As the owner of the GitRepo, what permission do I need to manually add in GitHub if I do NOT want to make my repo public?
Dec ’24
Reply to Dictionary Wrapper for Custom Types
How are you testing this? I copied your code into a new test project (created from the OS X > Command Line Tool template) and it worked just fine.k: 2, v: Green k: 3, v: Blue k: 1, v: Red Program ended with exit code: 0This is with Xcode 7.0 on OS X 10.10.5.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’15
Xcodebuild Archive fails to errSecInternalComponent in GitHub Action
Hi! I have an issue to build Archive when using xcodebuild in GitHub Action workflow. The project s quite basic iOS project. Archiving works fine locally using command xcodebuild -quiet -workspace MyProject.xcworkspace -scheme MyProject Release clean archive -configuration release -destination=generic/platform=iOS -archivePath MyProject.xcarchive Same command via SSH gives an error errSecInternalComponent. Command CodeSign failed with a nonzero exit code IF I run a command security unlock-keychain beforehand, then creating .xcarchive passes. In Keychain Access, I have necessary certificates. Those are located in login.keychain and every certificate seems to be valid. Also, based on this answer, I have tried to put 6 different Apple Worldwide Developer Relations Certification Authority -certs in System.keychain and removed same stuff from login.keychain. This didn't bring solution either. Our GitHub (Enterprise) Action workflow is quite simple (here is an extract): name: Build_Tests on: push:
4
0
3.4k
Oct ’22
🤔 GitHub tensorflow macOS alpha had better performance on M1?
Hello, I noticed a substantial decrease in performance compared to previous releases of tensorflow for M1 Macs. I previously installed the alpha release of tensorflow for M1 from GitHub, found here: https://github.com/apple/tensorflow_macos and was very impressed by the performance. I used the following script to benchmark my M1 Mac and other systems: https://gist.github.com/tampapath/662aca8cd0ef6790ade1bf3c23fe611a#file-fashin_mnist-py Running the alpha release from GitHub, my M1 Mac handsomely outperformed both google colab's random GPU offerings and an RTX 2070 windows computer. Recently, I went back to the GitHub repository, looking for new updates on tensorflow support for the M1 and was redirected here to the tensorflow-metal PluggableDevices installation guide: https://developer.apple.com/metal/tensorflow-plugin/ After installing the conda environment and running the same benchmark script, I realized my M1 systems's was running much slower. Additionally, the following error
7
0
4.1k
Aug ’21
Reply to Xcode 26 fails to load SPM packages
I have this problem with a private repo (which I have full access) on github.com too. Things I've tried (with Xcode not running) that did not help: deleting DerivedData deleting org.swift.swiftpm in both Library and Library/Caches deleting Xcode user defaults (com.apple.dt.Xcode) removing github items from Keychain Access restarted Mac after deleting above Each time I try to resolve packages it fails with SSH Key failed to verify. When I click on Edit Credentials it asks for my GitHub Personal Access token. I have an ssh key. It works everywhere except in Xcode - this also worked a month ago from within Xcode. This feels like it broke in Xcode RC2. The only thing that works is to run xcodebuild -resolvePackageDependencies in the terminal in my repo root. Which is a pain when you do a lot of branch switching or merging main into the branch. This is also how I know that the key works fine and I suspect it's a problem with Xcode itself.
Replies
Boosts
Views
Activity
2w
Reply to CAMetalLayer calling -display has no effect.
Hello Greven.SKEmitter nodes are very broken.Try to do this in Xcode 9.1 Beta 2. using ios 9.x-Add one SKEmitter to the default GameScene.sks using the spacehip texture.(In code)- create a strong reference to the skemitter- Remove the emitter from the scene (Using removefromparent)- Add the emitter back to the scene addchildren(Broken)- Broken in iOS 9.x Simulator & Real Hardware+works in iOS 8.x Simuator & Real Hardware+work removing - adding SKSprite nodes
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to Cannot register the product
I've been getting this exact same problem, I'm enrolled, have used xcode cloud on other projects I setup fine with no problems. I have created a new project in Xcode, connected it to my GIT account, verified that it exists on GitHub, pushed updates to it via Xcode, and setup an App Store Connect entry for it. The project is define in Aoo Store Connect. When I try to add Xcode Cloud from Xcode, I get to the step to grant access, it launched App Store Connect, but says it can't find the repository - Repository was not found. Either the repository does not exist or you do not have permission to access it. Learn More. I have the correct git account setup in Xcode, and it shows up fine when I get to teh gran access screen in Xcode for setting up a new xcode cloud workflow, but I still get the above error. As the owner of the GitRepo, what permission do I need to manually add in GitHub if I do NOT want to make my repo public?
Replies
Boosts
Views
Activity
Dec ’24
Reply to sidebar is not showing result in playground
I'm having the issue. I see a lot of threads across mahy platforms for this issue and there doesn't seem to be any solution. Its on stack, Github, medium blogs, reddit the list is endless. Xcode since its inception has been nothing but a series of bugs.
Replies
Boosts
Views
Activity
Apr ’18
Reply to How to disable automatic modification of struct to enum in my code
The reason has been found!!! It should be using GitHub desktop. After repeated testing. It's because of the GitHub desktop.
Replies
Boosts
Views
Activity
Nov ’24
Reply to publish my game
There is a clear explanation on how to generate a SSH key on the GitHub Help website: https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#generating-a-new-ssh-key
Replies
Boosts
Views
Activity
Jun ’20
Reply to PreferenceKey not working when embedded in HStack - SwiftUI
After further investigation, it turns out the Canvas (SwiftUI Previews) has that bug in Xcode Version 12.5.1 (12E507). The original code works on an iPhone X running iOS 14.8 The above workaround works on the Canvas though.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to Dictionary Wrapper for Custom Types
How are you testing this? I copied your code into a new test project (created from the OS X > Command Line Tool template) and it worked just fine.k: 2, v: Green k: 3, v: Blue k: 1, v: Red Program ended with exit code: 0This is with Xcode 7.0 on OS X 10.10.5.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to tunnel_server in SimpleTunnel(V1.3) can't convert to Swift 3.0
I too was able to run client part of the project. But the server target fails to build even after converting to Swift 2.3 or Swift 3.In the end, I had to pull the old source code from a Github repo and build with Xcode 7.1
Replies
Boosts
Views
Activity
Dec ’16
Reply to xcode-beta 7 hang fix?
Correction: I was able to restore El Capitan Beta 45 from Time Machine and things are working again with XCode 7 Beta 4. Pushing my work to github allowed me to not miss much, but it's a drag.I hope they can fix this soon!
Replies
Boosts
Views
Activity
Aug ’15
Reply to C++ Linker Error on M1 Mac running Hello World Program
I uninstalled X-Code and re-installed Code Runner 4, which resolved the problem... I was not using X-Code anyway... Cheers, Leandro Meinhardt
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’23
Xcodebuild Archive fails to errSecInternalComponent in GitHub Action
Hi! I have an issue to build Archive when using xcodebuild in GitHub Action workflow. The project s quite basic iOS project. Archiving works fine locally using command xcodebuild -quiet -workspace MyProject.xcworkspace -scheme MyProject Release clean archive -configuration release -destination=generic/platform=iOS -archivePath MyProject.xcarchive Same command via SSH gives an error errSecInternalComponent. Command CodeSign failed with a nonzero exit code IF I run a command security unlock-keychain beforehand, then creating .xcarchive passes. In Keychain Access, I have necessary certificates. Those are located in login.keychain and every certificate seems to be valid. Also, based on this answer, I have tried to put 6 different Apple Worldwide Developer Relations Certification Authority -certs in System.keychain and removed same stuff from login.keychain. This didn't bring solution either. Our GitHub (Enterprise) Action workflow is quite simple (here is an extract): name: Build_Tests on: push:
Replies
4
Boosts
0
Views
3.4k
Activity
Oct ’22
🤔 GitHub tensorflow macOS alpha had better performance on M1?
Hello, I noticed a substantial decrease in performance compared to previous releases of tensorflow for M1 Macs. I previously installed the alpha release of tensorflow for M1 from GitHub, found here: https://github.com/apple/tensorflow_macos and was very impressed by the performance. I used the following script to benchmark my M1 Mac and other systems: https://gist.github.com/tampapath/662aca8cd0ef6790ade1bf3c23fe611a#file-fashin_mnist-py Running the alpha release from GitHub, my M1 Mac handsomely outperformed both google colab's random GPU offerings and an RTX 2070 windows computer. Recently, I went back to the GitHub repository, looking for new updates on tensorflow support for the M1 and was redirected here to the tensorflow-metal PluggableDevices installation guide: https://developer.apple.com/metal/tensorflow-plugin/ After installing the conda environment and running the same benchmark script, I realized my M1 systems's was running much slower. Additionally, the following error
Replies
7
Boosts
0
Views
4.1k
Activity
Aug ’21
Reply to Xcode 13.2 - Internal error : Missing Package Description Module
Isn't this the one where you have to remove the IDESourceControlKnownSSHHostsDefaultsKey key from ~/Library/Preferences/com.apple.dt.Xcode.plist ? IIRC I had to do this after upgrading to 13.x. https://forums.swift.org/t/according-to-xcode-the-identity-of-a-repository-hosted-on-github-com-has-changed/53560/6
Replies
Boosts
Views
Activity
Dec ’21
Reply to [iOS 18] Scrolling behavior does not work only when built in Xcode 16
@DTS Engineer I used Sample Code above to run from Xcode 16.1 beta 3 to iOS 18.1 simulator, but the same issue is reproduced. However, for iOS 17.x versions in the same environment, it works seamlessly and well.
Replies
Boosts
Views
Activity
Oct ’24