gobelieveio / im_ios Goto Github PK
View Code? Open in Web Editor NEWGoBelieveIO IM iOS sdk
License: MIT License
GoBelieveIO IM iOS sdk
License: MIT License
2020-04-28 15:06:03.866026+0800 im_demo[6887:157696] [Snapshotting] Snapshotting a view (0x7f9a8b062a00, UIKeyboardImpl) that has not been rendered at least once requires afterScreenUpdates:YES.
2020-04-28 15:06:04.505572+0800 im_demo[6887:157696] im service enter background
2020-04-28 15:06:04.505984+0800 im_demo[6887:157696] suspend im service
2020-04-28 15:06:04.507445+0800 im_demo[6887:157696] im service on close
2020-04-28 15:06:04.508024+0800 im_demo[6887:157696] cancel write source
2020-04-28 15:06:04.508131+0800 im_demo[6887:157696] cancel read source
2020-04-28 15:06:04.509042+0800 im_demo[6887:157696] close socket
2020-04-28 15:06:04.687546+0800 im_demo[6887:157696] im service enter foreground
2020-04-28 15:06:04.687678+0800 im_demo[6887:157696] resume im service
并无详细报错:
代码断点卡在 AsyncSSLTCP.m
OSStatus status = SSLHandshake(self.sslContext);
Thread 6: EXC_BAD_ACCESS (code=1, address=0x48)
imkit/MessageListViewController.h
File not found
居然报这个错, 我也是崩溃。 明明里面有这个文件
建议你们 弄一个开源社区一样的东西 在开通一个 捐赠功能 在搞一个qq群大家一起交流 标示对你们开源的支持 我愿意捐赠 200 刚刚开始学GO语言
gobelieve/imsdk ?找不到
Can you change UIWebView to WKWebView? The app that contains UIWebView can't upload to the AppStore now.
- NOTE | [iOS] [gobelieve/imlib] xcodebuild: gobelieve/imlib/db/SQLPeerMessageDB.m:2:9: fatal error: 'NSString+JSMessagesView.h' file not found
- NOTE | [iOS] [gobelieve/imlib] xcodebuild: gobelieve/imlib/db/SQLGroupMessageDB.m:11:9: fatal error: 'NSString+JSMessagesView.h' file not found
依赖应该有问题。
s.subspec 'imsdk' do |sp|
sp.public_header_files = 'Classes/imsdk/*.h'
sp.source_files = 'Classes/imsdk/*.{h,m,c}'
sp.pod_target_xcconfig = {
'OTHER_LDFLAGS' => '-ObjC'
}
end
s.subspec 'imlib' do |sp|
sp.source_files = 'Classes/imlib/**/*.{h,m,c}'
sp.dependency 'flt_im_plugin/imsdk'
sp.dependency 'SDWebImage', '~> 5.1.0'
sp.dependency 'FMDB', '~> 2.7.0'
sp.dependency 'Masonry', '~>1.1.0'
end
s.subspec 'imkit' do |sp|
sp.vendored_libraries = 'Classes/imkit/amr/*.a'
sp.source_files = 'Classes/imkit/**/*.{h,m,c}'
sp.resource = [
'Classes/imkit/imKitRes/sounds/*.aiff',
'Classes/imkit/imKitRes/gobelieve.xcassets',
'Classes/imkit/imKitRes/Emoji.xcassets',
'Classes/imkit/imKitRes/gobelieve.db'
]
sp.pod_target_xcconfig = {
'OTHER_LDFLAGS' => '$(inherited) -all_load'
}
sp.dependency 'flt_im_plugin/imsdk'
sp.dependency 'flt_im_plugin/imlib'
sp.dependency 'SDWebImage', '~> 5.1.0'
sp.dependency 'Toast', '~> 4.0.0'
sp.dependency 'MBProgressHUD', '~> 0.9.1'
sp.dependency 'FMDB', '~> 2.7.0'
sp.dependency 'Masonry', '~>1.1.0'
end
如何获取与所有人聊天的最后一条消息以及管理未读数,要自己加的吗?
能否在tcp层添加对ssl的支持,看源码是没有的
发送群消息一直在 loading, 对方也无法收到消息.
(BOOL)sendGroupMessage:(IMMessage *)im {
Message *m = [[Message alloc] init];
m.cmd = MSG_GROUP_IM;
m.body = im;
BOOL r = [self sendMessage:m];
if (!r) return r;
[self.groupMessages setObject:im forKey:[NSNumber numberWithInt:m.seq]];
//在发送需要回执的消息时尽快发现socket已经断开的情况
[self ping];
return r;
}
看到 [self sendMessage:m]
返回是成功的.
MBProgressHUD这个依赖的版本能不能升级一下, 这个依赖的版本太低了,之前使用的大面积报错了
在iPhone8P iOS13.2.2 点击输入框无反应 ,toolbar 上任何按钮点击均无反馈 项目im_demo
虚拟机也没有反应,用jsDemo发送消息接收不到,安卓Demo可以接收
后台Log日志
2020-01-02 16:38:05.439311+0800 im_demo[32473:2455327] tcp connect host:imnode2.gobelieve.io host ip:115.28.44.59
2020-01-02 16:38:05.481029+0800 im_demo[32473:2455327] socket writable
2020-01-02 16:38:05.481633+0800 im_demo[32473:2455327] suspend write source
2020-01-02 16:38:05.481966+0800 im_demo[32473:2455327] ssl handshake continues...
2020-01-02 16:38:05.516389+0800 im_demo[32473:2455327] socket readable
2020-01-02 16:38:05.625811+0800 im_demo[32473:2455327] ssl handshake error:-9807
2020-01-02 16:38:05.625998+0800 im_demo[32473:2455327] tcp connect err
2020-01-02 16:38:05.626179+0800 im_demo[32473:2455327] im service on close
2020-01-02 16:38:05.626306+0800 im_demo[32473:2455327] cancel write source
2020-01-02 16:38:05.626429+0800 im_demo[32473:2455327] cancel read source
2020-01-02 16:38:05.627131+0800 im_demo[32473:2455327] close socket
2020-01-02 16:38:05.627674+0800 im_demo[32473:2455327] start connect timer:13
2020-01-02 16:38:05.627867+0800 im_demo[32473:2455327] async tcp dealloc
2020-01-02 16:38:05.628092+0800 im_demo[32473:2455327] async tcp closed
#import <gobelieve/TextMessageViewController.h>
找不到头文件
demo中也没有。。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.