Developing Flutter iOS plugin packages - Pods folder in Xcode project is empty

Viewed 1069

I am developing a plugin package for Flutter. I follow the instructions exactly as written in a tutorial here: Step-2c-add-ios-platform-code-hmswift. It says to open hello/example/ios/Runner.xcworkspace with xcode, and then:

iOS platform code of your plugin is located in Pods/DevelopmentPods/hello/Classes/ in the Project Navigator

But, when I open xcode project as specified, there is nothing under Pods folder, it is empty:

How can I fix this { I am still kinda Xcode noob } ...

EDIT: iOS specific plugin files are there on the disk, so I guess this is just some project file "wiring" bug or something like this.

1 Answers

The problem was that with Xcode, I have opened Runner.xcodeproj instead of Runner.xcworkspace. Hope this helps other people who did not pay full attention to Flutter Guide, like I did.

Related