gpt4 book ai didi

ios - 贴纸包在模拟器上使 iMessage 崩溃,但在 iPhone 上却没有

转载 作者:塔克拉玛干 更新时间:2023-11-01 21:15:42 25 4
gpt4 key购买 nike

按照 Apple 的在线说明和视频在 Xcode 中创建了一个贴纸包。所有图像尺寸均正确且远低于文件大小阈值。

如果我在我的实体 iPhone 上构建并运行贴纸包,一切都会完美无缺。

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

我在 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 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

最佳答案

我遇到了同样的问题。解决方案是:

  1. 关闭警告对话框。
  2. 在模拟器中,点击消息应用图标(绿色气泡)。
  3. 从两个人中选择一个(例如 Kate Bell)。
  4. 单击省略号按钮图标 (...)
  5. 点击“编辑”按钮(右上角),然后通过点击 slider 开关并将其打开来手动启用您的贴纸包(请参见下面的屏幕截图 - 主题标签贴纸包已禁用)。完成后不要忘记点击“完成”。

这样做之后,贴纸包可以正常工作 - 直到您重新启动模拟器,然后返回到步骤 1。

The elipse button

Enable your sticker pack

关于ios - 贴纸包在模拟器上使 iMessage 崩溃,但在 iPhone 上却没有,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46920916/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com