Fix App.framework path in Podfile (#63412)
This commit is contained in:
@@ -191,6 +191,16 @@ Future<void> main() async {
|
||||
// Android-only, no embedded framework.
|
||||
checkDirectoryNotExists(path.join(ephemeralIOSHostApp.path, 'Frameworks', 'android_alarm_manager.framework'));
|
||||
|
||||
section('Clean and pub get module');
|
||||
|
||||
await inDirectory(projectDir, () async {
|
||||
await flutter('clean');
|
||||
});
|
||||
|
||||
await inDirectory(projectDir, () async {
|
||||
await flutter('pub', options: <String>['get']);
|
||||
});
|
||||
|
||||
section('Add to existing iOS Objective-C app');
|
||||
|
||||
final Directory objectiveCHostApp = Directory(path.join(tempDir.path, 'hello_host_app'));
|
||||
@@ -241,6 +251,23 @@ Future<void> main() async {
|
||||
return TaskResult.failure('Failed to build existing Objective-C app .app');
|
||||
}
|
||||
|
||||
checkFileExists(path.join(
|
||||
objectiveCBuildDirectory.path,
|
||||
'Host.app',
|
||||
'Frameworks',
|
||||
'Flutter.framework',
|
||||
'Flutter',
|
||||
));
|
||||
|
||||
checkFileExists(path.join(
|
||||
objectiveCBuildDirectory.path,
|
||||
'Host.app',
|
||||
'Frameworks',
|
||||
'App.framework',
|
||||
'flutter_assets',
|
||||
'isolate_snapshot_data',
|
||||
));
|
||||
|
||||
final String objectiveCAnalyticsOutput = objectiveCAnalyticsOutputFile.readAsStringSync();
|
||||
if (!objectiveCAnalyticsOutput.contains('cd24: ios')
|
||||
|| !objectiveCAnalyticsOutput.contains('cd25: true')
|
||||
|
||||
Reference in New Issue
Block a user