#Xcode cloud with flutter flavors

1 messages · Page 1 of 1 (latest)

hexed garden
#

i have project with flavors.
i had xcode cloud workflows for build.

after adding flavors, the flavored schemas are not available at xcode cloud and repository,

how can i push or add the schemas to remote repo so xcode cloud can access it

pseudo coral
#

Hmm. I've never use xcode cloud. Since Flavors I believe are represented as Schemas in Xcode, I would expect them to be 🤔 Bryan may have used XCode cloud and we can ask him when he's around tomorrow morning (about 16 hours from now).

white sparrow
#

Have not used Xcode cloud, but it would surprise me if introducing shorebird would cause issues with anything Xcode-related. Can you walk me through the steps you took and what you expected vs what happened?

pseudo coral
#

I suspect one has to drive the build from within Xcode to support Xcode cloud.

#

Which we could do. But don’t currently. Since we swap out the version of flutter before calling ‘flutter build’. We would need a way to set up an environment with our flutter before calling xcode

#

Xcode cloud with flutter flavors

white sparrow
#

I think it may be as simple as adding a "run script" build phase to Xcode that calls shorebird instead of flutter. Flutter does this already

#

(If that's what is being asked)

pseudo coral
#

I suspect in general we will need to document "how to build with shorebird from within xcode"

hexed garden
#

the issue is that the flavored xcode schemas are available at local project and not available at remote repositoy

#

its not able to find those flavor configs at remote repository

#

with apple developer program we are getting 25h free usage of Xcode cloud,so we want utilize that

#

error at xcode cloud



Error
Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-resources-Release-staging-output-files.xcfilelist'

Error
Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-staging-input-files.xcfilelist'

Error
Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-staging-output-files.xcfilelist'

Error
could not find included file 'Generated.xcconfig' in search paths

Release.xcconfig:2

Error
Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-resources-Release-staging-input-files.xcfilelist'

#

i tried to make the above error files in source repo but i am not able to include it,

#

this is the warning at xcode,

white sparrow