QCloud Core

Declaration of ‘sa_family_t’ must be imported from module ‘Darwin.POSIX.sys.types._sa_family_t’ before it is required

QCloud需要升级到6.4.4,有必要时需要使用pod repo update
在这里插入图片描述原来使用weakself的地方换成QCloudWeakSelf
在这里插入图片描述

maskView的问题

在这里插入图片描述

bitcode相关打包问题

在这里插入图片描述
Assert validation failed (90482) invalid Executable,the executable containbitcode
解决方法,在pod install中添加
bitcode_strip_path = xcrun --find bitcode_strip.chop!
def strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)
framework_path = File.join(Dir.pwd, framework_relative_path)
command = “#{bitcode_strip_path} #{framework_path} -r -o #{framework_path}”
puts “Stripping bitcode: #{command}”
system(command)
end

 framework_paths = [
   "Pods/TXIMSDK_iOS/ImSDK.framework/ImSDK",
 ]

 framework_paths.each do |framework_relative_path|
   strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)
 end
Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐