Local Run With Multiple Teams Configured in Xcode

Project Settings

Hi, I'm using the latest Flutterflow macos app and running into an issue with Local Run on my device. I'm getting a "Building a deployable iOS app requires a selected Development Team with a Provisioning Profile." error:

So I open the project in Xcode and select the correct team (I belong to several teams) but the next time I do a Local Run build from the Flutterflow app, the Team gets reset back to "None" which causes the same error as above. ๐Ÿ˜Ÿ

I tried connecting a git repo to the project, but that didn't seem to fix the issue. The Xcode project gets wiped/regenerated with every run from Flutterflow, with no apparent way to make some settings "stick".

I also tried just selecting the correct team in Xcode, then just running the project from Xcode to my phone, but I get weird missing module errors. (GoogleMaps should definitely exist, I've successfully ran the project on my phone w/ the previous version of Flutterflow.)

Has anyone found a workaround for this? I'm sure there's got to be other people with more than a couple of teams configured in Xcode who want to do continuous local run builds.

What have you tried so far?

Tried contacting support, they suggested an Xcode build script to set the team. That didn't work since build scripts get wiped out along with everything else in the Xcode project each time a Local Run is run from the Flutterflow app. Tried connecting a git repo to the project, but that didn't seem to fix the issue either. Also tried running the project directly from Xcode, but ran into missing module build errors.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
3 replies