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

IOS build error #2

Closed
iwasnothing opened this issue Jan 11, 2019 · 4 comments
Closed

IOS build error #2

iwasnothing opened this issue Jan 11, 2019 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@iwasnothing
Copy link

flutter/.pub-cache/hosted/pub.dartlang.org/image_downloader-0.9.1/ios/Classes/ImageDownloaderPlugin.m:2:9: fatal error: 'image_downloader/image_downloader-Swift.h' file not found
#import <image_downloader/image_downloader-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Could not build the application for the simulator.
Error launching application on iPhone XR.

@ko2ic
Copy link
Owner

ko2ic commented Jan 21, 2019

I have confirmed that it works correctly on iPhone XR.
I think that it works if your ios/Pofile is the same as below.
If not, please change, delete Podfile.lock and try again.

https://github.com/flutter/flutter/blob/master/packages/flutter_tools/templates/cocoapods/Podfile-swift

And Could you paste the result of flutter doctor -v?

@ko2ic
Copy link
Owner

ko2ic commented Mar 9, 2019

It is closed because there are no reports from other users.
Please make another issue if the same problem comes up.

@ko2ic ko2ic closed this as completed Mar 9, 2019
@ko2ic ko2ic added the question Further information is requested label Mar 9, 2019
@ImaginationRoom
Copy link

We have this problem as well.

Here is the error.

Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    === BUILD TARGET shared_preferences OF PROJECT Pods WITH CONFIGURATION Debug ===
    /Users/user1/development/flutter/.pub-cache/hosted/pub.dartlang.org/image_downloader-0.11.2/ios/Classes/ImageDownloaderPlugin.m:2:9: fatal error: 'image_downloader/image_downloader-Swift.h' file not found
    #import <image_downloader/image_downloader-Swift.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.

Could not build the application for the simulator.
Error launching application on iPhone XR.

We tried to build it on both the simulator and real device, getting the same error. This happened last week and we saw this issue, so we didn't bother to raise another issue.

Today we downloaded the latest built from Mar. 11, still having the same issue.

@ko2ic ko2ic added help wanted Extra attention is needed and removed question Further information is requested labels Mar 13, 2019
@ko2ic
Copy link
Owner

ko2ic commented Mar 13, 2019

#12

@ko2ic ko2ic added the duplicate This issue or pull request already exists label Mar 13, 2019
@ko2ic ko2ic removed the help wanted Extra attention is needed label Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants