Skip to content
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

Unable to install on iOS 1.0.1 #1165

Closed
modgsan opened this issue Feb 17, 2023 · 2 comments
Closed

Unable to install on iOS 1.0.1 #1165

modgsan opened this issue Feb 17, 2023 · 2 comments

Comments

@modgsan
Copy link

modgsan commented Feb 17, 2023

What happened?

I tried to run pod install on my Flutter project with realm: ^1.0.1, but it failed with an error message:

{{[!] Unable to install vendored xcframework }}realm_dart{{ for Pod }}realm, because it contains both static and dynamic frameworks

Xcode - develop for iOS and macOS (Xcode 14.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14C18
• CocoaPods version 1.11.3

just like #1023

Repro steps

  1. flutter clean
  2. flutter pub get
  3. flutter pub run realm generate
  4. flutter run or pod install

Version

1.0.1

What Atlas Services are you using?

Local Database only

What type of application is this?

Flutter Application

Client OS and version

Xcode - develop for iOS and macOS (Xcode 14.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14C18 • CocoaPods version 1.11.3

Code snippets

No response

Stacktrace of the exception/crash you're getting

No response

Relevant log output

No response

@maBarabas
Copy link

I managed to fix this by gem uninstall -aIx and gem install cocoapods. Probably just updating all the gems would have fixed it too. It is a bug in upstream cocoapods: CocoaPods/CocoaPods#10332 (comment)

@modgsan
Copy link
Author

modgsan commented Feb 17, 2023

I managed to fix this by gem uninstall -aIx and gem install cocoapods. Probably just updating all the gems would have fixed it too. It is a bug in upstream cocoapods: CocoaPods/CocoaPods#10332 (comment)

Thanks a lot, it works

@sync-by-unito sync-by-unito bot closed this as completed Feb 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants