Open LeonardoTacca opened 1 week ago
No seu Podfile vc adiciona isso aqui dentro do post_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/unicocheck-ios/DeviceProfiling.xcframework/ios-arm64/DeviceProfiling.framework/DeviceProfiling",
"Pods/unicocheck-ios/DeviceProfiling.xcframework/ios-arm64_x86_64-simulator/DeviceProfiling.framework/DeviceProfiling",
"Pods/unicocheck-ios/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/FaceTecSDK",
"Pods/unicocheck-ios/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/FaceTecSDK",
"Pods/unicocheck-ios/UnicoSdkLogger.xcframework/ios-arm64/UnicoSdkLogger.framework/UnicoSdkLogger",
"Pods/unicocheck-ios/UnicoSdkLogger.xcframework/ios-arm64_x86_64-simulator/UnicoSdkLogger.framework/UnicoSdkLogger"
]
framework_paths.each do |framework_relative_path|
strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)
end
vai ficar mais ou menos assim:
Depois remove o Podfile.lock e roda um pod install
Eu tenho uma pipeline no github actions e ao executala esta retornando esse erro do titulo. ja tentei colocar a flag de bitcode como sim e como não mas não tive nenhuma mudança, alguem sabe como resolver? mesmo com a flag de enable bitcode