2022年8月11日星期四

[fix] Command PhaseScriptExecution failed with a nonzero exit code while trying to add Flutter to iOS app

 


set "For install builds only" at Run Sscript and Thin binary

[fix] Flutter: CocoaPods could not find compatible versions for pod "Firebase/Messaging"

 3

I was able to solve similar error by updating the target iOS platform to 10.0. Update the platform configured in the Podfile to platform :ios, '10.0'. I've also had to update the iOS Deployment Target to 10.0 - located on Runner > Info > Deployment Target



After that, deleting the Podfile.lock with rm -rf Podfile.lock then running pod update and pod install solved the issue for me.

flutter change app package name

https://pub.dev/packages/change_app_package_name

2022年8月4日星期四

flat_button.dart clipBehavior != null is not true

 if your data is not null, then run the command on your project terminal flutter clean. It may remove your error. I have similar issue.


This solved a similar error that was flaking for me. Never forget to flutter clean! 

personal token clone github project

 Just use the HTTPS address to clone with the key as the user, so:

git clone https://oauth-key(personal token)-goes-here@github.com/username/repo.git