2

I already asked this in the Apple Dev Forum but received no replies, so I'll try here.

I'm unsure if this is a bug or whether I've missed something since I'm still very new to programming.

I have multiple view controllers and have made multiple classes. I have set the custom class "bit" of each view controller to the revelent class. When I ctrl-drag anything from the view to the relevent class header, I get the usual pop-up. I fill in the info, press connect, and BAM. It does the same kind of error whether I choose "Outlet" or "Action" It worked in the previous Xcode but I'm not sure if I've forgotten something.

The view controller and class that I added with Xcode 4 is still working beatifully.

I've tried adding the image manually but all that gave me was a SIGBART error just trying to get to the view. Again, I may have missed something, but I don't think there's much to miss is there?

Any help would be appreciated.

Xcode error

Just to eliminate a few things... I've deleted derived data, restarted Xcode and done a "clean". That's all I can remember that I've done.

4

1 回答 1

0

问题解决了:

选择实现文件时。当我查看文件检查器时,我发现在“目标成员”下,应用名称没有被勾选。我勾选了它,现在效果很好。

由于我不需要在 Xcode 4 中这样做,我怀疑在 Xcode 5 中,它不会自动这样做。也许这是一个错误?我不知道这是否是苹果故意的,但我想我还是会提交一份错误报告,因为这有点麻烦。

于 2013-06-20T08:23:34.083 回答