Linker Command Failed Error, Tried Everything - xcode9

I've tried everything and it keeps giving me the same error. Not sure how to solve this.
Here is the error.
After setting it to 'fast whole', I'm getting this error.
I've tried deleting Derived Data, setting 'No Common Blocks' to NO, setting 'Enable Testability' to NO and setting 'Optimization' to fast whole (all from resources I found on StackOverFlow). Nothing works.
Thanks!

I actually didn't import my OBJC files properly. Once I did this, all seemed to be fine.

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

How to fix vagrant variable not defined?

Please suggest what is the error in this.
I am getting error as ws2 variable not defined even though it is defined.
https://github.com/ukreddy-erwin/openstacklogs/tree/master/04-06-2020
I've used the files provided through your github and everything is working for me, there was no issues faced (i've terminated after the ws2 machine started since this means everything worked correctly), i've also attached an image showing that things actually worked.
Powershell output after vagrant up

SASS Compass Complie

Our system is using compass to compile sass files. Following the same workflow as usual today when I run compass compile there is a long pause followed by "killed" with no errors or warning.
I'm not even sure how to troubleshoot this issue. Has anyone else run into a similar problem? If so, how did you solve it?
Thank you in advance...
update
I have been through the code and I cannot find a pattern to it not compiling. After making a minor change it compiled successfully making another minor change it failed. Each time I believe the problem is resolved, I make a change that's very small in scope and it breaks it again... for example removing and id (#main) from a definition stops the compile... putting it back does not fix the problem... adding a comment fixes the problem... remove it and it stays fixed, until I make another change .... I've matched my braces and gone over every change made in the last 3 days... I cannot find a cause for the error, or why its not behaving consistently
If other commands on the server die with a "Killed" error message, it could be a resource issue. Check your server logs for out of memory errors.

xcode PBXCp Error

My Xcode project is really starting to irk me.
I wrote a program that involved multiple png images. At a random point, it said that frown.png had no such file or directory so I renamed every instance of it to frown2.png and i still got the same error still saying frown.png even though there was no instance of it.
I then took all of my code and images and created a new project. For a while it worked, but when i tried adding a second view (doubt that caused it), i started getting the same error again still with frown.png.
What should i do?
(P.S. i am very inexperienced in xcode so please keep answers clear and concise. Thanks)

How to detect syntax errors when debugging Firefox extensions

When working on a large Firefox plugin, I sometimes accidentally make a syntax error not caught by my editor. When this happens, then calling
Components.utils.import("resource://modules/Foo.js")
will simply fail to import or return anything, without any kind of helpful hint as to where in the file to look for the syntax error. Is there any way I can get Firefox to give me some kind of clue when my imports fail?
EDIT: I fixed my own problem, which turned out to be that I was using code which had a global reference to the navigator object. What made this especially annoying was that the code would work when loaded in the browser (as Wladimir suggested below), but would still fail when importing in my extension.
Eventually I resorted to a sort of manual binary search: I'd delete half of the file and then see whether the import still failed. If so, then I'd delete half of what remained and repeat. As soon as it didn't fail, I had a more precise notion of where the problem was, which allowed me to either continue the binary search or scan the smaller area manually looking for the problem.
This is extremely time-consuming and I'd still appreciate any suggestions about how to speed up this debugging process.
The issue here is most likely the one described on https://developer.mozilla.org/en/Exception_logging_in_JavaScript and setting dom.report_all_js_exceptions preference to true should work. I must admit that I haven't tried that however because setting this preference makes the error console very noisy. Instead I use an ugly hack and load the module as a script in a local HTML file - this is enough to show me syntax errors and fortunately isn't something I need to do all too often (it is only an issue with syntax errors, runtime errors are reported as usually).

Resources