-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Macos run problem. With problem resolution #217
Comments
@AngeloAvv can you create fix in package? |
The quickest solution is to deintegrate the Pods (by removing pod files and folders), and run flutter pub get again. |
This does not work, it leaves you with the same problem. |
How can I? Those entries do not even exist when you run flutter_flavorizr after creating a project in the first place. These elements are automatically added by cocoapods when you add third party libraries. That's why deintegrating the pods, cleaning the lock files, and running the pub get will clean the Xcode folder structure and fix the problem. |
@mobikats I added the Troubleshooting section in the README where I explain what are the right steps to get rid of the problem once and for all. |
Thanks @AngeloAvv . |
Release 2.2.3 should fix the issue |
For those who, after a while, need to add a new flavor and encounter this issue, my solution was, upgrade to Release 2.2.3 and:
Good luck |
I found resolution for fix macos build
Same this:
Error (Xcode): Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-development-input-files.xcfilelist'
Thoughts:
macos catch error when build because xcode really cannot find the generated pods file
but file exist... hm...
Task
Xcode -> Targets "Runner" -> Build Phases -> [CP] Embed Pods Frameworks
has two interested fields: "Input File Lists" and "Output File Lists"For example we get "input file Lists" and read it:
${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist
where
CONFIGURATION
would be one of 'Debug', 'Profile', 'Release'then we check
PODS_ROOT
:Damn! Pods root path couldn't set for flavors
Conclusion:
We need set xcode Build Setting
PODS_ROOT
for all configurations to${SRCROOT}/Pods
The text was updated successfully, but these errors were encountered: