Flutter Troubleshooting

Troubleshooting common issues with our Flutter Plugin.

📘

Troubleshooting steps

Check the below first for common issues with Flutter setup.

For Android and/or iOS Platform issues, see:

Try our example project on GitHub.

If stuck, contact support directly by sending an email to [email protected].

For faster assistance, please provide the following:

  • Your iZooto App ID (available under Settings > General > Account ID for the iOS property on the panel)
  • Details, logs, and screenshots of the issue
  • Steps to reproduce

Problems with iZooto Library at Build Time

If you are experiencing any type of issue related to the iZooto library when building iOS, for example:

ld: warning: directory not found for option '-L/example/build/ios/Debug-iphonesimulator/izooto'
    ld: library not found for -lizooto
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone 6.

Try the following commands:

pod deintegrate
pod install

Distribution Error: Found an unexpected Mach-O header code

Both of the below solutions have been reported to resolve the issue:

Solution 1

  1. Go Runner and then to Build Settings and set Always Embed Swift Standard Libraries to YES.
  2. Then go to iZootoNotificationServiceExtension and then to Build Settings and set Always Embed Swift Standard Libraries to NO.

Solution 2

  1. Set config.build_settings['ENABLE_BITCODE'] = 'YES' in your PodFile.
  2. Set all ENABLE_BITCODE = 'YES' in the Runner Project.
  3. Set the importance of ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = 'NO' in the Runner app.


iOS Release Build "Missing Push Capability"

First, check the Flutter SDK Setup to ensure that you added the Push Capability in XCode correctly.

If you are still having this issue, check XCode for CODE_SIGNING_ALLOWED which might be set incorrectly not allowing signing of your app.


Did this page help you?