Search results for

xcode github

94,702 results found

Post

Replies

Boosts

Views

Activity

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
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
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 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 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 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