当用户单击消息选项时,我的应用程序崩溃了。 我正在使用下面的代码来显示activityView。
insert_statement = postgresql.insert(my_table).values(df.to_dict(orient='records'))
upsert_statement = insert_statement.on_conflict_do_update(
index_elements=['id'],
set_={c.key: c for c in insert_statement.excluded if c.key != 'id'})
conn.execute(upsert_statement)
2018-08-20 22:36:31.719463+0530 PreProd[512:126327] [core] SLComposeViewController extensionIdentifierForActivityType: com.apple.UIKit.activity.PostToTwitter => com.apple.share.Twitter.post 2018-08-20 22:36:31.719645+0530 PreProd[512:126327] [core] SLComposeViewController extensionIdentifierForActivityType: com.apple.UIKit.activity.PostToFacebook => com.apple.share.Facebook.post 2018-08-20 22:36:31.719749+0530 PreProd[512:126327] [core] SLComposeViewController extensionIdentifierForActivityType: com.apple.UIKit.activity.PostToWeibo => com.apple.share.SinaWeibo.post 2018-08-20 22:36:31.719862+0530 PreProd[512:126327] [core] SLComposeViewController extensionIdentifierForActivityType: com.apple.UIKit.activity.TencentWeibo => com.apple.share.TencentWeibo.post 2018-08-20 22:36:31.719954+0530 PreProd[512:126327] [core] SLComposeViewController extensionIdentifierForActivityType: com.apple.UIKit.activity.PostToFlickr => com.apple.share.Flickr.post 2018-08-20 22:36:31.720041+0530 PreProd[512:126327] [core] SLComposeViewController extensionIdentifierForActivityType: com.apple.UIKit.activity.PostToVimeo => com.apple.share.Vimeo.post 2018-08-20 22:36:31.765646+0530 PreProd[512:126327] [MC] Filtering mail sheet accounts for bundle ID: com.verizontelematics.Verizon-Hum, source account management: 1 2018-08-20 22:36:31.768863+0530 PreProd[512:126327] [MC] Result: YES 2018-08-20 22:36:31.769095+0530 PreProd[512:126327] [MC] Filtering mail sheet accounts for bundle ID: com.verizontelematics.Verizon-Hum, source account management: 1 2018-08-20 22:36:31.771958+0530 PreProd[512:126327] [MC] Result: YES 2018-08-20 22:36:37.098335+0530 PreProd[512:126327] -[_SwiftValue encodeWithCoder:]: unrecognized selector sent to instance 0x170c4bb20 2018-08-20 22:36:37.099382+0530 PreProd[512:126327] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_SwiftValue encodeWithCoder:]: unrecognized selector sent to instance 0x170c4bb20' *** First throw call stack: