RunCommand plutil -insert NSLocalNetworkUsageDescription -string"Allow Flutter tools on your computer to connect and debug your application. This prompt will not appear on release builds.""${built_products_plist}"
fi
}
# Main entry point.
if[[$# == 0 ]];then
# Named entry points were introduced in Flutter v0.0.7.
EchoError "error: Your Xcode project is incompatible with this version of Flutter. Run \"rm -rf ios/Runner.xcodeproj\" and \"flutter create .\" to regenerate."
exit-1
else
case$1in
"build")
BuildApp ;;
"thin")
# No-op, thinning is handled during the bundle asset assemble build target.
;;
"embed")
EmbedFlutterFrameworks ;;
"embed_and_thin")
# Thinning is handled during the bundle asset assemble build target, so just embed.