---
title: 既知の問題
canonical: https://developer.unico.io/ja/dual-api/developers/sdks-and-tools/ios/resources/known-issues
locale: ja
generated_by: markdown-export
---

- **フローの終了時に影が表示される** — フロー制御は SDK 呼び出し元に委譲されます。キャプチャ成功後に影が表示されたり画面が閉じない場合は、`onSuccessSelfie` 内にリリース処理を実装してください：

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

- **Xcode 16 を使用したアプリ配布時の Bitcode エラー** — Xcode 16 の正式リリース（2024年9月17日）以降、CocoaPods 使用時に2つの内部依存関係（`DeviceProfiling` と `UnicoSdkLogger`）の bitcode 使用により App Store への配布がブロックされる場合があります。永続的な修正がリリースされるまで、`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
```

`Podfile` に `post_install do |installer|` が存在しない場合は、最後の `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)。