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

v2.3.2 iOS does not work #1081

Open
spring321 opened this issue Feb 2, 2024 · 8 comments
Open

v2.3.2 iOS does not work #1081

spring321 opened this issue Feb 2, 2024 · 8 comments

Comments

@spring321
Copy link

企业微信截图_259fdcdb-89e0-43ed-ac34-68d01db88843

The iOS platform implementation is missing in v2.3.2, as shown in the figure

@alextekartik
Copy link
Contributor

v2.3.2 uses the new darwin shared implementation as described here. I don't know what you have tried and what kind of error you get. Can you try:

  • making sure you are using the latest flutter
  • flutter clean
  • deleting Podfile.lock and Pods folder

And if that does not work:

  • re-creating the ios project

Let me know if it works!

@jt274
Copy link

jt274 commented Feb 2, 2024

Related issue - When installing pods I get the error No podspec found for 'sqflite' in '.symlinks/plugins/ios'

I have:

  • Deleted Podfile.lock, Pods folder, .symlinks folder
  • flutter clean
  • flutter pub get
  • pod install

Same error. Flutter and cocoapods are latest version.

@alextekartik
Copy link
Contributor

It seems that moving to the darwin (shared macos/ios) causes the issue, sorry. Does the issue happen on the example project or on a simple demo project?:

In both I can simply

  • create the project flutter create --platforms ios .
  • start the ios simulator
  • run flutter run

Sorry I cannot reproduce, ios project have always been a pain for me (I often have to re-create them)

@jt274
Copy link

jt274 commented Feb 2, 2024

Sorry I cannot reproduce, ios project have always been a pain for me (I often have to re-create them)

Agreed, always a pain. This is an existing project, I am not sure how to fix it.

@davidmartos96
Copy link
Contributor

What version of Flutter are you using? @jt274

@jt274
Copy link

jt274 commented Feb 2, 2024

What version of Flutter are you using? @jt274

3.16.9

@jakcal
Copy link

jakcal commented Feb 6, 2024

I'm having the same issues here, I've just updated to Flutter V3.16.9 • channel stable.

@alextekartik
Copy link
Contributor

alextekartik commented Feb 6, 2024

@jt274 @jakcal do you have more information than just "does not work". What kind of error do you get?

(edit ah ok sorry do you get: No podspec found for 'sqflite' in '.symlinks/plugins/ios'?)

Can you try the steps below in a console show me the output?

mkdir testiosapp
cd testiosapp
flutter create -t app --platforms ios .
flutter pub add sqflite
flutter build ios

If it fails, can you try dart pub cache repair and try the same steps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants