Search results for

“xcode github”

96,033 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.
Mar ’26
Reply to Xcode cloud builds are are failing
I've also been seeing this for the last month and a half since we started using Xcode Cloud. I really want to use Xcode Cloud but we have lots of failed builds, probably one in 5-10, which is way to frequent. Seems like maybe Github is rate limiting the Xcode Cloud servers or something. What makes you think it would be a memory issue?
May ’23
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
Reply to Weird debugger issue
You should instrument the code: if x 15000 { let z = 2 print(x=, x) } And tell what you get for x = 424
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’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
Mar ’26
Reply to Xcode cloud builds are are failing
I've also been seeing this for the last month and a half since we started using Xcode Cloud. I really want to use Xcode Cloud but we have lots of failed builds, probably one in 5-10, which is way to frequent. Seems like maybe Github is rate limiting the Xcode Cloud servers or something. What makes you think it would be a memory issue?
Replies
Boosts
Views
Activity
May ’23
Reply to Where's the Sandwich assets & code? wwdc20-10119
Searching GitHub... I found this: GitHub bymarting Sandwiches - https://github.com/bymartin/Sandwiches
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’20
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 Xcode 10 Bitbucket Cloud
I have the same issue. Of course it refuses to let me log in with my normal password (though, Github has 2FA support in Xcode, so I'm a bit sad that Bitbucket doesn't), but even an app password fails. What are we doing wrong I wonder?
Replies
Boosts
Views
Activity
Apr ’19
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 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 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 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 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
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
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