Search results for

“xcode github”

95,388 results found

Post

Replies

Boosts

Views

Activity

Xcode Source Control - Commit doesn't appear on github
I have an iPhone App project (Swift) under Xcode 10.1 10B61) and commited it once into a github repository (private).Today I've done some changes. Added files modified existing files that were alredy in the project. I also have a folder withC-Files that I imported ito the project. The latter and also the modifications on the already committed files do not show up in my github repo.How could that be?--Christoph
3
0
4k
Jan ’19
Commit and push error to github from Xcode 14
Hello! I have connected XCode with my github account and when I try to commit from Source Control -> Commit and check the box to push to origin/remote, I get the following error: An unknown error occured. could not find repository from '.' (-1). When I do not check the box to push to remote and then do an aditional step to manually push, I do not get this error. But I can see the changes to the remote. What could be the problem? Thank you!
1
0
1.9k
May ’23
Github: Cloning vs Downloading for Xcode use
Hi all,My understanding of the difference between cloning and downloading a project on Github is that by doing a clone you have git instantly enabled on that project, and a connection with the remote repository where you cloned it from, and so you get access to the history and commit messages and so on.With downloading, you get the most recent copy only, and not the repo. Can I just ask one of the stupidest questions I have asked yet - 😊- can I, after downloading, then just use Xcodes local version control immediately? As in, to put it under Xcodes own version control, does it require my doing a first commit to start that off, or should I set it to git versioning more formally elsewhere in within Xcode in Xcode settings?
3
0
3.9k
Aug ’17
What causes 502s when Xcode Cloud clones from GitHub?
I have an inconsistent Xcode Cloud failure that I'm hoping to learn more about? Additional context is available in Apple Support case 102378073626 and Feedback Assistant FB13769150. Every 3 months, ~half of my project's Xcode Cloud builds will fail for a few days in a row. I usually file a support request with Apple, they fix something on their end, builds succeed, and then exhibit the same failures again in 3 months. I'm hoping to learn anything that y'all can share about: Why does this happen? Does it coincide with new macOS versions being deployed onto Xcode Cloud? What did Apple do to fix it each time? Is there anything I can change about my project to make the failure less likely? (Such as putting a delay between the clone, brew install, and pod install steps that all hammer GitHub?) Specific symptoms: Xcode Cloud builds will fail after receiving an HTTP 502 from GitHub. This usually happens when it attempts to clone a repo, brew install, or pod insta
1
0
692
Aug ’24
xcode source control with fork of github project
I found a project on Github that I'd like to take a stab at converting for macOS. (This is still Xcode 8, btw).The original project is a C# project that appears to have been created with Form Designer, although I don't think the precise details are at issue (I could be wrong!).I forked the project on github into my own account. I updated the .gitignore file to exclude any of the Xcode files that don't need versioning (using the gitignore.io for xcode).However, there appears to be a catch-22 with creating/using an Xcode project for versioning with this fork.If I use Xcode to create a project from the remote repository, it clones the remote locally but doesn't create an Xcode project (presumably, because the existing project is CS, not Swift/Obj-C). In fact, all it does is clone the remote, check it out, and then sit there, Xcode open, with no files open.If I use Xcode to create a project without SCM, if I try to check out
2
0
3.9k
Jul ’17
Reply to Error setting up git hub
Are you trying to put your Xcode project on GitHub? Or do you have an existing project on GitHub that you want to import in Xcode? To put your Xcode project on GitHub, open the source control navigator in Xcode by pressing Cmd-2 and create a remote branch. To work on a GitHub project in Xcode, clone the project by choosing Source Control > Clone in Xcode. Is there an article on how to setup github with xcode? The following article may help: https://www.swiftdevjournal.com/putting-your-xcode-project-on-github-bitbucket-or-gitlab/
Jun ’23
Expiring Accounts with X-Code
Hello All,When using X-code to load my apps to iPads, my apps only last a few days before they auto shut down and i need to load them again. When i check the account settings in X-Code there is an expiery date next to the profile name im using. Is there a way to set the expiery date to never? or is this a symptom of the account, basically i need the apps loaded to the device to never expire, how can i achieve this?Thanks for your help
2
0
502
Nov ’16
Why is typing in X-Code so sloooooooow??
I've been having this issue with X-Code for years and have never found a fix. I've seen many people post this issue but no solutions that work. When typing in X-Code, ever few letters I type the editor just hangs, sometimes the rainbow beachball spinner even comes up. Just pressing return takes a second to complete. Any ideas? There's got to be a fix for this
3
0
1.5k
Jun ’21
Xcode show changes in GitHub PR leads to endless spinner
I created a new Project on Xcode 16 on macOS Sequoia and connected it to a GitHub repository. After making a change on a sub branch, I opened a pull request. On GitHub I can see the changes I made in a diff view. However when I select the PR in Xcode and click on View Changes all I get is a endless spinning activity indicator. I could not find anything that would explain this behavior. Any help very welcome.
4
0
431
Sep ’24
How to add swift packages from public github repositories in XCode 14.2?
How do you add swift packages from public github respositories? In previous Xcode-Versions you could use File -> Add packages to add swift packages directly via its Github URL (for example https://github.com/SourcePointUSA/ios-cmp-app.git). When I try this on XCode 14.2 I just get an error The remote repository could not be accessed. The package manager then displays a dialog that asks me for credentials. Since I don't have nor need any credentials for a public respository I am unsure on how to continue. Do I need to manually download the library and copy it to my project? Or is there still a way to do this using the swift package managere? Upgrading to newer XCode verisons is not an option at the moment.
0
0
670
Dec ’23
Issue with GitHub Copilot in Xcode 16 on macOS 14.6 with Netskope Enabled
Hello everyone, I am using Xcode 16 on macOS 14.6 and have integrated GitHub Copilot for Xcode. However, GitHub Copilot stops functioning when Netskope is enabled on my Mac. I have the necessary SSL certificate in my Mac’s Keychain and have trusted it. When I check, GitHub Copilot successfully connects to the server. However, I can’t find an option to set the certificate in Xcode. Since Netskope is required by my organization, I cannot disable it. Has anyone encountered this issue or know how to resolve it? Thank you in advance for your help!
0
0
331
Jan ’25
Xcode server bot can't clone from github/bitbucket
Can't get a server bot to clone any repository in GitHub or Bitbucket. It seems like it needs access to credentials that are there when the bots are setup but have not made it into the server's user or something. Almost as if I need to setup .ssh for whatever user runs the bots? Points I can think of: Xcode 13 I've tried public and private repos local accounts have access just fine, just not the one the bot runs on. Accounts in Xcode on both the machines are setup, but that's not the xcodeserver user. I've had this working before before these services forced you to personal access tokens. For the integration user I've tried accounts that have full access to these repositories. As a test I added a post integration trigger to try to clone it manually. That works fine.
10
0
3.6k
Jun ’21
Will X Code be coming to the ipad Pro ?
I bought my iPad Pro to replace a computer and it misses a lot of the fundamental pro applications, i.e X Code. If future macs have the same processor as the iPad and they can run X Code I'm sure the iPad Pro can ? Swift Playground is very limiting in that I can't publish anything to the App store from it as I don't have a mac. So this leaves me asking, will X Code be coming to iPad Pro in the future ?
4
0
3.8k
Jun ’20
Xcode Source Control - Commit doesn't appear on github
I have an iPhone App project (Swift) under Xcode 10.1 10B61) and commited it once into a github repository (private).Today I've done some changes. Added files modified existing files that were alredy in the project. I also have a folder withC-Files that I imported ito the project. The latter and also the modifications on the already committed files do not show up in my github repo.How could that be?--Christoph
Replies
3
Boosts
0
Views
4k
Activity
Jan ’19
Commit and push error to github from Xcode 14
Hello! I have connected XCode with my github account and when I try to commit from Source Control -> Commit and check the box to push to origin/remote, I get the following error: An unknown error occured. could not find repository from '.' (-1). When I do not check the box to push to remote and then do an aditional step to manually push, I do not get this error. But I can see the changes to the remote. What could be the problem? Thank you!
Replies
1
Boosts
0
Views
1.9k
Activity
May ’23
Github: Cloning vs Downloading for Xcode use
Hi all,My understanding of the difference between cloning and downloading a project on Github is that by doing a clone you have git instantly enabled on that project, and a connection with the remote repository where you cloned it from, and so you get access to the history and commit messages and so on.With downloading, you get the most recent copy only, and not the repo. Can I just ask one of the stupidest questions I have asked yet - 😊- can I, after downloading, then just use Xcodes local version control immediately? As in, to put it under Xcodes own version control, does it require my doing a first commit to start that off, or should I set it to git versioning more formally elsewhere in within Xcode in Xcode settings?
Replies
3
Boosts
0
Views
3.9k
Activity
Aug ’17
What causes 502s when Xcode Cloud clones from GitHub?
I have an inconsistent Xcode Cloud failure that I'm hoping to learn more about? Additional context is available in Apple Support case 102378073626 and Feedback Assistant FB13769150. Every 3 months, ~half of my project's Xcode Cloud builds will fail for a few days in a row. I usually file a support request with Apple, they fix something on their end, builds succeed, and then exhibit the same failures again in 3 months. I'm hoping to learn anything that y'all can share about: Why does this happen? Does it coincide with new macOS versions being deployed onto Xcode Cloud? What did Apple do to fix it each time? Is there anything I can change about my project to make the failure less likely? (Such as putting a delay between the clone, brew install, and pod install steps that all hammer GitHub?) Specific symptoms: Xcode Cloud builds will fail after receiving an HTTP 502 from GitHub. This usually happens when it attempts to clone a repo, brew install, or pod insta
Replies
1
Boosts
0
Views
692
Activity
Aug ’24
xcode source control with fork of github project
I found a project on Github that I'd like to take a stab at converting for macOS. (This is still Xcode 8, btw).The original project is a C# project that appears to have been created with Form Designer, although I don't think the precise details are at issue (I could be wrong!).I forked the project on github into my own account. I updated the .gitignore file to exclude any of the Xcode files that don't need versioning (using the gitignore.io for xcode).However, there appears to be a catch-22 with creating/using an Xcode project for versioning with this fork.If I use Xcode to create a project from the remote repository, it clones the remote locally but doesn't create an Xcode project (presumably, because the existing project is CS, not Swift/Obj-C). In fact, all it does is clone the remote, check it out, and then sit there, Xcode open, with no files open.If I use Xcode to create a project without SCM, if I try to check out
Replies
2
Boosts
0
Views
3.9k
Activity
Jul ’17
Reply to Error setting up git hub
Are you trying to put your Xcode project on GitHub? Or do you have an existing project on GitHub that you want to import in Xcode? To put your Xcode project on GitHub, open the source control navigator in Xcode by pressing Cmd-2 and create a remote branch. To work on a GitHub project in Xcode, clone the project by choosing Source Control > Clone in Xcode. Is there an article on how to setup github with xcode? The following article may help: https://www.swiftdevjournal.com/putting-your-xcode-project-on-github-bitbucket-or-gitlab/
Replies
Boosts
Views
Activity
Jun ’23
Reply to Apple developer membership
Hope this helps you to learn swift which apple has provided to learn swift lunaguagehttps://medium.com/ios-os-x-development/apple-has-published-a-great-free-learn-to-code-course-for-swift-on-github-feb5e4d70691#.j0z3sx1ji
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’16
Expiring Accounts with X-Code
Hello All,When using X-code to load my apps to iPads, my apps only last a few days before they auto shut down and i need to load them again. When i check the account settings in X-Code there is an expiery date next to the profile name im using. Is there a way to set the expiery date to never? or is this a symptom of the account, basically i need the apps loaded to the device to never expire, how can i achieve this?Thanks for your help
Replies
2
Boosts
0
Views
502
Activity
Nov ’16
Why is typing in X-Code so sloooooooow??
I've been having this issue with X-Code for years and have never found a fix. I've seen many people post this issue but no solutions that work. When typing in X-Code, ever few letters I type the editor just hangs, sometimes the rainbow beachball spinner even comes up. Just pressing return takes a second to complete. Any ideas? There's got to be a fix for this
Replies
3
Boosts
0
Views
1.5k
Activity
Jun ’21
Xcode show changes in GitHub PR leads to endless spinner
I created a new Project on Xcode 16 on macOS Sequoia and connected it to a GitHub repository. After making a change on a sub branch, I opened a pull request. On GitHub I can see the changes I made in a diff view. However when I select the PR in Xcode and click on View Changes all I get is a endless spinning activity indicator. I could not find anything that would explain this behavior. Any help very welcome.
Replies
4
Boosts
0
Views
431
Activity
Sep ’24
How to add swift packages from public github repositories in XCode 14.2?
How do you add swift packages from public github respositories? In previous Xcode-Versions you could use File -> Add packages to add swift packages directly via its Github URL (for example https://github.com/SourcePointUSA/ios-cmp-app.git). When I try this on XCode 14.2 I just get an error The remote repository could not be accessed. The package manager then displays a dialog that asks me for credentials. Since I don't have nor need any credentials for a public respository I am unsure on how to continue. Do I need to manually download the library and copy it to my project? Or is there still a way to do this using the swift package managere? Upgrading to newer XCode verisons is not an option at the moment.
Replies
0
Boosts
0
Views
670
Activity
Dec ’23
X Code 13 and FindPanel.strings and InfoPlist.strings
X Code 12 compiles my app. But X Code 3 says that all FindPanel and InfoPlist strings have invalid content. Approximately 12 localized strings for each, and all fail. Other string files are accepted. No obvious problems in any of the files, which work fine on X Code 12.
Replies
1
Boosts
0
Views
532
Activity
Jul ’21
Issue with GitHub Copilot in Xcode 16 on macOS 14.6 with Netskope Enabled
Hello everyone, I am using Xcode 16 on macOS 14.6 and have integrated GitHub Copilot for Xcode. However, GitHub Copilot stops functioning when Netskope is enabled on my Mac. I have the necessary SSL certificate in my Mac’s Keychain and have trusted it. When I check, GitHub Copilot successfully connects to the server. However, I can’t find an option to set the certificate in Xcode. Since Netskope is required by my organization, I cannot disable it. Has anyone encountered this issue or know how to resolve it? Thank you in advance for your help!
Replies
0
Boosts
0
Views
331
Activity
Jan ’25
Xcode server bot can't clone from github/bitbucket
Can't get a server bot to clone any repository in GitHub or Bitbucket. It seems like it needs access to credentials that are there when the bots are setup but have not made it into the server's user or something. Almost as if I need to setup .ssh for whatever user runs the bots? Points I can think of: Xcode 13 I've tried public and private repos local accounts have access just fine, just not the one the bot runs on. Accounts in Xcode on both the machines are setup, but that's not the xcodeserver user. I've had this working before before these services forced you to personal access tokens. For the integration user I've tried accounts that have full access to these repositories. As a test I added a post integration trigger to try to clone it manually. That works fine.
Replies
10
Boosts
0
Views
3.6k
Activity
Jun ’21
Will X Code be coming to the ipad Pro ?
I bought my iPad Pro to replace a computer and it misses a lot of the fundamental pro applications, i.e X Code. If future macs have the same processor as the iPad and they can run X Code I'm sure the iPad Pro can ? Swift Playground is very limiting in that I can't publish anything to the App store from it as I don't have a mac. So this leaves me asking, will X Code be coming to iPad Pro in the future ?
Replies
4
Boosts
0
Views
3.8k
Activity
Jun ’20