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

Flutter Module not found in Xcode #14

Open
CJCodebuild opened this issue Oct 12, 2022 · 19 comments
Open

Flutter Module not found in Xcode #14

CJCodebuild opened this issue Oct 12, 2022 · 19 comments

Comments

@CJCodebuild
Copy link

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Author

thanks for your help

@atiqsamtia
Copy link
Owner

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
Copy link
Author

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

@CJCodebuild
Copy link
Author

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

@CJCodebuild
Copy link
Author

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
Copy link
Author

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
Copy link
Owner

I pushed a new branch. ios_upgrade do test with it

@CJCodebuild
Copy link
Author

ok i will check it out now

@CJCodebuild
Copy link
Author

where is the new branch located ?

@atiqsamtia
Copy link
Owner

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

You can also run git pull and then git checkout ios_upgrade

@CJCodebuild
Copy link
Author

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
Copy link
Author

Same issues again look = No such module 'Flutter'

@CJCodebuild
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

@CJCodebuild
Copy link
Author

this just isnt working im out of ideas

@CJCodebuild
Copy link
Author

CJCodebuild commented Oct 13, 2022 via email

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

2 participants