-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Swift Compiler Error (Xcode): Using bridging headers with module interfaces is unsupported #120404
Comments
@bhz020418 |
Hello @darshankawar: I tried the method listed in this post but is still not resolved, I am using Xcode version 14.2. So I decided to send the post on GitHub because I really failed to understand individually about why this is happening... But still thank you for sending me this post, if you have any other idea about how to solve this issue please let me know. Thank you in advance and wish you a nice day! (^-^) Regards |
Hello @farhanvk8: Same here, I tried the method listed above by @darshankawar few days ago and it is not solved, I am using flutter version 3.7.0 and Xcode version 14.2. I am using mac computer with 2020 M1 chip. I did not upgrade to 3.7.3 for my flutter yet because after I updated the flutter to 3.7.3, the application wrote cannot simulate properly on the IOS simulator so I changed it back to 3.7.0. If you have any new update about how to solve this issue please let me know. Thank you so much and wish you a nice day. I will also work on trying other methods and if I solved the issue I will let you know at once. Regards |
@bhz020418 |
Hello @darshankawar: Here is my flutter doctor -v and my flutter build ipa -v. If there is any other things that you need me to provide please let me know. Looking forward to your response, thank you so much and wish you a nice day. Regards |
And @darshankawar here is the error I can see after I entered flutter build ipa. Hope this can also help. (^-^) Regards |
@bhz020418 Can you also provide your |
Hello @darshankawar: Sure! Here is my Podfile.lock and my Podfile. I did not check "for install builds only". No matter I checked it or unchecked it, it is always showing me that building failed... Looking forward to your response. Regards |
I see that in your podfile, you have
I am not sure but this maybe restricting other pods or plugins you might be using which may not be targeting to iOS 12 yet, so can you try to comment or remove above line from podfile and try again to see if it helps ? |
Hello @darshankawar: I changed commented the line as shown in the figure attached below. But when I entered flutter build ipa it still output the same error... The IOS simulator is still running properly. Looking forward to your response. |
@bhz020418 Thanks for the update and your patience on this while we figure this out. |
Hello @darshankawar: I deleted the podfile.lock and then ran flutter build ipa again. The error I am encountering with is as shown in figure 1 (after I ran flutter build ipa, the podfile.lock is back again). Moreover, I also tried to run it in xcode and the output I got is shown in figure 2 - figure 3 or figure 4 - figure 13 (sometimes I got the errors and warnings as shown in figure 2 - figure 3(1 error and 7 warnings), sometimes I got the errors and warnings as shown in figure 4 - figure 13 (1 error and 137 warnings)). Also, If I am using the simulator on my computer, the code can be run properly (as shown in figure 14). I just really do not quite understand why my xcode is stopping me from building the ipa package, which is making feeling so frustrating. (T-T) Also I do not know how to update the pods I am using to latest versions available. If possible, can you tell me how to do it? Looking forward to your response, Thank you so much and wish you a nice day. Regards |
@bhz020418 Also, if possible, please provide a sample repo that we can clone and run it at our end to analyze further. |
Hello @darshankawar: Sure! I asked my group members and we reached to the consensus that we can provide the sample repo. But before that we need to change some parts in our programming relating to the customer data, which will take some time to do the adjustment. So sorry for cannot providing it right now and so sorry for previously sending the screenshots because we were thinking perhaps that will help solving the problem... When we finished adjusting the part relating to the user's data, we will reply back with the sample repo as soon as possible. Thank you so much for helping us all along the road and wish you the best. Regards |
I had the same error. Tried everything didn't work. |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
So after I ran:
flutter build ipa
I got the output like this in visual studio code:
The application can be built properly using IOS simulator. I really start to get very confuse about why it does not allow me to build the ipa file. Any one have any idea why this is happening? I am trying to compile the ipa for a IOS program I wrote but I have been stuck on this bug for a week... I do not know how to solve this. I googled online and it seems there are no similar solutions... Can anyone help me please! Thank you in advance!
Regards
The text was updated successfully, but these errors were encountered: