Commit e08a830b3bb078af8d3037721a11818d7f59b407

Authored by 王军波
1 parent f6596e5a

更新SDK

CNLiveChatSDKDemo/CNLiveChatSDKDemo.xcodeproj/project.pbxproj
... ... @@ -16,12 +16,12 @@
16 16 D264D5AE1E6FDE02002CDF41 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D264D5AC1E6FDE02002CDF41 /* Main.storyboard */; };
17 17 D264D5B01E6FDE02002CDF41 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D264D5AF1E6FDE02002CDF41 /* Assets.xcassets */; };
18 18 D264D5B31E6FDE02002CDF41 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D264D5B11E6FDE02002CDF41 /* LaunchScreen.storyboard */; };
19   - D28F60031E8E340C00914142 /* CNLiveMsgTools.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D28F60021E8E340C00914142 /* CNLiveMsgTools.framework */; };
20   - D28F60051E8E341800914142 /* CNLiveChatManager.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D28F60041E8E341800914142 /* CNLiveChatManager.framework */; };
21   - D2F69E871E8E343A00BA0CE6 /* CNLiveMsgTools.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D28F60021E8E340C00914142 /* CNLiveMsgTools.framework */; };
22   - D2F69E881E8E343A00BA0CE6 /* CNLiveMsgTools.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D28F60021E8E340C00914142 /* CNLiveMsgTools.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
23   - D2F69E891E8E343D00BA0CE6 /* CNLiveChatManager.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D28F60041E8E341800914142 /* CNLiveChatManager.framework */; };
24   - D2F69E8A1E8E343D00BA0CE6 /* CNLiveChatManager.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D28F60041E8E341800914142 /* CNLiveChatManager.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
  19 + D27122001E8FBE100015B525 /* CNLiveChatManager.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D27121FF1E8FBE100015B525 /* CNLiveChatManager.framework */; };
  20 + D27122021E8FBE1E0015B525 /* CNLiveMsgTools.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D27122011E8FBE1E0015B525 /* CNLiveMsgTools.framework */; };
  21 + D27122031E8FBE280015B525 /* CNLiveChatManager.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D27121FF1E8FBE100015B525 /* CNLiveChatManager.framework */; };
  22 + D27122041E8FBE280015B525 /* CNLiveChatManager.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D27121FF1E8FBE100015B525 /* CNLiveChatManager.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
  23 + D27122051E8FBE2A0015B525 /* CNLiveMsgTools.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D27122011E8FBE1E0015B525 /* CNLiveMsgTools.framework */; };
  24 + D27122061E8FBE2A0015B525 /* CNLiveMsgTools.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D27122011E8FBE1E0015B525 /* CNLiveMsgTools.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
25 25 /* End PBXBuildFile section */
26 26  
27 27 /* Begin PBXCopyFilesBuildPhase section */
... ... @@ -31,8 +31,8 @@
31 31 dstPath = "";
32 32 dstSubfolderSpec = 10;
33 33 files = (
34   - D2F69E881E8E343A00BA0CE6 /* CNLiveMsgTools.framework in Embed Frameworks */,
35   - D2F69E8A1E8E343D00BA0CE6 /* CNLiveChatManager.framework in Embed Frameworks */,
  34 + D27122041E8FBE280015B525 /* CNLiveChatManager.framework in Embed Frameworks */,
  35 + D27122061E8FBE2A0015B525 /* CNLiveMsgTools.framework in Embed Frameworks */,
36 36 );
37 37 name = "Embed Frameworks";
38 38 runOnlyForDeploymentPostprocessing = 0;
... ... @@ -57,8 +57,8 @@
57 57 D264D5B21E6FDE02002CDF41 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
58 58 D264D5B41E6FDE02002CDF41 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
59 59 D264D5BE1E6FDEED002CDF41 /* PrefixHeader.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PrefixHeader.pch; sourceTree = "<group>"; };
60   - D28F60021E8E340C00914142 /* CNLiveMsgTools.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = CNLiveMsgTools.framework; sourceTree = "<group>"; };
61   - D28F60041E8E341800914142 /* CNLiveChatManager.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = CNLiveChatManager.framework; sourceTree = "<group>"; };
  60 + D27121FF1E8FBE100015B525 /* CNLiveChatManager.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = CNLiveChatManager.framework; sourceTree = "<group>"; };
  61 + D27122011E8FBE1E0015B525 /* CNLiveMsgTools.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = CNLiveMsgTools.framework; sourceTree = "<group>"; };
62 62 /* End PBXFileReference section */
63 63  
64 64 /* Begin PBXFrameworksBuildPhase section */
... ... @@ -66,10 +66,10 @@
66 66 isa = PBXFrameworksBuildPhase;
67 67 buildActionMask = 2147483647;
68 68 files = (
69   - D28F60031E8E340C00914142 /* CNLiveMsgTools.framework in Frameworks */,
70   - D28F60051E8E341800914142 /* CNLiveChatManager.framework in Frameworks */,
71   - D2F69E871E8E343A00BA0CE6 /* CNLiveMsgTools.framework in Frameworks */,
72   - D2F69E891E8E343D00BA0CE6 /* CNLiveChatManager.framework in Frameworks */,
  69 + D27122021E8FBE1E0015B525 /* CNLiveMsgTools.framework in Frameworks */,
  70 + D27122051E8FBE2A0015B525 /* CNLiveMsgTools.framework in Frameworks */,
  71 + D27122001E8FBE100015B525 /* CNLiveChatManager.framework in Frameworks */,
  72 + D27122031E8FBE280015B525 /* CNLiveChatManager.framework in Frameworks */,
73 73 );
74 74 runOnlyForDeploymentPostprocessing = 0;
75 75 };
... ... @@ -101,8 +101,8 @@
101 101 D264D5971E6FDE02002CDF41 = {
102 102 isa = PBXGroup;
103 103 children = (
104   - D28F60041E8E341800914142 /* CNLiveChatManager.framework */,
105   - D28F60021E8E340C00914142 /* CNLiveMsgTools.framework */,
  104 + D27122011E8FBE1E0015B525 /* CNLiveMsgTools.framework */,
  105 + D27121FF1E8FBE100015B525 /* CNLiveChatManager.framework */,
106 106 D264D5A21E6FDE02002CDF41 /* CNLiveChatSDKDemo */,
107 107 D264D5A11E6FDE02002CDF41 /* Products */,
108 108 );
... ...
CNLiveChatSDKDemo/CNLiveChatSDKDemo.xcodeproj/xcuserdata/cnlive.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
... ... @@ -9,13 +9,77 @@
9 9 shouldBeEnabled = "Yes"
10 10 ignoreCount = "0"
11 11 continueAfterRunningActions = "No"
12   - filePath = "CNLiveChatSDKDemo/AppDelegate.m"
13   - timestampString = "512636267.912612"
  12 + filePath = "CNLiveChatSDKDemo/ChatRoomViewController.m"
  13 + timestampString = "512736833.069268"
14 14 startingColumnNumber = "9223372036854775807"
15 15 endingColumnNumber = "9223372036854775807"
16   - startingLineNumber = "47"
17   - endingLineNumber = "47"
18   - landmarkName = "-application:didFinishLaunchingWithOptions:"
  16 + startingLineNumber = "40"
  17 + endingLineNumber = "40"
  18 + landmarkName = "-viewDidLoad"
  19 + landmarkType = "7">
  20 + </BreakpointContent>
  21 + </BreakpointProxy>
  22 + <BreakpointProxy
  23 + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
  24 + <BreakpointContent
  25 + shouldBeEnabled = "Yes"
  26 + ignoreCount = "0"
  27 + continueAfterRunningActions = "No"
  28 + filePath = "CNLiveChatSDKDemo/ChatRoomViewController.m"
  29 + timestampString = "512736833.999143"
  30 + startingColumnNumber = "9223372036854775807"
  31 + endingColumnNumber = "9223372036854775807"
  32 + startingLineNumber = "44"
  33 + endingLineNumber = "44"
  34 + landmarkName = "-viewDidLoad"
  35 + landmarkType = "7">
  36 + </BreakpointContent>
  37 + </BreakpointProxy>
  38 + <BreakpointProxy
  39 + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
  40 + <BreakpointContent
  41 + shouldBeEnabled = "Yes"
  42 + ignoreCount = "0"
  43 + continueAfterRunningActions = "No"
  44 + filePath = "CNLiveChatSDKDemo/ChatRoomViewController.m"
  45 + timestampString = "512736879.844145"
  46 + startingColumnNumber = "9223372036854775807"
  47 + endingColumnNumber = "9223372036854775807"
  48 + startingLineNumber = "136"
  49 + endingLineNumber = "136"
  50 + landmarkName = "-textFieldShouldReturn:"
  51 + landmarkType = "7">
  52 + </BreakpointContent>
  53 + </BreakpointProxy>
  54 + <BreakpointProxy
  55 + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
  56 + <BreakpointContent
  57 + shouldBeEnabled = "Yes"
  58 + ignoreCount = "0"
  59 + continueAfterRunningActions = "No"
  60 + filePath = "CNLiveChatSDKDemo/ChatRoomViewController.m"
  61 + timestampString = "512736919.896069"
  62 + startingColumnNumber = "9223372036854775807"
  63 + endingColumnNumber = "9223372036854775807"
  64 + startingLineNumber = "160"
  65 + endingLineNumber = "160"
  66 + landmarkName = "-textFieldShouldReturn:"
  67 + landmarkType = "7">
  68 + </BreakpointContent>
  69 + </BreakpointProxy>
  70 + <BreakpointProxy
  71 + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
  72 + <BreakpointContent
  73 + shouldBeEnabled = "Yes"
  74 + ignoreCount = "0"
  75 + continueAfterRunningActions = "No"
  76 + filePath = "CNLiveChatSDKDemo/ChatRoomViewController.m"
  77 + timestampString = "512736931.462598"
  78 + startingColumnNumber = "9223372036854775807"
  79 + endingColumnNumber = "9223372036854775807"
  80 + startingLineNumber = "173"
  81 + endingLineNumber = "173"
  82 + landmarkName = "-onReceived:"
19 83 landmarkType = "7">
20 84 </BreakpointContent>
21 85 </BreakpointProxy>
... ...
CNLiveChatSDKDemo/CNLiveChatSDKDemo/ChatRoomViewController.m
... ... @@ -35,7 +35,7 @@ static NSString *cellId = @&quot;cellId&quot;;
35 35  
36 36 [CNLiveChatManager sharedCNLiveChatManager].delegate = self;
37 37  
38   - [[CNLiveChatManager sharedCNLiveChatManager] joinChatRoom:@"7788" messageCount:10 success:^(NSString *targetId) {
  38 + [[CNLiveChatManager sharedCNLiveChatManager] joinChatRoom:@"67_7788" messageCount:10 success:^(NSString *targetId) {
39 39  
40 40 NSLog(@"已成功加入聊天室:%@",targetId);
41 41  
... ... @@ -131,7 +131,7 @@ static NSString *cellId = @&quot;cellId&quot;;
131 131 #pragma mark - UITextFieldDelegate !!!!!!!!!!!!!!!!!!!!!!!!!!
132 132 - (BOOL)textFieldShouldReturn:(UITextField *)textField { // 发送消息
133 133  
134   - [[CNLiveChatManager sharedCNLiveChatManager] sendMessage:textField.text type:CNLive_ConversationType_CHATROOM targetId:@"60_7788" success:^(CNLiveChatMessage *message) {
  134 + [[CNLiveChatManager sharedCNLiveChatManager] sendMessage:textField.text type:CNLive_ConversationType_CHATROOM targetId:@"67_7788" success:^(CNLiveChatMessage *message) {
135 135  
136 136 NSLog(@"发送消息成功:%@",message.messageId);
137 137 // 自己发送的消息不会被onReceived:方法实时监听,需要自己做处理
... ...
CNLiveChatSDKDemo/CNLiveMsgTools.framework/CNLiveMsgTools
No preview for this file type