Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode is loading in OS X objects instead of iOS objects

Tags:

xcode

macos

ios

I have an iOS window application, which was working fine with Xcode up until today.

When I open the project in the object library it seems to load in all of the OS X development objects, and I can no longer see any of the cocoa touch items like UITextViews, etc.

I didn't manually change any of the settings so I am not sure why this is happening.

like image 659
Tyler Durden Avatar asked Jul 06 '11 09:07

Tyler Durden


2 Answers

Not sure if its the exact same problem, but I found that opening a .xib file switches the Object Library from OS X to iOS objects...

like image 130
Andrew_L Avatar answered Oct 01 '22 12:10

Andrew_L


I downloaded Xcode 4.3.3 last night and had the same problem on my first launch of Xcode after the upgrade.

It certainly looks like a bug. My workaround: in the Build Settings, I changed the "iOS Deployment Target" pulldown to a different SDK, then changed it back. After that, I got the iOS objects back.

like image 45
cshavit Avatar answered Oct 01 '22 14:10

cshavit