Masalah yang diketahui
- Bayangan di akhir alur setelah pembaruan ke 2.4.0 — kontrol alur didelegasikan ke pemanggil SDK. Jika bayangan muncul atau layar tidak menutup setelah pengambilan gambar berhasil, implementasikan rilis di dalam
onSuccessSelfie:
func onSuccessSelfie(_ result: SelfieResult!) {
navigationController?.popViewController(animated: true)
// your code
}
- Error Bitcode saat distribusi aplikasi menggunakan Xcode 16 — setelah rilis resmi Xcode 16 (17 Sep 2024), distribusi ke App Store mungkin diblokir karena penggunaan bitcode dalam dua dependensi internal (
DeviceProfilingdanUnicoSdkLogger) saat menggunakan CocoaPods. Terapkan solusi sementara berikut diPodfileAnda hingga perbaikan permanen tersedia:
post_install do |installer|
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/UnicoSdkLogger.xcframework/ios-arm64/UnicoSdkLogger.framework/UnicoSdkLogger"
]
framework_paths.each do |framework_relative_path|
strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)
end
end
Jika post_install do |installer| tidak ada di Podfile, tambahkan sebelum end terakhir. Jika Anda sudah menghapus bitcode secara manual, cukup tambahkan path di framework_paths.
Sumber: Bitrise, Xcode 16 release notes, Stack Overflow.
-
pod installgagal setelah pembaruan — hapusPodfile.lockdan jalankanpod installlagi. -
Obfuskasi iXGuard merusak SDK — gunakan iXGuard 4.12.6 atau lebih tinggi. Kode SDK itu sendiri tidak boleh diobfuskasi. Tinjau aturan obfuskasi.