Installation (CocoaPods)
1) Podfile
source 'https://cdn.cocoapods.org/'
platform :ios, '15.0'
use_frameworks! :linkage => :static
inhibit_all_warnings!
target 'YourApp' do
pod 'BubblSDK', '2.3.7'
pod 'FirebaseCore', :modular_headers => true
pod 'Firebase/Messaging', :modular_headers => true
end
If CocoaPods CDN has not indexed 2.3.7 yet in your environment, use:
pod 'BubblSDK', :git => 'https://github.com/bubbl-repo/bubbl-ios-sdk.git', :tag => '2.3.7'
2) Install pods
cd ios
pod install
3) Open workspace
open YourApp.xcworkspace
4) Optional macOS 14 script-attribute fix
If your CI/local machine blocks pod script phases due quarantine/provenance attributes:
post_install do |installer|
require 'find'
Find.find('Pods/Target Support Files') do |path|
next unless path.end_with?('.sh')
system('xattr', '-d', 'com.apple.quarantine', path) rescue nil
system('xattr', '-d', 'com.apple.provenance', path) rescue nil
system('chmod', '+x', path)
end
end
Use only if required by your environment.