I am building a Mac OS X application and from time to time, I get this error message from Xcode (Version 5.0.1 (5A2034a)):
However the architecture (i386 or x86_64, it seems to happen on both) is supported by my system (Mac OS X 10.9).
Clicking a second time on the Run button (or press Cmd+r) sometimes fix the problem.
Sometimes I have to delete the application in my build folder and then rebuild it.
Note: I am using cmake to generate the Xcode project.
The same thing just started happening to me.
As was suggested here, stopping and starting Xcode cleared the problem.
Related
Simple but annoying bug, I can't undo my changes once I run my project. Before running I can undo (command + z), but after running I get mac error sound when I try to undo.
I'm using xcode 12.2 but it was happening in other versions too.
I deleted user data, cleaned build folders but no luck.
What could it be?
I am using macbook pro 2019 os version is catalina 10.15.7
This can happen when you have a build phase that modifies your files, like SwiftFormat. Make sure this is not the case.
I have problems with running OSX applications with XCode. Sometimes (about 30% of the time) the application doesn't start and "XCode cannot run using the selected / Choose a destination with a supported architecture in order to run on this system." message is displayed instead.
This is NOT a duplicate of other questions, because this is not a problem with a project file (in such case the app would never run, and in my case the behaviour is random - sometimes it starts, sometimes not). This only happens with OSX applications.
XCode 5.0.2 (5A3005), OSX 10.9.3, but I had this problem since the first version of XCode 5 on both OSX 10.8 and 10.9.
Have you ever encountered similar issue?
Go ahead and attempt to check these settings: changing architecture settings. I have a feeling that sometimes your running on the 32 bit sim and sometimes the 64 bit sim so your running into the issue below.
Here's another link referencing how to change the standard Architecture for OSX: Changing OSX Architecture and ensure you're no longer set to be using gcc and only using LLVM: Other adjustments to bundle plist
I recently updated my Mac OS to 10.8.5 and installed Xcode 5. First couple of times it opened but it was excruciatingly slow. Actions like cleaning, building the project took ages and when it finally ran, even the app won't function properly. It was like the app was frozen. So I quit Xcode to re-open it but now even Xcode won't start. I had to force quit every time I tried to open it.
I removed Xcode and installed it twice. One time from the .dmg I downloaded separately and the other time, through the Mac App store. But both time the same not responding issue persisted.
Can anyone please tell me how to rectify this issue? I'd really appreciate any suggestion.
Thanks
I'm currently migrating an old OS X project from Xcode 3 GCC to Xcode 4 LLVM.
The migration has so far gone fine. I've updated the code from 10.4 to 10.6, with a lot of deprecated API, and it all compiles just fine.
But when I try do debug using LLDB, I get the following error:
error: failed to launch '/Users/trenskow/Library/Developer/Xcode/DerivedData/The_Famous_Web_Editor-ddfqhzdztzzgfrcxaaywyxgtahzx/Build/Products/Debug/The Famous Web Editor.app/Contents/MacOS/The Famous Web Editor'
The application runs fine on it's own (besides the runtime errors I am trying to debug).
When I switch back to LLVM GCC and GDB, it launches fine, but Xcode never stops at the breakpoints. The application stops, but I do not get any indication of a breakpoint is being hit by Xcode.
Long shot, but:
The Famous Web Editor
Xcode and the compiler can sometimes trip over spaces in the project/target name. This usually shows up in broken header or library search paths, so I'm not sure if it applies here. But it's certainly worth a try to rename the target so it contains no spaces.
First clear your DerivedData (/Library/Developer/Xcode/DerivedData/) delete every thing from there.
Now restart your XCode, Restart your device.
run Xcode
i have snow leopard 10.6.3 installed via iAtkos..everything runs good even XCode as well.I can successfully build iPhone apps run them on the simulator and the device but when i use the "build and archive" option( for adhoc distribution or itunes connect ) XCode simply crashes..does anybody have a solution for this?
thanks in advance
btw XCode version 3.2.3(tried 3.2.3 as well same result,also in safe mode)
Mac OS X version 10.6.3
I had the exact same problem, and it turned out it was caused by a variable of wrong type in info.plist. My short bundle version was created as int instead of string.
I was getting the warnings about it, but it didn't seem relevant since the crash happened only when archiving, and normal building worked fine, the app ran fine. I suggest you check your benign looking warnings, one of them could fix the issue.
You might try 3.2.4 (available now).