How can I fix Xcode ignoring the Prefix.pch file? - xcode4.5

Here is my problem: Xcode 4.5.2 has started ignoring the default Prefix.pch file while working in the editor, making the editor itself impossible to use (it doesn't recognize any more my classes and protocols imported in the Prefix.pch file), but I can correctly run my project in the simulator. The editor shows a bunch of errors, but it runs the project without problems, the error count drops to zero and after the projects has finished launching on the simulator the error count grows again.
Do you know how to fix this?

Related

Hot restart error with cannot copy ipa file

While I am aware that Hot Restart is in preview, it was for quite a while now and my testing never really worked since the first time I've tried it. I've waited for a few VS studio versions to come up, hoping that my issue will be fixed. Since I've kept an eye on issues and haven't seen something similar, I tend to believe that the issue is locally with my setup.
Here is the situation:
I've enabled Hot Restart in VS and added my account, picked the team (after I was added) and everything went fine without errors. I have a free apple account, but after I was added to a Team I was able to obtain automatic provisioning to work.
I've tried to set the debug build options similar to how the simulator was set
I've disabled device specific build as I saw in the docs that it can create problems.
I've installed iTunes just as specified in the docs and when I connect my device to my Windows 10 PC, I can select it from the list.
So basically it looks like everything is set up. I use for testing an iphone 7 with latest iOS version.
Here is what happens:
I've selected different types of output logs hopeing to catch some error in there that could lead me to find a solution.
when starting to build I can see "Building offline for a local device" and I can see my provisioning file details on "Detected signed identity"
I see no apparent error while it compiles and does its job, no complains about signing
then it gets to the IpaCopyToStagingDirectory and there it starts to copy a bunch of files from bin\Iphone\Debug to Artifacts\app.iOS.dSYM where I get the final error: Could not copy the file bin\iPhone\Debug\\app.iOS.ipa because it was not found
If I go to the bin folder, there are many files, including app.iOS.exe, but indeed there is no ipa file. I also don't know why it has two \ on its path.
Any ideas why is not working?

Modelsim - Compile button does nothing

When I create a project and add the files all seems to work, but at some point during my development process the Compile All button stops working (they're not grayed out). Clicking them does nothing, not even a Transcript message. No other compile button works either, not even selecting all files, right-clicking them and selecting Compile Selected.
I've tried deleting the files from the project and re-adding them. Closing Modelsim and reopening the project through the *.mpf file.
Is this a bug on my install or is there something possibly incorrect?
Note: If I recreate the project and add the files they compile and simulate just fine. Which has been the way I've been developing.
I hope this is enough information.
Every time I try to run model sim while dropbox is running (my simulation folder is in my dropbox) I have this exact issue.
Try exiting dropbox and recreating your entire modelsim project.
Running modelsim and loading a project from in my dropbox seems to completely corrupt my project.
Even after I close dropbox, and restart modelsim it is still broken and I have to recreate my project.
Hope this helps.

QtWebEngineProcess error

I have a QWebEngineView instance included in my .Ui file. Program compiles without issues. However, when I start the program (via Visual Studio Debug mode), following error pops up.
Could not find QtWebEngineProcessd.exe.
Note: In a different windows pc - this programs runs without any issues. Can someone please point me to the right direction?
There was a problem with the QtCored.dll What I had in the Debug folder was apparently different than the version installed in the workstation. Hence, application runs with a version different to what it was built with.

Meteor: what does "there can be only one platform" mean?

I'm working through the Angular2-Meteor tutorial here. When I update the code for the app, I frequently encounter an error message, displayed in the browser console when I browse to the app running on localhost:
Error: There can be only one platform. Destroy the previous one to create a new one.
Sometimes the app seems to be running fine. Other times it is indeed not working. What does this error mean, and how should I fix it?
This happened to me when i was using the Atom editor. Atom compiles your typescript and outputs it in the same folder by default. Then Meteor sees both a *.ts and a *.js file and happily loads both of them. As a result 2 Angular platforms are created.
I don't know if you can change the *.js output folder with atom-typescript. I switched to VSCode for typescript development.

compiling samba-shared code fails in qt

I spent the last 2 days trying to make qt on windows 7 compile a samba-shared project hosted on a linux machine (which is visible on win7 as volume Z).
The problem is that after the first modification of any of the source file, the compilation simply does nothing. I mean literally, no errors, no warning. You click "rebuild", and you instantly get the green bar as if everything was recompiled (and it is a large project so it would take a while), but nothing is actually done. All I see in the compilation output is "Running Jom.exe on path" and (1 ms later) "Jom.exe returned normally"
At first I tought samba shared files were somehow changed in attributes or the like, so I checked and indeed they change to +x on the linux box, but even after resetting the original permissions the compiler silently refuses to compile. Actually it is not even invoked at all.
If I duplicate such "modified - not working" tree on the win7 machine, I have the same behaviuor, while if I duplicate the tree from the linux box straight from the beginning, qt works as expected.
I dont think its a qt issue, but I really have no clue on how to fix this, I cant even try NFS since win7 is Pro and has no additional NFS support.
Of course clearing the project an re-running qmake doesnt change anything.
Just for completeness, note that if I make some change to a source file from windows the file is indeed changed in the linux box, its just the compiler that seems not to be invoked anymore

Resources