XCode - Internal Error when starting a specific project - objective-c

It first happend, when I changed something with the .xib-File and somehow I cannot find anything similiar (enough) on the internet that might help. And of course I did try turning it off and on again!
More details from the alert window I got:
Internal Error
File: /SourceCache/DevToolsBase/DevToolsBase-1691/pbxindex/PBXProjectIndex.m
Line: 6266
Object:
Method: _locationForNewFileRecords:
Assertion failed: headHeader && headHeader->type == PBXSymFreeBlock
Thanks for your help in advance!

This solution sounds a bit odd but try this:
Clean all Targets in XCode
Close XCode
Restart your Mac
Try to build your app again

Related

IntelliJ System.out.println() - Cannot resolve method println(java.lang.String)

I am using IntelliJ IDEA, learning Java. All went well until yesterday, when the mentioned error occurred.
I didn't make any changes. I was looking for the solution the following ways:
reboot the pc
restart IntelliJ.
delete the project directory and use another one (both on desktop)
nothing helps. buy running simple hello world method. It keeps showing this error:
Is there someone able to help me?
ok, is solved.
file -> invalidated caches / Restart
One reason for this to happen is if you have print statement somewhere on the body of the class, and not inside a method.
Here is an example:
But if the print is inside a method, it should work fine.
Here is an example:
I think if you have tried the method above, maybe you can consider where you use System.out.println() because this method should only used in main(String args[]){},the latest version of the Idea is OK. I wish what said can help you.
If you have orcale sdk configured as your project sdk there is no way System.out.println can't be found - besides you are using another System.out.
So my guess is that you don't have a proper project sdk configured.
Goto to Project Settings or press Ctrl+Alt+Shift+S, go to Project Settings -> Project and check if your sdk is setup correctly.
In my case my project was set up to Java 6th and I had installed jre1.8.0_131 which I assume was causing the problem. After changing Java to level 8 problem have been solved.
Press Ctrl+Alt+Shift+s or go to File -> Project Structure -> Project, and set Project Language Level to yours.
case 1: if all sdk setup is complete and perfect
then
file -> invalidated caches / Restart
this could work
case 2 : if something missing in sdk setup of intelij
then goto
1.file->project structure->libraries
2.click on + button
3. add location of lib folder of tomcat directory
C:\xampp\tomcat\lib
to add lib directory to tomcat
import static java.lang.System.out;
Or do you possibly have more than one class named System?
Or possibly this link could be of use to you.
Just make sure that your SDK in the setting of INTELIJI is set up have a look here
I had that problem because I pulled the repository from work where we have java 8, but on my private computer, I have 17..

Use of undeclared identifier 'UIUserInterfaceIdiomTV'

After installing fbsdk on my React-Native app, I got this error:
Use of undeclared identifier 'UIUserInterfaceIdiomTV'
This is in the file Pods > FBSDKCoreKit > FBSDKOrganicDeeplinkHelper.m
I got this even though I helped a friend doing exactly the same than me, and she didn't get it.
I tried to reinstall everything from scratch to check if the error didn't come from me not using the latest versions, but I still got this error.
A quick fix was to simply delete the case from the the switch (device.userInterfaceIdiom), but I hope someone met this error before or has an idea of where it could come from.
Thank you!
I had the same error. You can fix this error by updating Xcode to the last version, currently 7.3.1.

Not able to get Multiple Node Webkit apps started: Broken pipe error

For some reason, I am not able to start the same node-webkit application more than once. If I try to, I get the following error:
[37518:0100/000000:ERROR:zygote_linux.cc(546)] write: Broken pipe
Has anyone been able to do this? Thanks in advance
Solved my problem. Added
"single-instance": false
to the package.json file. Now I am able to start several instances of the same app.

Archive failed due to header not being found

I'm trying to archive my app for submission, but I'm running into an error. In my app, I'm using the MBProgressHUD library, and the app works fine on the simulator, and all the devices I've tested on. However, when I go to Product > Archive, the build fails with the error saying:
MBProgressHUD/MBProgressHUD.h file not found."
Is there anything I had to do to prep the library? Any help would be appreciated, thanks!
~Carpetfizz
I just had to change the MBPogressHUD/MBProgressHUD.h to just "MBProgressHUD.h" in my files.

Play 2.1 error exception when typing play.Project.jdbc class file needed by PlayReloader is missing

trouble running, cleaning or playing, starting play2.1 app. I can create the app, but then if i try to run, clean, play or start. i get this error
exception when typing play.Project.jdbc
class file needed by PlayReloader is missing.
any thoughts would be appreciated..
turned out to be a permissions issue. the app had lost its executable permission. no clue how it happened