Build problems Unity iPhone 1.5, Snow Leopard

Build environment - All latest available

Snow leopard
Xcode 3.2
iPhone sdk 3.1
Unity iPhone 1.5

Issue #1

I have to do a clean build each time. Is this normal? If I don’t do a clean build then the previous build is run in the debugger. My process is to save both the scene and project before I build and run. Xcode gets loaded if it’s already not running, some compiles are done and then the previous build is loaded in the debugger instead of the new version being installed. Anyone else seen this?

Issue #2

Xcode hangs after a few build iterations. Sometimes when cleaning a previous build, sometimes when I try to stop/start the debugger. I have to do a force quit. I am not prompted to submit a crash report to Apple or I would.

Issue #3

the first I start the run after a succesfull build and install I get a error message. Uncaught Exception:
-[PBXDebugScriptCommand debugSessionDidStart:]: unrecognized selector sent to instance 0x200f37160

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

Glenn

iByte

Version 1.5 is not compatible w/ Snow Leopard. Found this out the hard way. Best to move back to Leopard.

Yeah, I would move back to Leopard too. You’re probably going to have Unity Remote issues as well.

edit: Also, be sure to report this as a bug. I’ve done so as well, and Unity got back to me that the latest SDK installer seems to have fixed this (?). But naturally, I couldn’t test it as I’m not running Snow Leopard anymore. But from what you’re saying here, it still doesn’t work properly.

I was able to run everything related to Unity iPhone 1.5 stable under Snow Leo when installed most recent Apple’s dev tools package to a separate folder. That was a 2+ GB download and about 6+ GB on the HDD. New tools seem to work pretty stable.

There may still be some trampoline bugs left like “missing SDK”, but those will be fixed with the next release soon.

Also you may experience some linker errors when compiling for OS 3.1. Hope Apple fixes this with the next 2GB tools package :wink:

Hi so from your response I can assume

#1) you do not need to do a clean build each time?
#2) you get no hangs on xcode 3.2

Would you confirm you are testing from a regular upgrade path vs a clean install. I really do not want not wipe my machine. That scenario represents a very limited number of users who start with a brand new Snow Leopard machine and install everything from scratch.

Glenn

One other question … is there any difference between the tools posted on Apples web site and the ones on the Snow Leopard DVD?

When I did the OS upgrade … I installed the XCode 3.2 tools from the DVD. I did also download the tools from Apple and installed over top after that to make sure i was at the latest level

I have the same questions as iByte. Right now I have to delete everything and rebuild every time to see updates. And its quite painful.

I have the same problems, at least #2 and #3.

this is giving me headaches :frowning:

SL 10.6.2
Latest XCode, compiling for 2.2.1
Unity 1.5.1

any news on when it will be fixed?

Ask Apple

2 and 3 are fullscale XCode problems, they are not related to unity at all.