Skip to content

Unable to resolve product type 'com.apple.product-type.application.watchapp2' for platform 'macosx' (in target 'watch' from project 'Runner') #73917

@godofredoc

Description

@godofredoc

Mac_staging ios_app_with_extensions_test failing consistently since 2021-01-08 11:51 AM (PST) | 2021-01-08 1:14 PM (PST)

[ios_app_with_extensions_test] [STDOUT] Executing: /opt/s/w/ir/cache/flutter sdk/bin/flutter build ios --no-codesign --release in /opt/s/w/ir/tmp/t/ios_app_with_extensions_testSeNnIw/app_with_extensions with environment {}
[ios_app_with_extensions_test] [STDOUT] stdout: Downloading ios tools...                                         1,860ms
[ios_app_with_extensions_test] [STDOUT] stdout: Downloading ios-profile tools...                                 1,133ms
[ios_app_with_extensions_test] [STDOUT] stdout: Downloading ios-release tools...                                    6.3s
[ios_app_with_extensions_test] [STDOUT] stdout: Running "flutter pub get" in app_with_extensions...                420ms
[ios_app_with_extensions_test] [STDOUT] stdout: Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
[ios_app_with_extensions_test] [STDOUT] stdout: Building io.flutter.extensionTest for device (ios-release)...
[ios_app_with_extensions_test] [STDOUT] stdout: Running pod install...                                              6.1s
[ios_app_with_extensions_test] [STDOUT] stdout: Watch companion app found. Adjusting build settings.
[ios_app_with_extensions_test] [STDOUT] stdout: Running Xcode build...                                          
[ios_app_with_extensions_test] [STDOUT] stdout: Xcode build done.                                            4.0s
[ios_app_with_extensions_test] [STDOUT] stdout: Failed to build iOS app
[ios_app_with_extensions_test] [STDOUT] stdout: Error output from Xcode build:
[ios_app_with_extensions_test] [STDOUT] stdout: ↳
[ios_app_with_extensions_test] [STDOUT] stdout:     ** BUILD FAILED **
[ios_app_with_extensions_test] [STDOUT] stdout: 
[ios_app_with_extensions_test] [STDOUT] stdout: 
[ios_app_with_extensions_test] [STDOUT] stdout: Xcode's output:
[ios_app_with_extensions_test] [STDOUT] stdout: ↳
[ios_app_with_extensions_test] [STDOUT] stdout:     note: Using new build system
[ios_app_with_extensions_test] [STDOUT] stdout:     note: Building targets in parallel
[ios_app_with_extensions_test] [STDOUT] stdout:     note: Planning build
[ios_app_with_extensions_test] [STDOUT] stdout:     note: Constructing build description
[ios_app_with_extensions_test] [STDOUT] stdout:     error: unable to resolve product type 'com.apple.product-type.application.watchapp2' for platform 'macosx' (in target 'watch' from project 'Runner')
[ios_app_with_extensions_test] [STDOUT] stdout:     error: unable to find sdk 'watchos' (in target 'watch' from project 'Runner')
[ios_app_with_extensions_test] [STDOUT] stdout:     error: unable to resolve product type 'com.apple.product-type.application.watchapp2' for platform 'macosx' (in target 'watch' from project 'Runner')
[ios_app_with_extensions_test] [STDOUT] stdout:     warning: duplicate output file '' on task: RegisterExecutionPolicyException /opt/s/w/ir/tmp/t/ios_app_with_extensions_testSeNnIw/app_with_extensions/build/ios/Release (in target 'watch' from project 'Runner')
[ios_app_with_extensions_test] [STDOUT] stdout:     error: unable to resolve product type 'com.apple.product-type.watchkit2-extension' for platform 'macosx' (in target 'watch Extension' from project 'Runner')
[ios_app_with_extensions_test] [STDOUT] stdout:     error: unable to find sdk 'watchos' (in target 'watch Extension' from project 'Runner')
[ios_app_with_extensions_test] [STDOUT] stdout:     error: unable to resolve product type 'com.apple.product-type.watchkit2-extension' for platform 'macosx' (in target 'watch Extension' from project 'Runner')
[ios_app_with_extensions_test] [STDOUT] stdout:     error: unable to find sdk 'watchos' (in target 'EFQRCode' from project 'Pods')
[ios_app_with_extensions_test] [STDOUT] stdout:     warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'Pods-Runner' from project 'Pods')
[ios_app_with_extensions_test] [STDOUT] stdout:     error: unable to find sdk 'watchos' (in target 'Pods-watch Extension' from project 'Pods')
[ios_app_with_extensions_test] [STDOUT] stdout:     error: unable to find sdk 'watchos' (in target 'swift_qrcodejs' from project 'Pods')
[ios_app_with_extensions_test] [STDOUT] stdout:     warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'Runner' from project 'Runner')
[ios_app_with_extensions_test] [STDOUT] stdout:     warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'Flutter' from project 'Pods')
[ios_app_with_extensions_test] [STDOUT] stdout:     warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'device_info' from project 'Pods')
[ios_app_with_extensions_test] [STDOUT] stdout: 
[ios_app_with_extensions_test] [STDOUT] stderr: Encountered error while building for device.
[ios_app_with_extensions_test] [STDOUT] "/opt/s/w/ir/cache/flutter sdk/bin/flutter" exit code: 1

https://ci.chromium.org/p/flutter/builders/prod/Mac_staging%20ios_app_with_extensions_test?limit=200

Metadata

Metadata

Assignees

No one assigned

    Labels

    team-infraOwned by Infrastructure team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions