Unable to create a sticker pack in xcode9

I have created a sticker pack in previous version of xcode and everythibg worked fine.


I decided to test it on my Iphone7 and to do that the system forced me to upgrade my Mac and xcode to xcode9


My sticker project was upgraded to xcode9 and after that I start receiving strange errors that are listed below.

I tried to create even sticker pack from scratch but the same issues.


I do not know what is the problem but creating a sticker pack should not require the development skills at all. So I think that there are some bugs in xcode 9 as before the same project worked fine.


Can anyone help with these errors. The simulator just crashes


Error in one project

objc[5468]: Class _MSMessageExtensionLoadingView is implemented in both

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Messages.framework/Messages (0x1340868c0)

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Messages/iMessageBalloons/MSMessageExtensionBalloonPlugin.bundle/MSMessageExtensionBalloonPlugin (0x1340520b0).

One of the two will be used. Which one is undefined.

Error 2


2017-09-21 15:31:23.877153+0300 MobileSMS[5738:212034] [Warning] Splitview controller <UISplitViewControllerClassicImpl: 0x7fd9b0901b80> is expected to have a view controller at index 0 before it's used!

2017-09-21 15:31:23.985386+0300 MobileSMS[5738:212034] [MC] Loaded MobileCoreServices.framework

2017-09-21 15:31:24.007565+0300 MobileSMS[5738:212034] [Application] Restoring application state. isComposingNew=NO groupID=(null)

2017-09-21 15:31:24.097847+0300 MobileSMS[5738:212034] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin

2017-09-21 15:31:24.098105+0300 MobileSMS[5738:212034] [Warning] Could not determine if com.apple.messages.browser.MorePlugin is a recent or favorite!

2017-09-21 15:31:24.098312+0300 MobileSMS[5738:212034] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin

2017-09-21 15:31:24.302024+0300 MobileSMS[5738:212034] IMSendProgress: 0x6000002710c0 (delegate: 0x7fd9ae714f40, context: 0x7fd9b2812800) is updating sending items from (null) to {

}. (removed? 0, inserted? 0, forced? 1, hasSendingMessages? 0)

2017-09-21 15:31:24.325494+0300 MobileSMS[5738:212034] +[CATransaction synchronize] called within transaction

2017-09-21 15:31:24.325666+0300 MobileSMS[5738:212034] +[CATransaction synchronize] called within transaction

2017-09-21 15:31:24.325801+0300 MobileSMS[5738:212034] +[CATransaction synchronize] called within transaction

2017-09-21 15:31:24.335449+0300 MobileSMS[5738:212034] [Warning] Invalid parameters bundleIdentifier com.apple.icloud.apps.messages.business.extension serverBag (null)

2017-09-21 15:31:24.339515+0300 MobileSMS[5738:212034] [Warning] Invalid parameters bundleIdentifier com.apple.ActivityMessagesApp.MessagesExtension serverBag (null)

2017-09-21 15:31:24.341691+0300 MobileSMS[5738:212034] [Warning] Invalid parameters bundleIdentifier com.apple.siri.parsec.HashtagImagesApp.HashtagImagesExtension serverBag (null)

2017-09-21 15:31:24.342812+0300 MobileSMS[5738:212034] [Warning] Invalid parameters bundleIdentifier com.-------.StickerPackExtention serverBag (null)

2017-09-21 15:31:24.344961+0300 MobileSMS[5738:212034] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin

2017-09-21 15:31:24.345167+0300 MobileSMS[5738:212034] [Warning] Could not determine if com.apple.messages.browser.MorePlugin is a recent or favorite!

2017-09-21 15:31:24.345505+0300 MobileSMS[5738:212034] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin

objc[5738]: Class _MSMessageExtensionLoadingView is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Messages.framework/Messages (0x1307a68c0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Messages/iMessageBalloons/MSMessageExtensionBalloonPlugin.bundle/MSMessageExtensionBalloonPlugin (0x1307720b0). One of the two will be used. Which one is undefined.

2017-09-21 15:31:25.753640+0300 MobileSMS[5738:212034] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin

2017-09-21 15:31:25.753873+0300 MobileSMS[5738:212034] [Warning] Could not determine if com.apple.messages.browser.MorePlugin is a recent or favorite!

2017-09-21 15:31:25.754188+0300 MobileSMS[5738:212034] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin

2017-09-21 15:31:26.795347+0300 MobileSMS[5738:212034] API error: <CKInputView: 0x7fd9b092f340; baseClass = UIInputView; frame = (0 0; 0 0); layer = <CALayer: 0x6040002327c0>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-09-21 15:31:26.795685+0300 MobileSMS[5738:212034] API error: <CKInputView: 0x7fd9b092f340; baseClass = UIInputView; frame = (0 0; 0 0); layer = <CALayer: 0x6040002327c0>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-09-21 15:31:26.812734+0300 MobileSMS[5738:212034] API error: <CKInputView: 0x7fd9b092f340; baseClass = UIInputView; frame = (0 96; 375 308); layer = <CALayer: 0x6040002327c0>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-09-21 15:31:26.813059+0300 MobileSMS[5738:212034] API error: <CKInputView: 0x7fd9b092f340; baseClass = UIInputView; frame = (0 96; 375 308); layer = <CALayer: 0x6040002327c0>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-09-21 15:31:26.813678+0300 MobileSMS[5738:212034] API error: <CKInputView: 0x7fd9b092f340; baseClass = UIInputView; frame = (0 96; 375 308); layer = <CALayer: 0x6040002327c0>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-09-21 15:31:26.814096+0300 MobileSMS[5738:212034] API error: <CKInputView: 0x7fd9b092f340; baseClass = UIInputView; frame = (0 96; 375 308); layer = <CALayer: 0x6040002327c0>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-09-21 15:31:26.816852+0300 MobileSMS[5738:212034] API error: <CKInputView: 0x7fd9b092f340; baseClass = UIInputView; frame = (0 96; 375 308); layer = <CALayer: 0x6040002327c0>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-09-21 15:31:26.817183+0300 MobileSMS[5738:212034] API error: <CKInputView: 0x7fd9b092f340; baseClass = UIInputView; frame = (0 96; 375 308); layer = <CALayer: 0x6040002327c0>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-09-21 15:31:26.817813+0300 MobileSMS[5738:212034] API error: <CKInputView: 0x7fd9b092f340; baseClass = UIInputView; frame = (0 96; 375 308); layer = <CALayer: 0x6040002327c0>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-09-21 15:31:26.818103+0300 MobileSMS[5738:212034] API error: <CKInputView: 0x7fd9b092f340; baseClass = UIInputView; frame = (0 96; 375 308); layer = <CALayer: 0x6040002327c0>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-09-21 15:31:26.827234+0300 MobileSMS[5738:212034] API error: <CKInputView: 0x7fd9b092f340; baseClass = UIInputView; frame = (0 96; 375 308); layer = <CALayer: 0x6040002327c0>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-09-21 15:31:26.827580+0300 MobileSMS[5738:212034] API error: <CKInputView: 0x7fd9b092f340; baseClass = UIInputView; frame = (0 96; 375 308); layer = <CALayer: 0x6040002327c0>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-09-21 15:31:26.830931+0300 MobileSMS[5738:212034] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'attempt to scroll to invalid index path: <NSIndexPath: 0x60400042f040> {length = 2, path = 0 - 9223372036854775807}'

*** First throw call stack:

(

0 CoreFoundation 0x00000001092c01cb __exceptionPreprocess + 171

1 libobjc.A.dylib 0x0000000108c22f41 objc_exception_throw + 48

2 CoreFoundation 0x0000000109334b95 +[NSException raise:format:] + 197

3 UIKit 0x0000000104b645e2 -[UICollectionView _contentOffsetForScrollingToItemAtIndexPath:atScrollPosition:] + 212

4 UIKit 0x0000000104b65058 -[UICollectionView _scrollToItemAtIndexPath:atScrollPosition:animated:] + 70

5 ChatKit 0x0000000107bae6f5 -[CKBrowserSwitcherViewController(XCODE_DEVELOPMENT_SUPPORT) scrollCollectionViewToPlugin:] + 240

6 ChatKit 0x0000000107b4ab2c -[CKChatInputController _launchAppExtensionForDebugging] + 682

7 CoreFoundation 0x000000010925c07c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12

8 CoreFoundation 0x000000010925c00f ___CFXRegistrationPost_block_invoke + 63

9 CoreFoundation 0x000000010926320c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12

10 CoreFoundation 0x0000000109247a3b __CFRunLoopDoBlocks + 203

11 CoreFoundation 0x000000010924783b __CFRunLoopRun + 2875

12 CoreFoundation 0x0000000109246a89 CFRunLoopRunSpecific + 409

13 GraphicsServices 0x000000010be419c6 GSEventRunModal + 62

14 UIKit 0x000000010409cd30 UIApplicationMain + 159

15 MobileSMS 0x00000001039302ca MobileSMS + 135882

16 libdyld.dylib 0x000000010a890d81 start + 1

17 ??? 0x0000000000000001 0x0 + 1

)

libc++abi.dylib: terminating with uncaught exception of type NSException

Replies

This helped me

MobileSMS crashes on simulator


What worked for me: clicking on the white elipses icon, selecting "edit," and then manually enabling our extension. After doing that, the extension launches from Xcode without issue.

Error1 is just a warning, without consequence. You can usually ignore it.


Did the same solution work for you ?

If so, it would be useful to post a bug report.

I have the same problem but this solution didn't work for me 😟

Hi, I don't see that ellipse icon. I'm looking at the menu (I'm assuming that it's there???)


there's a play button / a stop button / then the list of sticker pack extensions....

I've clicked on thh list of extensions and the only edit button I see is for editing a scheme.


I've tried adding my iPad by clicking on "Add Additional Simulators", to no avail. Running my sticker pack this way still makes everything crash.


Where can I find this elusive ellipses icon.


Your tips are much appreciated.

same here

I'm having the same issue. I can run the sticker pack fine on my iPhone, but when I try to run it in the simulator, the simulator crashes. This only started happening after I upgraded to Xcode 9.