Use macOS ephemeral directory for Pod env script (#37509)

On macOS, any file that isn't intended to be checked in should be in the
ephemeral directory.
This commit is contained in:
stuartmorgan 2019-08-02 16:44:04 -07:00 committed by GitHub
parent 7f77f0177a
commit 018d45dc06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -679,7 +679,7 @@ class MacOSProject implements XcodeBasedProject {
File xcodeConfigFor(String mode) => managedDirectory.childFile('Flutter-$mode.xcconfig');
@override
File get generatedEnvironmentVariableExportScript => managedDirectory.childFile('flutter_export_environment.sh');
File get generatedEnvironmentVariableExportScript => ephemeralDirectory.childFile('flutter_export_environment.sh');
@override
File get podfile => _macOSDirectory.childFile('Podfile');