---
title: Known issues
canonical: https://developer.unico.io/developers/sdks-and-tools/flutter/resources/known-issues
locale: en
generated_by: markdown-export
---

- **Release build fails but debug works** — likely an obfuscation issue on the Android side. The native SDKs cannot be obfuscated. [Review ProGuard/DexGuard rules](/developers/sdks-and-tools/flutter/installation/specific-setup).

- **`pod install` fails after updating the plugin** — remove `ios/Podfile.lock` and run `pod install` again from the `ios/` directory.

- **Bitcode error in app distribution using Xcode 16** — after the official release of Xcode 16 (Sep 17, 2024), distribution to the App Store may be blocked due to bitcode usage in two internal dependencies (`DeviceProfiling` and `UnicoSdkLogger`) when using CocoaPods. Apply the workaround below in your `ios/Podfile` until a permanent fix ships:

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

If `post_install do |installer|` is not present, add it before the last `end`.

**Sources:** [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).

- **Camera opens and closes without any callback on Android** — when the camera permission has not been granted, the plugin requests it and closes the camera screen without calling any listener method, so the journey seems to do nothing. Request the camera permission in your app (for example, with the `permission_handler` package) and open the native SDK only after it is granted.

- **Errors via platform channel** — typically indicate incomplete configuration of the underlying platform. Review [Specific setup](/developers/sdks-and-tools/flutter/installation/specific-setup).

- **Attempt to use bridges instead of the official plugin** — not supported. Migrate to the official plugin.