Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS CI fails with "CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetFallbacks' from MGCopyAnswer got"

Keep getting thousands of these logs in our CI system since upgrading to Xcode 7. Don't have the slightest clue what they could mean.

2015-09-16 13:44:36.286 Interface Builder Cocoa Touch Tool[5197:11683] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetClass' from MGCopyAnswer got '{
    ArtworkDeviceIdiom = pad;
    ArtworkDeviceScaleFactor = "-1";
    DevicePerformanceMemoryClass = 1;
}'
2015-09-16 13:44:36.287 Interface Builder Cocoa Touch Tool[5197:11683] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetFallbacks' from MGCopyAnswer got '{
    ArtworkDeviceIdiom = pad;
    ArtworkDeviceScaleFactor = "-1";
    DevicePerformanceMemoryClass = 1;
}'
2015-09-16 13:44:36.288 Interface Builder Cocoa Touch Tool[5197:11683] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetClass' from MGCopyAnswer got '{
    ArtworkDeviceIdiom = pad;
    ArtworkDeviceScaleFactor = "-1";
    DevicePerformanceMemoryClass = 1;
}'

x 1000

like image 518
Awesome-o Avatar asked Sep 16 '15 22:09

Awesome-o


4 Answers

Same here. I get 16400 warnings when I build with Xamarin Studio. I had no issues before upgrading XCode 7 and latest XS:

like image 166
Ali Özgür Avatar answered Oct 13 '22 20:10

Ali Özgür


I have got small 13800 warnings out of this... as long as my reputation isn't high enough to comment questions (or answers) directly, I have to write in this way :(

I'm just glad at the moment, that I can work with my app on a device with the simulator.

Transfoming my project from Xamarin.iOS to unified API just didn't work out partly because of the missing "Migrate to Xamarin.iOS Unified API" (https://developer.xamarin.com/guides/cross-platform/macios/updating_ios_apps/) button in my Xamarin Studio and partly because the manually way to do this just had unsolvable problems with missing relations of my xibs in xCode. But that doesn't matter anyway because those warnings were there even when running into build errors with the unified API.

My build problems overall were solved thanks to this: Codesign error in Xamarin Studio 5.9.7 (build 9) and Xamarin.iOS 9.0.1.18

Any suggestions how to eliminate those warnings are highly welcome :)

like image 22
Roman R. Avatar answered Oct 13 '22 20:10

Roman R.


I had the same issue plus the app would no longer launch in the simulator. I was able to fix this by changing the architecture from i386 to x86_64.

In Xamarin, it's under your project options -> Build -> iOS Build -> Advanced tab (on right) -> Supported architectures dropdown.

like image 35
felix9 Avatar answered Oct 13 '22 19:10

felix9


This is a known issue and being tracked on Xamarin forums. Expect a fix soon

Non-public Bug 33706 - [iOS] Storyboards produce many warnings similar to: "/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ibtool: 2015-09-04 18:01:03.651 Interface Builder Cocoa Touch Tool[72838:13678534] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetClass' from MGCopyAnswer got '{ (CollectionView)". These warnings can be ignored for now. The problem is that Xamarin is currently surfacing diagnostic messages from ibtool that are not surfaced by the default Xcode build process.

https://forums.xamarin.com/discussion/50971/stable-release-xamarin-ios-9-0-ios-9-0-upstream-release/p1

like image 28
Paresh Jain Avatar answered Oct 13 '22 20:10

Paresh Jain