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 app does not run with latest Xcode and Mac version #21

Open
rangarajanps opened this issue Dec 4, 2020 · 2 comments
Open

iOS app does not run with latest Xcode and Mac version #21

rangarajanps opened this issue Dec 4, 2020 · 2 comments

Comments

@rangarajanps
Copy link

Build failed with multiple link error like below,
ld: warning: Could not find or use auto-linked library 'swiftCoreAudio'

I resolved the issue by following the suggestion in https://stackoverflow.com/questions/52536380/why-linker-link-static-libraries-with-errors-ios

I opened Runner.xcodeproj in Xcode and it asked to update the Deployment models, which I clicked "Continue" and then created an empty File.Swift in Runner directory in Xcode which created a Bridging Header.

Please update the base project so that it is easy for learners to start using this project.

@bitpoetics
Copy link

@rangarajanps It works! Thanks 😄

@saan-saeteurn
Copy link

saan-saeteurn commented Feb 3, 2021

@rangarajanps It works! Thanks 😄

Agreed, this also helped me as well. Open the iOS project and create a new Swift file. When prompted for app target, make sure to select your 'xylophone-flutter' project and then select Bridging Header. Lastly, build it in Xcode and it should build successfully. Now you should be able to run your Dart project in Android Studio.

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

3 participants