Merge conflicts caused damaged xcode file #23
-
In what area do you have a technical challenge?Xcode, Simulator & Previews DescriptionI was fixing merge conflicts because of the ongoing pull requests that are being merged into main, and I had to resolve some SwiftLint issues so I did so directly into the github files, and now the build and test doesn't work (it did before the merge conflicts were resovled). ReproductionI committed a few times to change swiftlint issues. Expected behaviorI thought once the SwiftLint errors were resolved it would build normally. Additional contextNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Thank you for your question @gsomaratne! Merging a Xcode project file is not a great experience. Here are a few hints what might have gone wrong and how you might want to address this. It is essential that you can open the project file in a code editor. I generally use VS Code for that and just open to overall application folder (open a folder in VS Code: On the Visual Studio menu bar, choose File > Open > Folder, and then browse to the code location) and then navigate to the project file (e.g., Once you have the project open, you can see a text file with multiple open brackets ( Here are some more details to look at. Merge conflict in the
|
Beta Was this translation helpful? Give feedback.
Thank you for your question @gsomaratne!
Merging a Xcode project file is not a great experience. Here are a few hints what might have gone wrong and how you might want to address this.
It is essential that you can open the project file in a code editor. I generally use VS Code for that and just open to overall application folder (open a folder in VS Code: On the Visual Studio menu bar, choose File > Open > Folder, and then browse to the code location) and then navigate to the project file (e.g.,
CS342Application.xcodeproj/project.pbxproj
).Once you have the project open, you can see a text file with multiple open brackets (
{
) and closed brackets (};
) that structures the Xcode project. A g…