---
title: المشكلات المعروفة
canonical: https://developer.unico.io/ar/dual-api/developers/sdks-and-tools/ios/resources/known-issues
locale: ar
generated_by: markdown-export
---

- **ظل في نهاية التدفق** — يُفوَّض التحكم في التدفق إلى المستدعي لـ SDK. إذا ظهر ظل أو لم تُغلق الشاشة بعد الالتقاط الناجح، طبّق إصداراً داخل `onSuccessSelfie`:

```swift
func onSuccessSelfie(_ result: SelfieResult!) {
    navigationController?.popViewController(animated: true)
    // your code
}
```

- **خطأ Bitcode عند توزيع التطبيق باستخدام Xcode 16** — بعد الإصدار الرسمي لـ Xcode 16 (17 سبتمبر 2024)، قد يُحجب التوزيع على App Store بسبب استخدام bitcode في تبعيتين داخليتين (`DeviceProfiling` و`UnicoSdkLogger`) عند استخدام CocoaPods. طبّق الحل البديل التالي في ملف `Podfile` حتى يتوفر إصلاح دائم:

```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
```

إذا لم يكن `post_install do |installer|` موجوداً في ملف `Podfile`، أضفه قبل آخر `end`. وإذا كنت تُزيل bitcode يدوياً بالفعل، فما عليك سوى إضافة المسارات في `framework_paths`.

**المصادر:** [Bitrise](https://discuss.bitrise.io/t/xcode-16-known-issues/24484)، [ملاحظات إصدار Xcode 16](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` بعد التحديثات** — احذف `Podfile.lock` وأعد تشغيل `pod install`.

- **تشويش iXGuard يُعطّل SDK** — [مراجعة قواعد التشويش](/developers/sdks-and-tools/ios/installation/specific-setup).