atiqsamtia / WordPress-App-with-Flutter

Fully Functional IOS/Android App for WordPress Website with Flutter
175 stars 85 forks source link

Flutter Module not found in Xcode #14

Open CJCodebuild opened 2 years ago

CJCodebuild commented 2 years ago

Flutter Module Not found in Xcode

Screen Shot 2022-10-12 at 9 50 01 AM

Also framworks were added via adding podfiles but cant add pofiles to get the framworks in there. dont no what to do any ideas?

Screen Shot 2022-10-12 at 9 51 54 AM

shouldn't it be a flutter framework? Please help with this I am using Xcode and cant get this to launch on the simulator. I used flutter doctor everything was updated all green check marks, for some reason it wont allow me to 'flutter packages get' your Git and then run it. don't no what to do i went threw so much trouble shooting already you have no idea.

atiqsamtia commented 2 years ago

This project was generated years ago, we did an update for Android Embedding but did not test on Xcode, I'll check in morning on Xcode maybe it'll work fine if we delete ios dir and then run flutter create . but I'll test on Mac and push the changes.

CJCodebuild commented 2 years ago

ios dir yiou mean should be in the folder? so once we delete that run flutter create on the terminal and then run it on xcode to seeif it works?

CJCodebuild commented 2 years ago

thanks for your help

atiqsamtia commented 2 years ago

Correct, delete ios dir and run flutter create . in the terminal for the main project directory. and then run the project via code. Do put your findings here as well if it works or not.

I'm on Windows right now and can't test today.

CJCodebuild commented 2 years ago

im going to give it a try and tell you now if it works

CJCodebuild commented 2 years ago

here is what im getting after putting the rule into the terminal zsh: command not found: flutter

CJCodebuild commented 2 years ago

i put the ios folder in the trash temporarily and used to terminal, cd to the directory where i had ios and did flutter create still no luck so i brought the old file back in its place. This is bazzar and not only that the fact that it wont normally work on xcode is bazzare as well

CJCodebuild commented 2 years ago

once i finish up with xcode i will be also testing the android files on there to see if it works as an android app. but for now i want to focus on getting this to work on xcode first and foremost thanks

atiqsamtia commented 2 years ago

I pushed a new branch. ios_upgrade do test with it

CJCodebuild commented 2 years ago

ok i will check it out now

CJCodebuild commented 2 years ago

where is the new branch located ?

atiqsamtia commented 2 years ago

https://github.com/atiqsamtia/WordPress-App-with-Flutter/tree/ios_upgrade

You can also run git pull and then git checkout ios_upgrade

CJCodebuild commented 2 years ago

perfect and just so you know im running a brand new Mac M1 24" ok I will try it i new that the verisons for minimum versions ios had to be updated i did already start that okay let me try all the rest you did and ill tell you now if that works

CJCodebuild commented 2 years ago

Same issues again look = No such module 'Flutter'

CJCodebuild commented 2 years ago

i even added a Podfile and its not working but when i added flutter to it it wont allow me to for some reason i don't understand its somehow not letting the framework to allow for the activation of the module to work at all

CJCodebuild commented 2 years ago

platform :ios, '9.0'

target 'my_project' do

Comment the next line if you don't want to use dynamic frameworks

use_frameworks!

Pods for my_project

flutter_application_path = '../flutter_project' load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb') install_all_flutter_pods(flutter_application_path)

target 'my_projectTests' do inherit! :search_paths

Pods for testing

install_all_flutter_pods(flutter_application_path)

end

target 'my_projectUITests' do

Pods for testing

install_all_flutter_pods(flutter_application_path)

end

end

CJCodebuild commented 2 years ago

when i go pod install in the dir it says [!] Invalid Podfile file: cannot load such file -- ../Podfile/.ios/Flutter/podhelper.rb.

CJCodebuild commented 2 years ago

this just isnt working im out of ideas

CJCodebuild commented 2 years ago

Hi their, Just wanted to know if you tried it on Xcode yet and had any luck please let me know thanks

Get Outlook for iOShttps://aka.ms/o0ukef


From: Atiq Samtia @.> Sent: Wednesday, October 12, 2022 6:37:04 PM To: atiqsamtia/WordPress-App-with-Flutter @.> Cc: CJCodebuild @.>; Author @.> Subject: Re: [atiqsamtia/WordPress-App-with-Flutter] Flutter Module not found in Xcode (Issue #14)

https://github.com/atiqsamtia/WordPress-App-with-Flutter/tree/ios_upgrade

You can also run git pull and then git checkout ios_upgrade

— Reply to this email directly, view it on GitHubhttps://github.com/atiqsamtia/WordPress-App-with-Flutter/issues/14#issuecomment-1276802973, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3SI5ALYT4UEHJDODQYQMDTWC44RBANCNFSM6AAAAAARDKEKPE. You are receiving this because you authored the thread.Message ID: @.***>