发布时间:2025-06-24 20:56:25  作者:北方职教升学中心  阅读量:626



在这里插入图片描述

maskView问题。

QCloud需要升级到6.4.4.必要时需要使用pod repo update。.chop!。
bitcode_strip_path = xcrun --find bitcode_strip。
def strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)。

Declaration of ‘sa_family_t’ must be imported from module ‘Darwin.POSIX.sys.types._sa_family_t’ before it is required。
command = “#{bitcode_strip_path} #{framework_path} -r -o #{framework_path}”。
system(command)。

QCloud Core。
在这里插入图片描述最初使用weakself的地方被QCloudweakself取代。

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。
pod中的解决方案 添加到install中。
end。
puts “Stripping bitcode: #{command}”。
framework_path = File.join(Dir.pwd, framework_relative_path)。

在这里插入图片描述

bitcode相关包装问题。

在这里插入图片描述
Assert validation failed (90482) invalid Executable,the executable containbitcode。