-
Notifications
You must be signed in to change notification settings - Fork 856
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
AudioplayersPlugin.h file not found #272
Comments
Having the same issue, same package version. |
@GaboBrandX can you share your Podfile inside ios folder |
This is not a problem with audiplayers, this is something that I see happening a lot when you are using a swift plugin and your flutter projects uses objective-c, or the plugin is objective-c and your project is in swift. I am not an iOS expert, but here is some things that seems to work for:
|
Hi, the solution for me was to open the xcworkspace file with Xcode, instead of the xcodeproj. After that I've archived with no problems. Maybe someone could enlighten us telling why did that work? |
@GaboBrandX that is why I requested to provide the file, I want to check it if empty or missed some information, to advise you how to do. |
@rabihmb I see, sorry.. I've made it work an hour after my previous post. Anyway, I've made a pod reinstallation before and didn't work. What I've made was:
Also I've checked my iOS version and that audioplayers was present on the Podfile. (It is clear it isn't an issue with audioplayers plugin, but I'm very new to iOS and would like to know why these things happen) |
Hi..
Coukd u plz send ur podfile to check it? It want to compare it with mine
…On Thu, Sep 12, 2019, 12:24 AM Gabriel Moreyra ***@***.***> wrote:
@rabihmb <https://github.com/rabihmb> I see, sorry.. I've made it work an
hour after my previous post. Anyway, I've made a pod reinstallation before
and didn't work. What I've made was:
pod repo remove master
pod setup
pod install
Also I've checked my iOS version and that audioplayers was present on the
Podfile.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#272>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADKYLL4BBEUH7GYJOKMLTC3QJFOX7ANCNFSM4IUNEMAQ>
.
|
Any of the advices here has solved your issue? |
Have the same issue but the issue only occurs if I try and deploy to a physical device (iOS device). If I run in simulator there isnt any issue and the plugin functions correctly. Using plugin version 0.13.2. Flutter version 1.9.1+HF 4 |
I have the same issue here. Tried everything mentioned here. My project is not swift but Objective C. Is there any workaround for this ? |
Hi guys any solution for Flutter? @erickzanardo , Have you found a solution? |
Can now build. I am on iOS 13.1.2 and Flutter 1.9.1.HF 5. The issue was AudioPlayers 0.13.2 Downgrading to 13.1 I was able to build and deploy to simulator and live device. Note - I upgraded from 0.12.1 Which doesnt have ANY ISSUE whatsoever. Something must have changed with respect to 13.2. Furthermore, I found that Flutter_Twitter_Login and Audio_Players Clashed with AudioPlayers 13.2 version |
anyone have idea how to solve the lost of AudioPlaysPlugin.file or other better audio pub |
I faced the same problem. In my case, it seemed pub's cache was corrupted. Running |
Nothing of the above worked for me |
Not working at all for me - a pity as this seemed like a good plugin but I dont think there is any support for Catalina, Flutter 1.9.1 hotfix 6 and Obj C project so dont waste your time trying to fix if you have this enviroment - I've wasted months trying to get this to work. Is there anything better out there that is regularly supported as it seems the author of this plugin has sadly abandoned this project or not interested in fixing this particular issue. |
Regenerating the Podfile for the ios project solved the issue for me |
We don’t think this problem just happens on that flutter version, or even on Catalina, we have reports from it since forever. All the things that I tried to do to fix this, which I commented on this issue, pointed to that this is not a problem with audioplayers itself, but with the project setup using the package, but neither me or @luanpotter have strong iOS development background so we haven’t gave up on this problem, it just don’t look there is much we can do. Of course, if an awesome member of the community with advanced iOS knowledge could help us here, we would be very grateful. |
Thank you very much for helping me to Solve the problem,I've tried all the ways I can find. |
For me work when in "Build Settings" I change the "iOS Deployment Target" to 11.0. |
I did not abandon this project at all, we are constantly trying to merge all the PRs from the community at the same time keeping the code clean and bug free. I have lots of repos and not a lot of time, so @erickzanardo is kindly helping me to organize this repo. I however use linux and also it's very hard to reproduce this problem as it 99% of the time works fine. This seems to be more a bug with flutter itself, and anytime I had similar issues a a clean install from flutter always solved my problem. I would really appreciated if someone with a macos would find a cause and provide us with a PR. We will definitely take a look! Or maybe someone from the flutter team can help us out. My only hunch would be to convert all the archaic ObjC code to swift, which might or might not fix this issue. I will try to sync with Erick to get that done at some point. |
I encounterd a similar problem after increasing iOS platform from 8.0 to 11.0 in my Podfile. I was able to fix the problem by opening the project in XCode and increasing the target version to 11.0 as well. |
good news, I resolve this problem by deleting the ios file and execute 'flutter create -i objc .',if still failed,youcan use the pub: audioplayer: ^0.5.2 |
@JiweiMaster did you do this on your app or on the audioplayers code? is there something we can fix on the audioplayers side? could you please help our with a PR? |
This solved my issue: flutter/flutter#41033 (comment) For some reason, doing Open in XCode from VSCode opened |
I finally was able to obliterate all the obj-c code and migrate 100% to swift, so this interop stuff is no longer an issue -- check the 0.17.0 version. |
Hello, I'm writing here after checking the following old issues & sorry for the duplicates #237 #80 #101 #92
Still can't generate an archive for iOs. When I launch Archive, it stops with the following error: ../ios/Runner/GeneratedPluginRegistrant.m:6:9: 'audioplayers/AudioplayersPlugin.h' file not found
Note that I'm using the
audioplayers: ^0.13.1
in pubspec.yaml. So is recommended to clone the master branch in github and then force the package to use itaudioplayers: path: ../
or it doesn't matter?Any Idea please would be appreciated.
The text was updated successfully, but these errors were encountered: