Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/44.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 标签包在模拟器上崩溃了iMessage,但在iPhone上没有_Ios_Iphone_Xcode - Fatal编程技术网

Ios 标签包在模拟器上崩溃了iMessage,但在iPhone上没有

Ios 标签包在模拟器上崩溃了iMessage,但在iPhone上没有,ios,iphone,xcode,Ios,Iphone,Xcode,按照苹果的在线指示和视频,在Xcode中创建了一个贴纸包。所有图像的尺寸都正确,并且远低于文件大小阈值 如果我在我的物理iPhone上构建并运行贴纸包,一切都会完美无瑕 如果我在模拟器上构建并运行标签包,对于任何模拟的iPhone/iPad,iMessages启动,我的标签包图标出现,然后iMessage崩溃。我收到系统错误:“手机意外退出。” 我正在MacOS High Sierra 10.13上运行Xcode 9.0.1版(9A1004)。Xcode生成的错误如下所示。任何和所有的答案都将不

按照苹果的在线指示和视频,在Xcode中创建了一个贴纸包。所有图像的尺寸都正确,并且远低于文件大小阈值

如果我在我的物理iPhone上构建并运行贴纸包,一切都会完美无瑕

如果我在模拟器上构建并运行标签包,对于任何模拟的iPhone/iPad,iMessages启动,我的标签包图标出现,然后iMessage崩溃。我收到系统错误:“手机意外退出。”

我正在MacOS High Sierra 10.13上运行Xcode 9.0.1版(9A1004)。Xcode生成的错误如下所示。任何和所有的答案都将不胜感激。需要注意的是,我没有为贴纸包编写任何代码,也没有修改代码。在构建贴纸包项目时,它都是由Xcode自动生成的

2017-10-24 15:06:52.116813-0700 MobileSMS[2897:557106][Warning]Splitview控制器在使用之前,预期在索引0处有一个视图控制器!
2017-10-24 15:06:52.289111-0700 MobileSMS[2897:557106][MC]已加载的MobileCoReserves.framework
2017-10-24 15:06:52.364078-0700 MobileSMS[2897:557106][Application]正在恢复应用程序状态。iscomposignew=无组ID=(空)
2017-10-24 15:06:52.622894-0700 MobileSMS[2897:557106][警告]IMBalloonPluginManager。找不到id com.apple.messages.browser.MorePlugin的任何插件
2017-10-24 15:06:52.623092-0700 MobileSMS[2897:557106][警告]无法确定com.apple.messages.browser.MorePlugin是最新还是最受欢迎的插件!
2017-10-24 15:06:52.623246-0700 MobileSMS[2897:557106][警告]IMBalloonPluginManager。找不到id com.apple.messages.browser.MorePlugin的任何插件
2017-10-24 15:06:52.911018-0700 MobileSMS[2897:557106]IMSendProgress:0x600000278840(委托人:0x7fb10be02320,上下文:0x7fb10e013800)正在将发送项目从(null)更新为{}。(删除?0,插入?0,强制?1,hasSendingMessages?0)
2017-10-24 15:06:52.936630-0700在事务中调用了MobileSMS[2897:557106]+[CatTransaction synchronize]
2017-10-24 15:06:52.936780-0700在事务中调用了MobileSMS[2897:557106]+[CatTransaction synchronize]
2017-10-24 15:06:52.936898-0700在事务中调用了MobileSMS[2897:557106]+[CatTransaction synchronize]
2017-10-24 15:06:52.951138-0700手机短信[2897:557106][警告]无效参数bundleIdentifier com.apple.siri.parsec.hashtagimagessapp.HashtagImagesExtension服务器包(空)
2017-10-24 15:06:52.954470-0700手机短信[2897:557106][警告]无效参数bundleIdentifier com.apple.icloud.apps.messages.business.extension serverBag(空)
2017-10-24 15:06:52.956249-0700手机短信[2897:557106][警告]无效参数bundleIdentifier com.hifidesign.netsing-anywhere.stickepackExtension服务器包(空)
2017-10-24 15:06:52.957857-0700手机短信[2897:557106][警告]无效参数bundleIdentifier com.apple.activityMessageApp.MessagesExtension服务器包(空)
2017-10-24 15:06:52.959717-0700 MobileSMS[2897:557106][警告]IMBalloonPluginManager。找不到id com.apple.messages.browser.MorePlugin的任何插件
2017-10-24 15:06:52.959925-0700 MobileSMS[2897:557106][警告]无法确定com.apple.messages.browser.MorePlugin是最近的还是最受欢迎的!
2017-10-24 15:06:52.960175-0700 MobileSMS[2897:557106][警告]IMBalloonPluginManager。找不到id com.apple.messages.browser.MorePlugin的任何插件
objc[2897]:类_MSMessageExtensionLoadingView在/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Messages.framework/Messages(0x130fd28c0)中实现和/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Messages/imessageballogs/msmessageextensionballoplugin.bundle/msmessageextensionballoplugin(0x130f9e0c8)。将使用其中一个。哪一个是未定义的。
2017-10-24 15:06:57.602375-0700 MobileSMS[2897:557106][警告]IMBalloonPluginManager。找不到id com.apple.messages.browser.MorePlugin的任何插件
2017-10-24 15:06:57.602562-0700 MobileSMS[2897:557106][警告]无法确定com.apple.messages.browser.MorePlugin是最新还是最受欢迎的插件!
2017-10-24 15:06:57.602831-0700 MobileSMS[2897:557106][警告]IMBalloonPluginManager。找不到id com.apple.messages.browser.MorePlugin的任何插件
2017-10-24 15:06:58.888200-0700 MobileSMS[2897:557106]***由于未捕获的异常“NSInvalidArgumentException”而终止应用程序,原因:“尝试滚动到无效索引路径:{length=2,path=0-9223372036854775807}”
***第一次抛出调用堆栈:
(
0 CoreFoundation 0x0000000109a6f1cb例外预处理+171
1 libobjc.A.dylib 0x0000000108f8bf41 objc_异常_抛出+48
2 CoreFoundation 0x0000000109ae3b95+[N异常提升:格式:][197
3 UIKit 0x0000000106583cd6-[UICollectionView_contentOffsetForScrollingToItemAtIndexPath:atScrollPosition:+212
4 UIKit 0x000000010658474c-[UICollectionView\u scrollToItemAtIndexPath:atScrollPosition:animated:+70
5聊天套件0x00000001080b9311-[CKBrowserSwitcherServiceController(XCODE\开发\支持)scrollCollectionViewToPlugin:+240
6聊天套件0x0000000108054b0f-[CKCHATIInputController _LaunchAppExtensionsfor Debugging]+682
7 CoreFoundation 0x0000000109a0b07c通知中心正在召集观察员
8 CoreFoundation 0x0000000109A00F\uuuuuuuuuuuuuuuuuuxRegistrationPost\u block\u invoke+63
9 CoreFoundation 0x0000000109a1220c\uuu CFRUNLOOP\u正在调用\u OUT\u到\u块\uuuuu+12
10核心基金会
2017-10-24 15:06:52.116813-0700 MobileSMS[2897:557106] [Warning] Splitview controller <UISplitViewControllerClassicImpl: 0x7fb10bf08a40> is expected to have a view controller at index 0 before it's used!
2017-10-24 15:06:52.289111-0700 MobileSMS[2897:557106] [MC] Loaded MobileCoreServices.framework
2017-10-24 15:06:52.364078-0700 MobileSMS[2897:557106] [Application] Restoring application state. isComposingNew=NO  groupID=(null)
2017-10-24 15:06:52.622894-0700 MobileSMS[2897:557106] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin
2017-10-24 15:06:52.623092-0700 MobileSMS[2897:557106] [Warning] Could not determine if com.apple.messages.browser.MorePlugin is a recent or favorite!
2017-10-24 15:06:52.623246-0700 MobileSMS[2897:557106] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin
2017-10-24 15:06:52.911018-0700 MobileSMS[2897:557106] IMSendProgress: 0x600000278840 (delegate: 0x7fb10be02320, context: 0x7fb10e013800) is updating sending items from (null) to {}. (removed? 0, inserted? 0, forced? 1, hasSendingMessages? 0)
2017-10-24 15:06:52.936630-0700 MobileSMS[2897:557106] +[CATransaction   synchronize] called within transaction
2017-10-24 15:06:52.936780-0700 MobileSMS[2897:557106] +[CATransaction synchronize] called within transaction
2017-10-24 15:06:52.936898-0700 MobileSMS[2897:557106] +[CATransaction synchronize] called within transaction
2017-10-24 15:06:52.951138-0700 MobileSMS[2897:557106] [Warning] Invalid parameters bundleIdentifier com.apple.siri.parsec.HashtagImagesApp.HashtagImagesExtension serverBag (null)
2017-10-24 15:06:52.954470-0700 MobileSMS[2897:557106] [Warning] Invalid parameters bundleIdentifier com.apple.icloud.apps.messages.business.extension serverBag (null)
2017-10-24 15:06:52.956249-0700 MobileSMS[2897:557106] [Warning] Invalid parameters bundleIdentifier com.hifidesign.Tennis-Anyone.StickerPackExtension serverBag (null)
2017-10-24 15:06:52.957857-0700 MobileSMS[2897:557106] [Warning] Invalid parameters bundleIdentifier com.apple.ActivityMessagesApp.MessagesExtension serverBag (null)
2017-10-24 15:06:52.959717-0700 MobileSMS[2897:557106] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin
2017-10-24 15:06:52.959925-0700 MobileSMS[2897:557106] [Warning] Could not determine if com.apple.messages.browser.MorePlugin is a recent or favorite!
2017-10-24 15:06:52.960175-0700 MobileSMS[2897:557106] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin
objc[2897]: 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 (0x130fd28c0) 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 (0x130f9e0c8). One of the two will be used. Which one is undefined.
2017-10-24 15:06:57.602375-0700 MobileSMS[2897:557106] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin
2017-10-24 15:06:57.602562-0700 MobileSMS[2897:557106] [Warning] Could not determine if com.apple.messages.browser.MorePlugin is a recent or favorite!
2017-10-24 15:06:57.602831-0700 MobileSMS[2897:557106] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin
2017-10-24 15:06:58.888200-0700 MobileSMS[2897:557106] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'attempt to scroll to invalid index path: <NSIndexPath: 0x604000437940> {length = 2, path = 0 - 9223372036854775807}'
*** First throw call stack:
(
0   CoreFoundation                      0x0000000109a6f1cb __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x0000000108f8bf41 objc_exception_throw + 48
2   CoreFoundation                      0x0000000109ae3b95 +[NSException raise:format:] + 197
3   UIKit                               0x0000000106583cd6 -[UICollectionView _contentOffsetForScrollingToItemAtIndexPath:atScrollPosition:] + 212
4   UIKit                               0x000000010658474c -[UICollectionView _scrollToItemAtIndexPath:atScrollPosition:animated:] + 70
5   ChatKit                             0x00000001080b9311 -[CKBrowserSwitcherViewController(XCODE_DEVELOPMENT_SUPPORT) scrollCollectionViewToPlugin:] + 240
6   ChatKit                             0x0000000108054b0f -[CKChatInputController _launchAppExtensionForDebugging] + 682
7   CoreFoundation                      0x0000000109a0b07c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
8   CoreFoundation                      0x0000000109a0b00f ___CFXRegistrationPost_block_invoke + 63
9   CoreFoundation                      0x0000000109a1220c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
10  CoreFoundation                      0x00000001099f6a3b __CFRunLoopDoBlocks + 203
11  CoreFoundation                      0x00000001099f683b __CFRunLoopRun + 2875
12  CoreFoundation                      0x00000001099f5a89 CFRunLoopRunSpecific + 409
13  GraphicsServices                    0x000000010c53f9c6 GSEventRunModal + 62
14  UIKit                               0x0000000105aa823c UIApplicationMain + 159
15  MobileSMS                           0x0000000103b7e2b6 MobileSMS + 135862
16  libdyld.dylib                       0x000000010af85d81 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException