HUGE XCODE BUG! Replaces lines with "utf-8;134217984" - xcode

Xcode started a to do very strange thing, which totally messing up my code. I can't build because I'm getting countless errors (everything worked about a week ago) and all this happening, because Xcode started to replace my lines! with the text "utf-8;134217984". This actually deletes the actual line, even if Its code!!!!
Messing up the whole project, all imports, HELP PLEASE! This happens at every start and very-very annoying.
Screenshoot:
Image

Try to delete and create again the file ? You problem is a bit curious could you be a bit more descriptive ?
Regards,

Related

VS Code Go intellisense causing problems

fmt.Printf("hello") was working great with intellisense
but suddenly in every go file my fmt.P .. suggestion becomes this
and this
I am not getting "fmt.Printf()" suggestions anymore and getting stuck with those "const", "func", "import", "type", & "var".. what is happening? (Though it is not suggesting fmt.Printf() but it's still working). how can I get normal suggestions by intellisense like previous?
I tried disabling GO official extension, then it got fixed but also I lose all autocomplete/suggestion feature. a go file in root directory is working fine but other files inside packages are showing this kinda problems. Please help
After searching a lot I couldn't find exact problem and solution. And somehow I saw some were facing "case-insensitive import collision:" and it was due to upper-case and lower-case mixture usage in filename. I remembered it seeing in my package name (though this error vanishes sometimes and ignored it as code execution was working) and tried renaming my filename from "sequenceUtils.go" to "sequence_utils.go" and boom ..! intellisense started working ..! though my colleague was working with same filename and he wasn't facing problems..
I think the problem should be properly identified..!

Opening Storyboard fails with "An internal error occurred. Editing functionality may be limited"

Im running Xcode 9.2. My storyboards are completely useless now. Ive
experienced what this article shows and have tried everything the
article suggested.
My issue occurred when I tried to add a single swift file to an existing
objective C project with about 320 files in it already. I removed the
.swift file entirely from the project, then did everything in the article
link above and still nothing fixed it including removing/reloading XCode
several times trying different things.
I filed a bug with apple but haven't received any replies in a week (of course). Apple seems to be slammed with tons of bugs lately they keep
creating.
Now I cannot work on this project's storyboards at all and Im dead in the
water. Really not happy with Apple lately!
Is there anything more that anyone has had success in fixing this issue?
Im completely dead in the water on this application now.
Fixed this by setting the command line tools version to the correct one. Mine was blank in Preferences / Locations
For my case, whenever I open a storyboard from a workspace, this happens. So I got rid of cocoapods and workspace, then just use carthage for thirdparty libraries. Storyboards opens faster and without this error.
Note that the storyboard I am testing is empty.
This turned out to be stupidity on my part. I had a script that was killing certain processes on my Mac over and over and it turns out that was my issue. When I removed it everything worked as normal again.

Why is code colouring and code sense not working for me in Xcode?

I use Xcode 4.6.2 on a 13″ MacBook Air. At the beginning there was code sense and code coloring, but all of a sudden the code colors disappeared, there is no code completion (there is – only for words I have already typed in the current file), so for example if I have a class header, the methods and variables are not auto-completed in the implementation file (.m).
I've googled around everywhere, and checked a lot of questions on Stack Overflow, but to no avail. I've tried restarting Xcode or clearing the derived data, which didn't help.
Here's a screenshot:
This situation is very frustrating, and I can no longer work in Xcode until I resolve this situation.
Try deleting the upside-down question marks. The code coloring seems to stop working at the first of them.

Code completion in XCode 4 working strangely

Since a few months ago, the code completion turned context-insensitive: it offers ALL the symbols starting with same letters in the same file, including words from the comments. On the other hand, it does not suggest anything from other files.
The problem survived cleaning all project data, reinstalling and upgrading Xcode and even upgrading the operation system.
from time to time I am having similar issues. Removing the DerivedData folder works for me.
here you'll find the same suggestion http://blog.slidetorock.com/xcode-4-code-sense-autocompletion-problems

BetterAuthorizationSample weird?

I have a quick, newbie question...
I just started looking through authorization services and Apple's BetterAuthorizationSample...
for some reason, I just can't get the hang of it. For example...
I deleted the HelperTool and InstallTool and SampleTool.c and all references, but why does the program seem to continue work like nothing happened at all even after a clean build?
Even commenting out all the code in SampleT0ol.c doesn't seem to affect the way the program runs?
Thanks!
Unless something's changed recently, BAS relies on a lot of files in a lot of places. Deleting them in Xcode isn't going to delete them from your system if you've installed them all.

Resources