-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build iOS app since updating to 3.2.x #133
Comments
Hi @biklas7! Please kindly share your flutter doctor output and Cocoapods version you are using |
Sure! Cocoapods version: 1.16.2 Flutter doctor:
|
@biklas7 I believe there might be an issue with your plugin integration. Could you please ensure that you have properly updated the plugin and run |
@x401om I just tried doing what you've suggested and still it does not build 😢 |
I suspected this issue happens because you guys updated to Swift 6 or something like that and are now also using Swift Package Manager, but I also tried updating flutter to main channel and enable the Swift Package Manager and it also does not work. The only way it works for us is to revert to version 2.x unfortunately. |
@biklas7 Updating our SDK to Swift 6 does not require you to update the Swift version of your project. In the file you attached in the original message, I noticed numerous errors, which I suspect may be related to incorrect dependency resolution. By the way, we support CocoaPods as the primary distribution channel for our cross-platform SDKs, at least until Flutter fully transitions to SPM. However, I’m not entirely sure if it currently works with SPM. Could you please try running our example app included with version 3.2.3? Are there any issues with it? |
flutter upgrade (update your flutter) |
@PBomermustekiin obviously that was the first thing I tried. It didn't work.
@x401om sorry didn't have time yet to try the example, will try as soon as possible and get back to you. |
@x401om It does build with the example app 🤔 so weird, do you have hints on how I can try solving this issue? |
@biklas7 Please take some screenshots of your Xcode showing the errors and email them to agoncharov_at_adapty.io. I will try to help. |
Same issue:
|
@berkansevimli which Xcode and Swift version are you using for this project? |
@x401om Flutter doctor:
|
Was able to finally find the cause of my issue thanks to @x401om It was actually a "clash" with the ar_kit_plugin package that has this in their readme https://pub.dev/packages/arkit_plugin#before-you-go-to-appstore. So replacing: Solved everything 👍 |
@biklas7 I even came across an open issue about that: olexale/arkit_flutter_plugin#225 @berkansevimli I believe your issue is related to the Xcode version you are using (15.0.1). I will prepare a fix for that, but please consider updating Xcode when possible, as Apple typically stops accepting builds made with older Xcode versions around April or May. |
@berkansevimli please update to 3.2.4 |
After updating my adapty dependency and making the necessary changes, when I try to build my app on iOS I get errors. See attached logs.
logs.txt
The text was updated successfully, but these errors were encountered: