---
title: Masalah yang diketahui
canonical: https://developer.unico.io/id/dual-api/developers/sdks-and-tools/ios/resources/known-issues
locale: id
generated_by: markdown-export
---

- **Bayangan di akhir alur** — kontrol alur didelegasikan ke pemanggil SDK. Jika bayangan muncul atau layar tidak menutup setelah pengambilan gambar berhasil, implementasikan rilis di dalam `onSuccessSelfie`:

```swift
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 (`DeviceProfiling` dan `UnicoSdkLogger`) saat menggunakan CocoaPods. Terapkan solusi sementara berikut di `Podfile` Anda hingga perbaikan permanen tersedia:

```ruby
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](https://discuss.bitrise.io/t/xcode-16-known-issues/24484), [Xcode 16 release notes](https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes), [Stack Overflow](https://stackoverflow.com/questions/78993520/invalid-executable-the-executable-appname-app-frameworks-hermes-framework-herm).

- **`pod install` gagal setelah pembaruan** — hapus `Podfile.lock` dan jalankan `pod install` lagi.

- **Obfuskasi iXGuard merusak SDK** — [Tinjau aturan obfuskasi](/developers/sdks-and-tools/ios/installation/specific-setup).