I got stuck in that place for about a month:ĭid anyone with a Watch app switch to Single Size app icon? : error: ERROR: Identical key for two renditions Libc++abi: terminating with uncaught exception of type NSException 14:00:32.369 AssetCatalogSimulatorAgent *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Object 0x906e9858c3dac8ba persistent store is not reachable from this NSManagedObjectContext's coordinator' 14:00:32.369 AssetCatalogSimulatorAgent *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Object 0x906e9858e5fac8ba persistent store is not reachable from this NSManagedObjectContext's coordinator' 14:00:32.369 AssetCatalogSimulatorAgent *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Object 0x906e9858e65ac95a persistent store is not reachable from this NSManagedObjectContext's coordinator' The error message was not rather confusing: why is Core Data involved in this? AssetCatalogSimulatorAgent *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Object 0x906e9858c73ac8ba persistent store is not reachable from this NSManagedObjectContext's coordinator'Ġ CoreFoundation 0x00000001807a3b44 _exceptionPreprocess + 172ġ libobjc.A.dylib 0x000000018005c144 objc_exception_throw + 56Ģ CoreData 0x00000001858739cc _PFRetainedObjectIDCore + 680ģ CoreData 0x000000018586a1e4 - + 424Ĥ CoreThemeDefinition 0x000000019d9b5b2c _34-_block_invoke + 36ĥ CoreData 0x0000000185871720 developerSubmittedBlockToNSManagedObjectContextPerform + 156 I went ahead and proceed to opt for Single SizeĬommand CompileAssetCatalog failed with a nonzero exit code I created a new archive and went through the process of exporting the archive for development with app thinning again, to see what changed. I build on the Watch to make sure that the change didn't mess anything up. delete the AppIcon from the Assets of the Watch target.This means I only had the AppIcon in there for now. a single Assets for both iOS and watchOS (add it to the Watch app target): I created a new "Heavy.xcassets" for all assets used for iOS (and soon more…), so that my Assets.xcassets would be limited to assets shared between all apps (I have other catalogs for things shared with apps + extensions).one AppIcon in the Assets.xcassets of the watchOS target.one AppIcon in the Assets.xcassets of the iOS target, with icons for both iOS and watchOS (can't really remember why…).On Demand Resources size: Zero KB compressed, Zero KB uncompressedĪpp + On Demand Resources size: 26,1 MB compressed, 32,2 MB uncompressedĪpp size: 26,1 MB compressed, 32,2 MB uncompressed # iPhone 14 ProĪpp + On Demand Resources size: 71,8 MB compressed, 82,4 MB uncompressedĪpp size: 71,8 MB compressed, 82,4 MB uncompressed The process is explained by Apple in their Reducing your app’s size guide. The first thing I did was to use build an archive and check the size like Antoine van der Lee did, which got me this report (I simplified it). I had a reasonably good setup to generate the images with Affinity Designer and a Shortcut, but maybe it wasn't worth the trouble. When I first heard about the support for single-size icons at WWDC22, I was thrilled. * all icons are setup to "Single Size", whether it's your main AppIcon or an alternate one * your complications assets have the proper Scale (Individual Scales for Circular and Graphic Extra large, Single Scale for the others)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |