Wednesday, October 1, 2014

#1 2012-03-25 07:10:10 pm

fundidor
Member
Registered: 2004-01-28
Posts: 149
Website

Problem when opening nib on xCode 4.3.1

I have upgraded to xCode 4.3.1 and when I try to open the mainmenu.xib file in my ASOC project I get:

The document "MainMenu.nib" could not be opened. The operation couldn’t be completed. *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil.

I don't have a clue about it.

If I open the same project in xCode 4.2.1, it runs fine.

Thanks,

Last edited by fundidor (2012-03-25 07:10:37 pm)


Bernardo Hoehl
Rio de Janeiro
Brazil
Buy Shane's AppleScriptObjC Explored if you are moving from AppleScriptStudio...

Offline

 

#2 2012-03-25 10:09:58 pm

Shane Stanley
Member
From: Australia
Registered: 2002-12-07
Posts: 3643

Re: Problem when opening nib on xCode 4.3.1

Try opening it in 4.2.1 and changing the nib version, then try again.


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#3 2012-03-26 06:37:54 pm

fundidor
Member
Registered: 2004-01-28
Posts: 149
Website

Re: Problem when opening nib on xCode 4.3.1

Shane,


Would you be so kind and point me where I have to click to change the nib version?

I have never done this before. I looked under every menu, no clue...

Thanks


Bernardo Hoehl
Rio de Janeiro
Brazil
Buy Shane's AppleScriptObjC Explored if you are moving from AppleScriptStudio...

Offline

 

#4 2012-03-27 02:10:14 am

Shane Stanley
Member
From: Australia
Registered: 2002-12-07
Posts: 3643

Re: Problem when opening nib on xCode 4.3.1

I'm going from memory (I'm on vacation for a week), but I think you select the nib and then use the File Inspector on the right.


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#5 2012-03-27 09:50:15 am

fundidor
Member
Registered: 2004-01-28
Posts: 149
Website

Re: Problem when opening nib on xCode 4.3.1

Thanks Shane,


Yes, it is in the properties tab, I changed the version, using xCode 4.2.1, but when I open the project in xCode 4.3.1, the version pop buttons are greyed out, the problem persist, check:


http://www.correiofacil.com/dl/ScreenShot1.png


Bernardo Hoehl
Rio de Janeiro
Brazil
Buy Shane's AppleScriptObjC Explored if you are moving from AppleScriptStudio...

Offline

 

#6 2012-04-01 12:15:55 am

Shane Stanley
Member
From: Australia
Registered: 2002-12-07
Posts: 3643

Re: Problem when opening nib on xCode 4.3.1

Bernardo,

Did you find a solution?


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#7 2012-04-02 02:23:30 pm

fundidor
Member
Registered: 2004-01-28
Posts: 149
Website

Re: Problem when opening nib on xCode 4.3.1

Hi Shane,


Thanks for your interest.

But I am afraid I have no solution yet.

My hope it is a bug in xCode that could be solved in the future?

I have seen other people with the same problem searching in Google, but the links are not in English Language...

It might be a problem related to special chars?


Bernardo Hoehl
Rio de Janeiro
Brazil
Buy Shane's AppleScriptObjC Explored if you are moving from AppleScriptStudio...

Offline

 

#8 2012-04-02 05:21:12 pm

Shane Stanley
Member
From: Australia
Registered: 2002-12-07
Posts: 3643

Re: Problem when opening nib on xCode 4.3.1

If you want to email it to me, I can have a look...


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#9 2012-04-02 05:40:44 pm

fundidor
Member
Registered: 2004-01-28
Posts: 149
Website

Re: Problem when opening nib on xCode 4.3.1

I sent a link to you email... Please check. Please confirm. Thanks!


Bernardo Hoehl
Rio de Janeiro
Brazil
Buy Shane's AppleScriptObjC Explored if you are moving from AppleScriptStudio...

Offline

 

#10 2012-04-02 06:33:27 pm

Shane Stanley
Member
From: Australia
Registered: 2002-12-07
Posts: 3643

Re: Problem when opening nib on xCode 4.3.1

I can't see anything wrong. ibtools is happy enough with it, it runs, and it opens fine in Interface Builder.app 3.2.6. Looks like a bug in Xcode -- I suggest you log it as such.

Probably not what you wanted to hear...


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#11 2012-04-02 06:47:04 pm

fundidor
Member
Registered: 2004-01-28
Posts: 149
Website

Re: Problem when opening nib on xCode 4.3.1

Thanks Shane!


Bernardo Hoehl
Rio de Janeiro
Brazil
Buy Shane's AppleScriptObjC Explored if you are moving from AppleScriptStudio...

Offline

 

#12 2012-05-22 02:07:05 pm

fundidor
Member
Registered: 2004-01-28
Posts: 149
Website

Re: Problem when opening nib on xCode 4.3.1

Found the solution:


There seems to be a bug in xCode 4.3.1 when you set a sound to a button.

I removed the sound from one of the buttons, and it now works...


Bernardo Hoehl
Rio de Janeiro
Brazil
Buy Shane's AppleScriptObjC Explored if you are moving from AppleScriptStudio...

Offline

 

#13 2012-05-22 02:25:44 pm

fiz
Member
From: Lausanne, Switzerland
Registered: 2011-03-02
Posts: 849

Re: Problem when opening nib on xCode 4.3.1

Got the same problem one week ago. Not easy to remove the sounds in Source Code…


Bernard

Offline

 

#14 2012-05-22 02:40:35 pm

fundidor
Member
Registered: 2004-01-28
Posts: 149
Website

Re: Problem when opening nib on xCode 4.3.1

I removed using xCode 4.2.1


Bernardo Hoehl
Rio de Janeiro
Brazil
Buy Shane's AppleScriptObjC Explored if you are moving from AppleScriptStudio...

Offline

 

Board footer

Powered by FluxBB

[ Generated in 0.037 seconds, 10 queries executed ]

RSS (new topics) RSS (active topics)