PBXDebugScriptCommand

Every time I build, I get this error message:

“Uncaught Exception:
*** -[PBXDebugScriptCommand debugSessionDidStart:]: unrecognized selector sent to instance 0x49726c0”

It works fine despite this message, and I assume it has something to do with Debug.Log commands, but it still occurs even when I Strip Debug in the Build settings.

Is there any clue to how I can fix it?

Hello :slight_smile:

What are you trying to achieve?, did you removed the Debug.Log’s and still appear?

I’m trying to make an iphone build. This error appears every time, and if I continue past it the game builds fine without any problems, but I would prefer for this error to not exist.

Disabling the debugs makes no difference, this error still appears.

It has nothing to do with Unity. That is XCode bug which is there for ages.
Submit bug report to Apple, if you care.

That’s all I need to know :slight_smile: It doesn’t stop me from working, I would just prefer for it not to happen. Thanks ReJ!

I’m seeing the same message after upgrading Xcode to 3.2.3 with the iPhone 4 SDK.
Using Unity iPhone 1.7

Uncaught Exception:
-[PBXDebugScriptCommand debugSessionDidStart:]: unrecognized selector sent to instance 0x2016a35e0

This same project worked before the XCode upgrade. Compiled it the day before. The archi

Had to change Armv7 to Armv6,Armv7 and made it appear to compile.
It’s just throwing this Exception error, which I appears to be a problem inside XCode. The application never makes it to the iPhone, never installs. iPhone doesn’t react at all.

I think that somebody from Unity should post the steps that they took when updating to OS4 development so that all of us developers don’t need to chase these things down.

Hi Andrew, I don’ t have an answer for you but I used to have this problem last fall (or seems very similar) and it went away at some point …can’t recall if it was tied to a xcode or Unity version upgrade. I to have started seeing this error again since migrating to SDK 4.0

:frowning: it’s a PITA

OK

So I’ve got the latest version of Unity 3. Downloaded the latest version of XCode 3.2.4 with IOS Device 4.1. I’ve updated my Ipad to the latest IOS. I’ve looked through all the forum posts and can’t find anything. I’ve concluded that Unity 3 doesn’t currently work on Ipad, my evidence follows:

I can compile and upload my application fine, everything provisioned, build ready to execute then I’m getting the dreaded
"
Uncaught Exception:
-[PBXDebugScriptCommand debugSessionDidStart:]: unrecognized selector sent to instance 0x2015a07e0

Stack Backtrace:
The stack backtrace has been logged to the console.
"

I believe a lot of you are getting this with various different configuration settings and there hasn’t been any response so far as to what’s going on.

I’ve tried every combination of project settings from inside the latest version of Unity. That’s a lot of combinations
in total. Nothing works! The settings I’ve been changing in the “Player Settings” are as follows:

Target Device: (Iphone + Ipad) or (Ipad Only)
Target Platform: (Universal arm6+arm7) or (arm6) note, arm6 doesn’t compile
Target Resolution: Tried all settings.
API compatibility Level: (.NET 2.0 Subset).
SDK Version: (IPhone OS4.1) or(Iphone OS4.0 - doesn’t compile) or (Iphone OS3.2) or (Unknown)
Target ioS Version: (3.2) (4.0) (4.1)
Stripping Level: (Disabled)
Script Call Optimization : (Slow and Safe)

The only conclusion I can draw is that Unity 3 doesn’t currently work on a fully upgraded IPad with the latest version of XCode.

Any help greatly appreciated.

Unity Doesn’t work on IPAD ???

Hello,
I also work with Unity 3 and XCode 3.2.4 and have exactly the same exception on IPAD.
If there is a real incompatibility, thank you for others to confirm this Cmlibra’s conclusion or suggest a new solution.
So for me too, Any help greatly appreciated