Bug/problem after project-build in add2app instructions
Page URL
https://docs.flutter.dev/add-to-app/ios/project-setup#update-your-podfile
Page source
https://github.com/flutter/website/tree/main/src/content/add-to-app/ios/project-setup.md
Describe the problem
I found two errors upon running pod install
1)
{
"name": "fake_async"error: Sandbox: rsync(35631) deny(1) file-read-data /Users/neil/Library/Developer/Xcode/DerivedData/add2appIosHostTest6July2025-aaaylydgqmtzjtbavnwepzahnxif/Build/Products/Debug-iphonesimulator (in target 'add2appIosHostTest6July2025' from project 'add2appIosHostTest6July2025')
- [ +50 ms] Flutter failed to write to a file at "/Users/neil/Library/Developer/Xcode/DerivedData/add2appIosHostTest6July2025-aaaylydgqmtzjtbavnwepzahnxif/Build/Products/Debug-iphonesimulator/.last_build_id". Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user. Try running: sudo chown -R $(whoami) /Users/neil/Library/Developer/Xcode/DerivedData/add2appIosHostTest6July2025-aaaylydgqmtzjtbavnwepzahnxif/Build/Products/Debug-iphonesimulator/.last_build_id
(Previously I did try this sort of permission change but it should be in the instructions if it is needed, and my guess is that it's a red herring and should not be needed
Expected fix
- Instructions should "just work" like they do in the video, even with Xcode hello world with current stable version of xcode. In other words, I should be able to follow the instructions with little to no knowledge of flutter or xcode or cocoapods, it should be part of hour1 experienced imho.
- Instructions for cocoapods should also be "simpler" I found it confusing, you had to refer to the sample, if you dont' know what "target" means the "syntax" doesn't help really
- please consider "quickstart guide' with exactly what to copy/paste rather than "mixed in" with context/explanations
- Consider a note that swift package manager is coming soon etc. (if it is) and that you can only use flutter attach / hot reload/breakpoitns under x scenarios if in fact that applies etc.
Additional context
flutter stable from July 6 Flutter 3.32.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision fcf2c11572 (12 days ago) • 2025-06-24 11:44:07 -0700 Engine • revision dd93de6fb1 (12 days ago) • 2025-06-24 07:39:37 -0700 Tools • Dart 3.8.1 • DevTools 2.45.1
My Xcode version on this laptop is Version 16.0 (16A242d) but I am pretty I was using "absolute latest" version in the last few days and got last_build_id error.
I would like to fix this problem.
- [ ] I will try and fix this problem on docs.flutter.dev.