problem with linked libraries or classes? - iphone

i recently finished one project..now when i create a new navigation project in xcode and try to run it in simulator the application crashes and error in debugger window shows that i am missing some classes which i had used in my previous project(not in this one) and in some cases it gives
Couldn't register com.yourcompany.GuessGame with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger.
is this some problem related to linked libraries??

I assume you're tried restarting the simulator / restarting XCode / cleaning your build (build->Clean All Targets) ?
What's the name of your first project beacuse if it's com.yourcomany.GuessGame as well, you might run into problems?

Related

Command Compile Storyboard failed with nonzero exit code

I have been getting that error message when ever I try to build my app, I am stuck and unable to develop my app until I get this fixed. I know there is a post similar to this although none of the options have helped me.
I have tried restarting x-code
Deleting Derived Data folder (when I build the project the derived folder just reappears)
And I have also searched the entire web
Nothing has worked
clean your project Command shift k

Xcode fails to build the project due to Bus error: 10

I'm trying to "archive" an existing project after Xcode upgrade to 10.2 (10E125) and it continuously fails.
But it works perfect when I'm building and running the project on simulator / device and even when target device is "Generic iOS Device".
Looks like the issue is related only to "Archive" function.
Complete error text is the following:
Command failed due to signal: Bus error: 10
and no extra details unfortunately..
I've already tried Cleaning the project, removing "Derived Data", restarting my Mac but nothing helps.
Could you please suggest if that's can be fixed or any workaround exist?
Still not able to find a 100% valid solution to that but notice that continuously trying to Archive sometimes succeeds without any code / configuration changes (randomly)
I would say each ~10th Archive attempt succeeds.
That's my temporary workaround for now - Archive until Archived...

Error launching remote program: No such file or directory

Anyone have an idea about this
Error launching remote program: No such file or directory (/Users/muself/Library/Developer/Xcode/DerivedData/myproject-hlelojuljidnnagbdqzliazpdgmn/Build/Products/Debug-iphoneos/myproject.app/myproject).
The project was working fine with the previous Xcode versions. I have just updated the Xcode to Version 4.3.2 (4E2002), & the error start coming.
I have search on the web, and tried a lot of the options like
Quit Xcode, clear the Derived Data folder, restart the Xcode.
Rename the project,
Reset the device,etc
I also tried this on another machine but did not work, the same problem occurs.
But one thing i have some other projects as well and they are working fine.
Thanks for at least reading this.
First try restarting Xcode. If it doesn't work, then try hard reset of your device. This happens to me when I change the bundle identifier of my app.
This solution,I found of the above problem its working fine for me.:)
have you tried to "validate settings" (button on the bottom of project settings)? Do you use some static libs in your app? – Vov4yk
Check your deployment target. I am running Xcode 4.5, and it gave me that cryptic message, while the reason was that my iPad is running version 5.1.1, and my app was set with deployment target of 6.0.
I also get same problem. This below solution works for me.
Thats really annoying. This error happens in a number of different situations. Sometime restarting the Xcode, fixes the problem. If not, follow these steps:
Disconnect your device.
Delete the app from your device.
Quit xcode (Don't just simply close the window, quit it)
Delete derived data folder (~/Library/Developer/Xcode/DerivedData/APPNAME -gbrvhlvwmpiobxdujegtghggrffp - or something like that)
Now start Xcode, connect device and run the project. It should work fine.
Source: http://dhilipsiva.com/2012/07/24/xcode-could-not-launch-app-no-such-file-or-directory-error.html
Hard reset of the device fixed it for me. i.e. power off and back on.
Quitting Xcode, disconnecting, reconnecting the device etc didn't.
The error occurred just after I had created a new project with the a duplicate Bundle Identifier to another. Both apps coexist OK on the device/ in Xcode, but this does seem to cause the above issue.
I saw this when I let the build configuration set up as ad-hoc. After I put it back to Debug it worked fine.

Xcode 4.2 hangs on "Attaching to (AppName)" until second run

I'm having this issue when I hit Run on the simulator/device, the project compiles successfully but all I see is "Attaching to (AppName)". If I run the project again, it's working fine.
Same is happening when running on the device, but I get alert message, "Could not read from device".
Any ideas?
We had the same issue for weeks on our project. We finally resolved it by removing some of the build warnings we had, specifically ones like:
Warning: Multiple build commands for output file /Users/yosit/Library/Developer/Xcode/DerivedData/Gogobot-dnimbqlmegonbvcyvulfebiqqeor/Build/Products/DebugProduction-iphonesimulator/Gogobot.app/UAPushLocalization.bundle
This happens when you have the same resource filename in different folders on the same project. In our case we removed the UI folder for Urban Airship since we didn't need it. It brought down the number of warnings and removed the problem completely.

Hot Code Replace Failed (eclipse)

"Hot Code Replace Failed - add method not implemented".
I get this error message every time I change something in my test class (and save it).
Can't figure out what it means. Can somebody help?
Possibly, you have a test which is still running (in debug mode). Try finishing all tests (you can see them in the debug view: window->show view->debug) and try again...
See this thread:
This means you changed a class while it was debugging an application and it could not update the class for the application while it was running.
The error suggests you may be running an older JVM, i.e. pre-1.4.2 but this error can occur with any JVM if the change is incompatible with the previous version of the class.
Check carefully what JRE you are using in your debug session.
Also check you are deploying classes compiled with the debug attribute set. (see this thread)
Finally, as indicated here:
did you switch "Project->Build Automatically" off?
Hot code replacement works (only?) if automatic build is switched on...
I was running into this issues too. I found a build hiding in the backgound that was giving me fits. Check to make sure you have all tests/builds closed or completed. Nonetheless, you can still run the new code.
Whenever this error message appears it also gives options to terminate or restart. Select Terminate and it will terminate any running debug case which you are unable to locate.
if you have multiple projects involved, and multiple jre's installed, make sure all dependent projects are using the same javac/jre
Make sure your application server JRE and Eclipse JRE version should be same or else it will throw unsupported class version and hot code debug will not work.
I went to the same Problem,But my Debugging session ended hours ago.But still ECLIPSE error kept coming.
So I just simply restart the ECLIPSE IDE, then the problem just solved.