Sticker Pack not working on device

When I install my Sticker Pack Application on a device the sticker images are not showing.



I am getting this error in console:



2016-08-03 19:52:21.517905 MobileSMS[253:5729] [MobileAssetError:1] Unable to copy asset attributes

2016-08-03 19:52:21.519170 MobileSMS[253:5729] 0x174158cb0 Copy assets attributes reply: XPC_TYPE_DICTIONARY <dictionary: 0x174158cb0> { count = 1, transaction: 0, voucher = 0x0, contents =

"Result" => <int64: 0x1742333a0>: 1

}


Has anyone else had issues when running a sticker pack application on a device ?

Were you using Xcode 8 Beta 4 or 5, and the Build is just hanging at "Compiling Asset Catalog"?

Have you got any animations among your sticker images?

Same problems here. Added stickers to existing project. They are not showing on iMessage


Added 3 stickers:


0x17434a500 Copy matching assets reply: XPC_TYPE_DICTIONARY  <dictionary: 0x17434a500> { count = 2, transaction: 0, voucher = 0x0, contents =
  "Assets" => <data: 0x17486b580>: { length = 2167 bytes, contents = 0x62706c6973743030d4010203040506d3d458247665727369... }
  "Result" => <int64: 0x17422fa20>: 0
}
2016-09-20 10:03:38.336174 MobileSMS[666:92891] 0x17434aa80 Copy assets attributes reply: XPC_TYPE_DICTIONARY  <dictionary: 0x17434aa80> { count = 2, transaction: 0, voucher = 0x0, contents =
  "Attributes" => <data: 0x174271240>: { length = 302 bytes, contents = 0x62706c6973743030d40102030405061a1b58247665727369... }
  "Result" => <int64: 0x174229440>: 0
}
2016-09-20 10:03:38.341606 MobileSMS[666:92891] 0x170353140 Copy assets attributes reply: XPC_TYPE_DICTIONARY  <dictionary: 0x170353140> { count = 2, transaction: 0, voucher = 0x0, contents =
  "Attributes" => <data: 0x170268300>: { length = 515 bytes, contents = 0x62706c6973743030d4010203040506232458247665727369... }
  "Result" => <int64: 0x170233c40>: 0
}


And after a while I get:


2016-09-20 10:03:38.464557 MobileSMS[666:92892] [MobileAssetError:1] Unable to copy asset attributes
2016-09-20 10:03:38.466293 MobileSMS[666:92892] 0x17434b580 Copy assets attributes reply: XPC_TYPE_DICTIONARY  <dictionary: 0x17434b580> { count = 1, transaction: 0, voucher = 0x0, contents =
  "Result" => <int64: 0x17423ab00>: 1
}
2016-09-20 10:03:38.466439 MobileSMS[666:92892] [MobileAssetError:1] Unable to copy asset attributes
2016-09-20 10:03:38.468192 MobileSMS[666:92892] 0x170353c40 Copy assets attributes reply: XPC_TYPE_DICTIONARY  <dictionary: 0x170353c40> { count = 1, transaction: 0, voucher = 0x0, contents =
  "Result" => <int64: 0x170426aa0>: 1
}
2016-09-20 10:03:38.468272 MobileSMS[666:92892] [MobileAssetError:1] Unable to copy asset attributes
2016-09-20 10:03:38.470105 MobileSMS[666:92892] 0x17434b580 Copy assets attributes reply: XPC_TYPE_DICTIONARY  <dictionary: 0x17434b580> { count = 1, transaction: 0, voucher = 0x0, contents =
  "Result" => <int64: 0x17423ab00>: 1
}
2016-09-20 10:03:38.470249 MobileSMS[666:92892] [MobileAssetError:1] Unable to copy asset attributes
2016-09-20 10:03:38.471834 MobileSMS[666:92892] 0x170353c40 Copy assets attributes reply: XPC_TYPE_DICTIONARY  <dictionary: 0x170353c40> { count = 1, transaction: 0, voucher = 0x0, contents =
  "Result" => <int64: 0x170426a60>: 1
}
2016-09-20 10:03:38.471900 MobileSMS[666:92892] [MobileAssetError:1] Unable to copy asset attributes
2016-09-20 10:03:41.447137 MobileSMS[666:92887] *** -[NSKeyedUnarchiver initForReadingWithData:]: data is NULL
2016-09-20 10:03:41.447544 MobileSMS[666:92887] *** -[NSKeyedUnarchiver initForReadingWithData:]: data is NULL
2016-09-20 10:03:41.515867 MobileSMS[666:92887] IMSendProgress: 0x170848b80 (delegate: 0x10024b080, context: 0x1008ec400) is updating sending items from (null) to {
}. (removed? 0, inserted? 0, forced? 1, hasSendingMessages? 0)
2016-09-20 10:03:42.432529 MobileSMS[666:92887] [Warning] There is no place in heaven where the items can fit with the current collectionViewBounds {{0, 0}, {0, 0}} itemSize: {60, 58}
2016-09-20 10:03:42.457047 MobileSMS[666:92887] [Warning] There is no place in heaven where the items can fit with the current collectionViewBounds {{0, 0}, {375, 216}} itemSize: {60, 58}
2016-09-20 10:03:42.607694 MobileSMS[666:92887] [Warning] There is no place in heaven where the items can fit with the current collectionViewBounds {{0, 0}, {375, 216}} itemSize: {60, 58}



3 stickers

@3x size (300x300) PNG with alpha. Size 38-50kb each.

Just figured this out.


On the device you're running the build on, make sure you have pressed "Trust this Device" under General -> Device Management -> [Your App]. Then re-run your build via Xcode and your stickers will show up.

I had the same issue for xcode8.1. I can not found "Settings > General > Device Management" in my iPhone. Can you describe the detail for setting? Thanks!

Sticker Pack not working on device
 
 
Q