-
Notifications
You must be signed in to change notification settings - Fork 15
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
Build failed in iOS #1
Comments
Hi, i update the package, but the error can to be fixed with pod update from terminal on the project ios folder, you can try? |
Hi @giandifra , I already update the package and the pod.
Specs satisfying the my pod setting is for platform :ios, '9.0' |
i set minimum deployment target to 10.0 , how you can see here ios-distribution only the 5% of devices have the iOS version less than 11. The iOS 9 together iOS 10 is in this 5% of devices. |
I run into this same issue. I did the pop update in the ios folder and still have the following error Are there any other options for building for iOS?
|
I fixed this by replacing my ios folder with the ios folder from the example |
I am trying to build one iOS app with this plugin but failed with following error message:
Launching lib/main.dart on iPhone XR in debug mode...
Xcode build done. 24.5s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET simple_share OF PROJECT Pods WITH CONFIGURATION Debug ===
/Users/user/.pub-cache/hosted/pub.dartlang.org/simple_share-0.0.1+2/ios/Classes/SimpleSharePlugin.m:2:9: fatal error: 'simple_share/simple_share-Swift.h' file not found
#import <simple_share/simple_share-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Could not build the application for the simulator.
Error launching application on iPhone XR.
Exited (sigterm)
The text was updated successfully, but these errors were encountered: