Skip to content

Commit 06b225e

Browse files
Merge pull request #21 from sendbird/release/1.0.0
Release 1.0.0
2 parents 1b8402a + 423395b commit 06b225e

File tree

4 files changed

+66
-2
lines changed

4 files changed

+66
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ platform :ios, '15.0'
5353
target 'YourApp' do
5454
use_frameworks!
5555

56-
pod 'SendbirdAIAgentMessenger', '~> 0.10.10'
56+
pod 'SendbirdAIAgentMessenger', '~> 1.0.0'
5757
end
5858

5959
# Required for XCFramework download scripts

Sources/SendbirdAIAgentMessenger/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ platform :ios, '15.0'
2525
target 'YourApp' do
2626
use_frameworks!
2727

28-
pod 'SendbirdAIAgentMessenger', '~> 0.10.10'
28+
pod 'SendbirdAIAgentMessenger', '~> 1.0.0'
2929
end
3030
```
3131

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'SendbirdAIAgentCore'
3+
s.version = '1.0.0'
4+
s.summary = 'Sendbird AI Agent Core Library'
5+
s.description = 'Core library for Sendbird AI Agent with advanced messaging features'
6+
s.homepage = 'https://github.com/sendbird/sendbird-ios-distribution'
7+
s.license = { :type => 'Commercial', :file => 'Sources/SendbirdAIAgentCore/LICENSE' }
8+
s.author = { 'Tez Park' => '[email protected]' }
9+
10+
# GitHub source with XCFramework download
11+
s.source = {
12+
:git => 'https://github.com/sendbird/sendbird-ios-distribution.git',
13+
:tag => "SendbirdAIAgentCore-v#{s.version}"
14+
}
15+
16+
s.ios.deployment_target = '14.0'
17+
s.swift_version = '5.7'
18+
19+
# XCFramework from local path (will be available after git clone)
20+
s.ios.vendored_frameworks = 'Sources/SendbirdAIAgentCore/SendbirdAIAgentCore.xcframework'
21+
22+
# Public CocoaPods trunk dependency
23+
s.dependency 'SendbirdUIMessageTemplate', '~> 3.32.2'
24+
s.dependency 'SendbirdChatSDK', '~> 4.30.0'
25+
26+
# Download XCFramework from GitHub releases
27+
s.prepare_command = <<-CMD
28+
if [ ! -d "Sources/SendbirdAIAgentCore/SendbirdAIAgentCore.xcframework" ]; then
29+
echo "Downloading SendbirdAIAgentCore XCFramework from GitHub releases..."
30+
curl -L -o SendbirdAIAgentCore.xcframework.zip "https://github.com/sendbird/sendbird-ai-agent-core-ios/releases/download/#{s.version}/SendbirdAIAgentCore.xcframework.zip"
31+
unzip -o SendbirdAIAgentCore.xcframework.zip -d Sources/SendbirdAIAgentCore/
32+
rm SendbirdAIAgentCore.xcframework.zip
33+
fi
34+
CMD
35+
end
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'SendbirdAIAgentMessenger'
3+
s.version = '1.0.0'
4+
s.summary = 'Sendbird AI Agent Messenger - Main User Interface'
5+
s.description = 'The primary interface for Sendbird AI Agent with Markdown rendering, syntax highlighting, and advanced messaging capabilities. This is what users should integrate.'
6+
s.homepage = 'https://github.com/sendbird/sendbird-ios-distribution'
7+
s.license = { :type => 'Commercial', :file => 'Sources/SendbirdAIAgentMessenger/LICENSE' }
8+
s.author = { 'Tez Park' => '[email protected]' }
9+
10+
s.source = {
11+
:git => 'https://github.com/sendbird/sendbird-ios-distribution.git',
12+
:tag => "SendbirdAIAgentMessenger-v#{s.version}"
13+
}
14+
15+
s.ios.deployment_target = '14.0'
16+
s.swift_version = '5.7'
17+
18+
# Swift source files
19+
s.source_files = 'Sources/SendbirdAIAgentMessenger/Sources/**/*.swift'
20+
21+
# Internal dependencies (from same private repo)
22+
s.dependency 'SendbirdAIAgentCore', '1.0.0'
23+
s.dependency 'SendbirdMarkdownUI', '1.0.2'
24+
s.dependency 'SendbirdSplash', '1.0.0'
25+
s.dependency 'SendbirdNetworkImage', '1.0.0'
26+
27+
# Frameworks
28+
s.frameworks = 'Foundation', 'SwiftUI', 'Combine'
29+
end

0 commit comments

Comments
 (0)