Search results for

“xcode github”

95,414 results found

Post

Replies

Boosts

Views

Activity

Reply to Adding GitHub account to Xcode Accounts
As noted in a previous answer by @OOPer, you probably want not to change your password, but instead generate a personal access token. I don't know about previous versions, but in Xcode 13.3.1, the prompts indicate that reasonably well. One of the prompts links to GitHub's instructions on creating a personal access token (https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token). As of July 2021, personal access tokens can now expire. (https://github.blog/changelog/2021-07-26-expiration-options-for-personal-access-tokens/) You can still set your token not to expire, but they strongly recommend against that. You can set the expiration up to 1 year (via custom date). When your token expires, GitHub will email you with a link to GitHub's site to regenerate the token. You can also do that from GitHub's site by going to the Personal Access Token section -> click on the token name -> Regenerate token.
May ’22
Reply to xcode source control with fork of github project
>> what I will probably have to do is to checkout the remote to my local machine (either in Xcode or through CLI, I think either should work the same way), then create an Xcode project in the same directory without SCM, add the files from the local repository into the project, save the project and quit Xcode.I think the first part of this is one correct approach. Clone the repository locally, and create an Xcode project in the same directory (without SCM), and close the project. Then, I would use the git command line to add the new files (modulo stuff you want to ignore) to the existing local repository. That mostly means the Xcode project package itself, along with any source files it created for free. Then, re-open the project, and you should be able to start adding files (now in the local repository to the project).There's another approach which should also work. Don't clone the github remote repository, but create a new Xcode project with SCM loc
Jul ’17
Reply to XCode 12 - Can't login to Github without Access Token???
I created a new token on Github, removed my existing github account from xcode preferences and added it using the token. In preferences it worked, however everytime I open the dependencies I'm asked for a token (e.g. for https://github.com/apple/swift-algorithms.git). I choose my account, enter my token again and the dialogue closes, but pops up after a second. If I enter a wrong token, I get the message Authentication failed!. If I enter the correct token, the dialogue disappears but comes back. No package is actually added and it seems I'm unable to do so. That's a bummer since it worked before but now I can't proceed with development. I'm using Xcode 13.2.1
May ’22
Reply to What is the use of Git Hub to an app developer.
One additional benefit of Github to the ones NotMyName and KMT listed is online backup of your code. Without Github if your Mac was stolen, was destroyed in a fire, or had its hard drive/SSD go bad, you would lose your code. With Github if disaster strikes, you can buy a new Mac, clone your Github code on the new Mac, and continue to work on your app as if nothing happened.
Jul ’15
Github Remote Repository Errors - No merge base found
Any ideas on this would be greatly appreciated. Is it a process error, set-up error or should I be raising a ticket for this? I continue to have 2 error messages when attempting push/pull to remote repository. Example: Create new project on Desktop using Xcode, File/New Project (tick 'create Git repository on my Mac'). Change 'ContentView' text to “Hello world!2”. Integrate/Commit, stage all, amend, commit. Create new remote repository (I have checked GitHub and a new repository has been added). Change 'ContentView' text to “Hello world!3” Integrate/Commit, stage all, amend, commit. - all looks fine so far Integrate/push to origin/main: Error message: “The local repository is out of date, make sure all changes have been pulled from the remote repository and try again”. There is now 1 up and 1 down arrow next to the branch. Integrate/pull Error message: An unknown error has occurred. No merge base found. I have tried this several times with same response, using iMac with Xcode 15.3,
0
0
1.1k
May ’24
Reply to Change base SDK to older Versions
Not in that example, no.The usual process in that case is to lower the '[ <target>General/Deployment Info ]Deployment Target' - just be aware your code may need updating as well.Otherwise, if you must stay at 8.x iOS, install an older Xcode, such as 6.2, (where a need to submit to the store using iOS 10.x would be set aside), but that may only present different issues, requiring you to learn outdated code, processes etc. - my advice is to modernize now, instead.
Feb ’17
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 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 Adding GitHub account to Xcode Accounts
As noted in a previous answer by @OOPer, you probably want not to change your password, but instead generate a personal access token. I don't know about previous versions, but in Xcode 13.3.1, the prompts indicate that reasonably well. One of the prompts links to GitHub's instructions on creating a personal access token (https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token). As of July 2021, personal access tokens can now expire. (https://github.blog/changelog/2021-07-26-expiration-options-for-personal-access-tokens/) You can still set your token not to expire, but they strongly recommend against that. You can set the expiration up to 1 year (via custom date). When your token expires, GitHub will email you with a link to GitHub's site to regenerate the token. You can also do that from GitHub's site by going to the Personal Access Token section -> click on the token name -> Regenerate token.
Replies
Boosts
Views
Activity
May ’22
How to install x code on macbook pro version 10.10.5
Pls help me
Replies
1
Boosts
0
Views
726
Activity
Apr ’18
Reply to xcode source control with fork of github project
>> what I will probably have to do is to checkout the remote to my local machine (either in Xcode or through CLI, I think either should work the same way), then create an Xcode project in the same directory without SCM, add the files from the local repository into the project, save the project and quit Xcode.I think the first part of this is one correct approach. Clone the repository locally, and create an Xcode project in the same directory (without SCM), and close the project. Then, I would use the git command line to add the new files (modulo stuff you want to ignore) to the existing local repository. That mostly means the Xcode project package itself, along with any source files it created for free. Then, re-open the project, and you should be able to start adding files (now in the local repository to the project).There's another approach which should also work. Don't clone the github remote repository, but create a new Xcode project with SCM loc
Replies
Boosts
Views
Activity
Jul ’17
Reply to XCode 12 - Can't login to Github without Access Token???
I created a new token on Github, removed my existing github account from xcode preferences and added it using the token. In preferences it worked, however everytime I open the dependencies I'm asked for a token (e.g. for https://github.com/apple/swift-algorithms.git). I choose my account, enter my token again and the dialogue closes, but pops up after a second. If I enter a wrong token, I get the message Authentication failed!. If I enter the correct token, the dialogue disappears but comes back. No package is actually added and it seems I'm unable to do so. That's a bummer since it worked before but now I can't proceed with development. I'm using Xcode 13.2.1
Replies
Boosts
Views
Activity
May ’22
Reply to Xcode 9.1 Crashes on macOS Sierra 10.13.1 when Old Projects storyboard opens
For me I found that if I had iPhone X UI in a storyboard before my Xcode 9.1 will freeze indefinitely.You can go into Source Code mode for a storyboard and then edit the device ID to something like iPhone4_7 instead of iPhone5_9 and see if that helps.
Replies
Boosts
Views
Activity
Nov ’17
Reply to What is the use of Git Hub to an app developer.
One additional benefit of Github to the ones NotMyName and KMT listed is online backup of your code. Without Github if your Mac was stolen, was destroyed in a fire, or had its hard drive/SSD go bad, you would lose your code. With Github if disaster strikes, you can buy a new Mac, clone your Github code on the new Mac, and continue to work on your app as if nothing happened.
Replies
Boosts
Views
Activity
Jul ’15
Github Remote Repository Errors - No merge base found
Any ideas on this would be greatly appreciated. Is it a process error, set-up error or should I be raising a ticket for this? I continue to have 2 error messages when attempting push/pull to remote repository. Example: Create new project on Desktop using Xcode, File/New Project (tick 'create Git repository on my Mac'). Change 'ContentView' text to “Hello world!2”. Integrate/Commit, stage all, amend, commit. Create new remote repository (I have checked GitHub and a new repository has been added). Change 'ContentView' text to “Hello world!3” Integrate/Commit, stage all, amend, commit. - all looks fine so far Integrate/push to origin/main: Error message: “The local repository is out of date, make sure all changes have been pulled from the remote repository and try again”. There is now 1 up and 1 down arrow next to the branch. Integrate/pull Error message: An unknown error has occurred. No merge base found. I have tried this several times with same response, using iMac with Xcode 15.3,
Replies
0
Boosts
0
Views
1.1k
Activity
May ’24
Reply to i just wast 99$ with no approve for my app !!
Your links are broken, or showing only a Github CNAME file for your GitHub Pages
Replies
Boosts
Views
Activity
Jul ’18
Reply to Xcode Cloud builds failing with random 502 errors when resolving packages
Not sure if this was fixed by something external, but in case it helps anyone, it started working for me after going Xcode -> Settings -> Accounts -> Source Control Accounts -> GitHub and switching Clone Using: to SSH and uploading an SSH key
Replies
Boosts
Views
Activity
Apr ’24
Reply to Change base SDK to older Versions
Not in that example, no.The usual process in that case is to lower the '[ <target>General/Deployment Info ]Deployment Target' - just be aware your code may need updating as well.Otherwise, if you must stay at 8.x iOS, install an older Xcode, such as 6.2, (where a need to submit to the store using iOS 10.x would be set aside), but that may only present different issues, requiring you to learn outdated code, processes etc. - my advice is to modernize now, instead.
Replies
Boosts
Views
Activity
Feb ’17
Cannot get x-code beta to connect with iPhone
When trying to connect with my iPhone 4s, I get this error over and over again:An error was encountered while enabling development on this device. Please try rebooting and reconnecting the device. (0xE8000076)The advice offered does not help.Any ideas?
Replies
1
Boosts
0
Views
567
Activity
Sep ’15
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
2w
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 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