Tag : xcode

A monitoring program written by Golang, that is, running on the terminal and outputting logs continuously.Now we need to develop an application program on Mac, the function is very simple, a button, a textarea, click the button is to start the compiled executable file, and then display the output log in the text box.It’s probably ..

Read more

Managing multiple projects using git encountered a problem with missing project files:The two branches 1 established by git are the A branch and the B branch.In order to make the projects independent of each other on the git branch, a temp space division branch has been established. All new projects are built on this branch. ..

Read more

I created two new files. After a while, I didn’t want the two files, so I used Xcode’s “discard all changes” and then executed git status discovery: Why not: On branch dev_cq Your branch is up-to-date with ‘origin/dev_cq’. nothing to commit, working directory clean I don’t want anything related to these two documents in the ..

Read more

Project.pbxproj is in the project.xcodeproj package.Git operation can identify and add project.xcodeproj file, commit and push it, and handle the modification of the file. it seems that it cannot directly handle project.pbxproj, the configuration information file of the project.How does git recognize and add files? I want to know more about it.Based on experience, it ..

Read more

When creating a new repository on the commandline, enter commands at the terminal. Always prompt xcode-select: note: no developer tools were found at ‘/Applications/Xcode.app’, requesting install. Choose an option in the dialog to download the command line developer tools. Prompt for xcode installation Xcode has built-in environment for some development needs, and it is recommended ..

Read more

Gitcone, report an error. ssh: Could not resolve hostname 192.168.2.166:repositories: nodename nor servname provided, or not knownfatal: Could not read from remote repository. Please make sure you have the correct access rightsand the repository exists. 192.168.2.166 is a local area network, please make sure your computer and 192.168.2.166 are in the same local area network ..

Read more

The operation could not be performed because of one or more tree conflicts.The files .gitignore, xxx.plist, aaa.h, aaa.m, and aaa.xib had a tree conflict. How do you submit the code like this? These files have code conflicts. Please maintain the conflicts manually and continue. It is recommended to use a client such as source tree ..

Read more

You have not concluded your merge (MERGE_HEAD exists).Please, commit your changes before you can merge. Git commit has the local code, and then when pulling, it prompts that there are three files conflict, directly removes the three files, lists the codes to be compared after pulling, compares the conflicting files, and then pull, xcodeproject hangs ..

Read more

Used under Mac OS X Lionwhich gitView git discovery at/usr/bin/gitDirectory, may be installed together when Xcode is installed, the version is 1.7.5.4. To upgrade to a new version, downloadgit-osx-installerAfter the installation was completed, it was still the old version on the command line. Looking up the data, it was found that the installation package installed ..

Read more

Realizing Polynomial Addition and Multiplication with Single Linked List A very basic data structure topic has been implemented in C language The main functions and main functions are as follows #include <stdio.h> #include <stdlib.h> //Polynomial Structure typedef struct PolyNode *Polynomial; struct PolyNode{ int coef; //coefficient int expon; //Index Polynomial link; //Pointer field to the next ..

Read more