首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >tx_UGCKit与TUIKit pod 本地库以后,有1000多冲突,怎么解决呢?

tx_UGCKit与TUIKit pod 本地库以后,有1000多冲突,怎么解决呢?

提问于 2024-06-17 11:31:42
回答 0关注 0查看 7

pod文件

source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'

platform :ios, '13.0'

install! 'cocoapods', :disable_input_output_paths => true

post_install do |installer|

installer.pods_project.targets.each do |target|

target.build_configurations.each do |config|

#Fix Xcode14 Bundle target error

config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""

config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"

config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"

config.build_settings['ENABLE_BITCODE'] = "NO"

config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "13.0"

#Fix Xcode15 other links flag -ld64

xcode_version = `xcrun xcodebuild -version | grep Xcode | cut -d' ' -f2`.to_f

if xcode_version >= 15

xcconfig_path = config.base_configuration_reference.real_path

xcconfig = File.read(xcconfig_path)

if xcconfig.include?("OTHER_LDFLAGS") == false

xcconfig = xcconfig + "\n" + 'OTHER_LDFLAGS = $(inherited) "-ld64"'

else

if xcconfig.include?("OTHER_LDFLAGS = $(inherited)") == false

xcconfig = xcconfig.sub("OTHER_LDFLAGS", "OTHER_LDFLAGS = $(inherited)")

end

if xcconfig.include?("-ld64") == false

xcconfig = xcconfig.sub("OTHER_LDFLAGS = $(inherited)", 'OTHER_LDFLAGS = $(inherited) "-ld64"')

end

end

File.open(xcconfig_path, "w") { |file| file << xcconfig }

end

end

end

end

def tx_UGCKit(subName)

pod 'UGCKit', :path => 'UGCKit/UGCKit.podspec', :subspecs => ["#{subName}"]

end

target 'RightLike' do

# Comment the next line if you don't want to use dynamic frameworks

use_frameworks!

# Pods for RightLike

target 'RightLikeTests' do

inherit! :search_paths

# Pods for testing

end

target 'RightLikeUITests' do

# Pods for testing

end

pod 'Masonry'

pod 'MBProgressHUD'

pod 'AFNetworking'

pod 'IQKeyboardManager'

pod 'FMDB'

pod 'DZNEmptyDataSet'

pod 'TZImagePickerController'

pod 'FSCalendar'

pod 'KYGooeyMenu'

pod 'SDCycleScrollView'

pod 'JXCategoryView'

pod 'JXPagingView/Pager'

pod 'BRPickerView'

pod 'YYModel'

pod 'YYText'

pod 'YYModel'

pod 'MJRefresh'

pod 'CRBoxInputView'

pod 'SDWebImage'

# 缓存

pod 'KTVHTTPCache', '~> 2.0.0'

# 相册选择

pod 'TZImagePickerController'

pod 'WechatOpenSDK-XCFramework'

# 集成基础库(必选)

pod 'TUICore', :path => "./TUIKit/TUICore"

pod 'TIMCommon', :path => "./TUIKit/TIMCommon"

# 集成TUIKit组件(可选)

# 集成聊天功能

pod 'TUIChat', :path => "./TUIKit/TUIChat"

# 集成会话功能

pod 'TUIConversation', :path => "./TUIKit/TUIConversation"

# 集成关系链功能

pod 'TUIContact', :path => "./TUIKit/TUIContact"

# 集成群组功能

pod 'TUIGroup', :path => "./TUIKit/TUIGroup"

# 集成搜索功能(需要购买旗舰版套餐)

pod 'TUISearch', :path => "./TUIKit/TUISearch"

# 集成音视频通话功能

pod 'TUICallKit'

# 集成快速会议

pod 'TUIRoomKit'

tx_UGCKit 'UGC'

pod 'BeautySettingKit', :path => 'BeautySettingKit/BeautySettingKit.podspec'

pod 'xmagickit', :path => 'xmagickit/xmagickit.podspec'

# 网易一键登录

#pod 'NTESQuickPass'

pod 'NTESQuickPass','3.4.5'

pod 'CRBoxInputView'

pod 'OCBarrage'

pod 'SVGAPlayer'

pod 'MGSwipeTableCell'

end

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档