Open marius-h opened 5 days ago
Hi @marius-h,
Can you contact support@braze.com with more information around your issue so we can help debug? In the thread, be sure to include:
11.1.0
, the line associated is a newline so I suspect the error and the source code don't match 1:1Also, I would be sure to call flutter clean
and remove any ios/Pods
folders between runs to ensure that you are building from a clean environment. If you have further issues and the Support team isn't able to resolve your solution, you can look into these Flutter commands.
Thanks!
@hokstuff we also saw this issue after flutter pub cache clean flutter clean
So in our case i fixed it which we have in this PR. Please have a look. https://github.com/braze-inc/braze-flutter-sdk/pull/93
Which Platforms?
iOS
Which Flutter Version?
3.24.3
Which Braze Flutter SDK version?
9.0.0-11.1.0
Repro Rate
100% of the time
Steps To Reproduce
Create a new project with braze_plugin dependency of version 9.0.0 or above and build it with Xcode 16.0
Expected Behavior
App builds successfully
Actual Incorrect Behavior
Build fails with
Swift Compiler Error (Xcode): Value of optional type '[String : Any]?' must be unwrapped to a value of type '[String : Any]' /Users/marius-h/.pub-cache/hosted/pub.dev/braze_plugin-11.1.0/ios/Classes/BrazePlugin.swift:843:42
Verbose Logs
Additional Information
Xcode version: 16.0