-
Notifications
You must be signed in to change notification settings - Fork 47
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
IOS archiving failed #95
Comments
@amrLLSE Could you share your full pubspec.yaml file? |
@davidmartos96 I have run
And this is the part I have added from the plugin docs:
My Dart & Flutter versions: In pubspec.yaml:
|
@amrLLSE Could you provide the pubspec.yaml file instead of the |
@amrLLSE Also, is there any reason why you are running sqflite version 2.0.3 instead of the latest? You can do |
@davidmartos96 Unfortunately sharing any full file code from my project is against my company NDA, I hope you are understanding that 🙏 but sure I will assist you with anything I can do to resolve this issue. Can you explain more about that: (It might show other causes for the problem.) Causes like what? I was just using latest |
@amrLLSE It was in case some other dependency is adding sqlcipher as well, causing conflicts. |
@davidmartos96 Okay let me check that and get back to you. |
@amrLLSE You can also try to reproduce the issue in the example app in the repository. |
@davidmartos96 No any other dependency is adding sqlcipher. Okay I will try to reproduce using the example project and get back to you. Thanks so much for your understanding and support 🙏 |
@davidmartos96 It is reproducible on the example project, just open ios module in XCode and archive, the same error appears instantly. |
Having the exact same error. Started happening after updating XCode to the latest version a couple days ago |
@amrLLSE @albrewot If anyone has more context on why this happens PRs are welcome. |
@davidmartos96 On another project i was using an older version of this package (^2.2.0), downgraded from latest (3.1.0+1) to (2.2.0) on the project with the error and was able to archive on XCode, although now i need to lookout for possible bugs because of the downgrade. |
I'm facing the same issue. I need to downgrade to version 2.2.1 to archive it. |
Hi! |
Please add the following code to your Podfile to resolve the build conflict issue by specifying a unique PRODUCT_NAME for the FMDB-SQLCipher target:
This modification ensures that the FMDB-SQLCipher target has a distinct output name, preventing the 'Multiple commands produce' error during build. |
Hello
I'm facing this error while archiving the app, it builds normally when building it to a device, but not archiving in XCode.
I have read the docs and added this to my pubspec.yaml, fully cleaned the project and caches in both flutter and ios module, updated CocoaPods to latest, unfortunately nothing works.
The text was updated successfully, but these errors were encountered: