Xib file gives warning

I've got a xib file in my view giving a warning:


/loomis/NotifyMobile/trunk/NotifyMobile/Resources/PingTestView.xib:global: warning: This file is set to build for a version older than the project deployment target. Functionality may be limited.


Prior to that, I get a string of messages:


2015-10-26 13:35:09.270 Interface Builder Cocoa Touch Tool[6113:126521] Error registering for distributed notification com.apple.MediaRemote.externalScreenTypeDidChange. (status = 1000000)

2015-10-26 13:35:09.270 Interface Builder Cocoa Touch Tool[6113:126521] Error registering for distributed notification com.apple.MediaRemote.pickableRoutesDidChange. (status = 1000000)

2015-10-26 13:35:09.270 Interface Builder Cocoa Touch Tool[6113:126521] Error registering for distributed notification com.apple.MediaRemote.willPresentRouteAuthenticationPrompt. (status = 1000000)

2015-10-26 13:35:09.276 Interface Builder Cocoa Touch Tool[6113:126521] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetClass' from MGCopyAnswer got '{

ArtworkDeviceIdiom = pad;

ArtworkDeviceScaleFactor = "-1";

DevicePerformanceMemoryClass = 1;

}'

2015-10-26 13:35:09.277 Interface Builder Cocoa Touch Tool[6113:126521] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetFallbacks' from MGCopyAnswer got '{

ArtworkDeviceIdiom = pad;

ArtworkDeviceScaleFactor = "-1";

DevicePerformanceMemoryClass = 1;

}'

2015-10-26 13:35:09.278 Interface Builder Cocoa Touch Tool[6113:126521] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetClass' from MGCopyAnswer got '{

ArtworkDeviceIdiom = pad;

ArtworkDeviceScaleFactor = "-1";

DevicePerformanceMemoryClass = 1;

}'

2015-10-26 13:35:09.278 Interface Builder Cocoa Touch Tool[6113:126521] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetFallbacks' from MGCopyAnswer got '{

ArtworkDeviceIdiom = pad;

ArtworkDeviceScaleFactor = "-1";

DevicePerformanceMemoryClass = 1;

}'

2015-10-26 13:35:09.279 Interface Builder Cocoa Touch Tool[6113:126521] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetClass' from MGCopyAnswer got '{

ArtworkDeviceIdiom = pad;

ArtworkDeviceScaleFactor = "-1";

DevicePerformanceMemoryClass = 1;

}'

2015-10-26 13:35:09.279 Interface Builder Cocoa Touch Tool[6113:126521] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetFallbacks' from MGCopyAnswer got '{

ArtworkDeviceIdiom = pad;

ArtworkDeviceScaleFactor = "-1";

DevicePerformanceMemoryClass = 1;

}'

2015-10-26 13:35:09.279 Interface Builder Cocoa Touch Tool[6113:126521] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetClass' from MGCopyAnswer got '{

ArtworkDeviceIdiom = pad;

ArtworkDeviceScaleFactor = "-1";

DevicePerformanceMemoryClass = 1;

}'

2015-10-26 13:35:09.280 Interface Builder Cocoa Touch Tool[6113:126521] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetFallbacks' from MGCopyAnswer got '{

ArtworkDeviceIdiom = pad;

ArtworkDeviceScaleFactor = "-1";

DevicePerformanceMemoryClass = 1;

}'


Anybody know how I can make this error go away?


-Owen

Accepted Reply

Open the XIB file and make sure the "Builds for" setting is set to your min deployment target and/or above.

Replies

Open the XIB file and make sure the "Builds for" setting is set to your min deployment target and/or above.

I'm still getting this warning ("This file is set to build for a version older than the project deployment target") even though the LaunchScreen.xib file "Builds for" setting, and both my Project and Target Deployment settings are all exactly the same value (6.1).

Same here.

Same here - fixed by closing the project and re-opening.

Quit and Reopening xcode fixed this issue.