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?
Search results for
xcode github
91,890 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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/
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
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
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
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:
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.
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
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
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
Signing Certificates
Provisioning Profiles
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.
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!
Topic:
Developer Tools & Services
SubTopic:
Xcode
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.
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.
Go into more detail on how you prepared Xcode for GitHub. What you normally do to put an Xcode project on GitHub is to create a git repository for your project by choosing Source Control > New Git Repository and creating an external branch for GitHub from Xcode's source control navigator, which you can access by pressing Cmd-2. When you put your project on GitHub like I described in the previous paragraph, you don't have to clone the project on GitHub. It sounds like you have two versions of your project locally: the one you originally created and the one you cloned from GitHub. You have two options: Work with the project you cloned from GitHub and stop using the one you originally created. Place your original project on GitHub and stop using the cloned version. The following article shows how to put a local Xcode project on GitHub: swiftdevjournal.com/putting-your-xcode-project-on-
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
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 ?
Can Xcode Cloud resolve dependencies that are in private GitHub repos? Project is in GitHub Enterprise Cloud. Our GitHub is not self hosted. I am an organization owner in GitHub. Project is private. Project is using swift packages for dependencies. Some dependencies are public repos. Some dependencies are private repos inside the same GitHub organization. I have given permission to the Xcode Cloud GitHub app to access all the repos of the organization. This means the Xcode Cloud GitHub app is listed in GitHub settings of the project, and the Github settings of every dependency. When I build with Xcode Cloud, during the xcodebuild -resolvePackageDependencies... step, it gives these errors. I've blanked out my repo and project name. Command line invocation: /Applications/Xcode-beta.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace /Volumes/workspace/reposit