Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IOS]Archive build fails with error xcodebuild[12620:109208] Requested but did not find extension point with identifier #105862

Closed
Macacoazul01 opened this issue Jun 12, 2022 · 9 comments
Labels
r: solved Issue is closed as solved

Comments

@Macacoazul01
Copy link
Contributor

Everything was fine until flutter stable 3.0.2, but with this update i can't compile my app on iOS, only on android.

This is the error log when I executed flutter build ipa --release --obfuscate --split-debug-info=build/app/outputs/symbols

2022-06-12 16:16:50.081 xcodebuild[12620:109208] Requested but did not find
    extension point with identifier
    Xcode.IDEKit.ExtensionSentinelHostApplications for extension
    Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in
    com.apple.dt.IDEWatchSupportCore
    2022-06-12 16:16:50.082 xcodebuild[12620:109208] Requested but did not find
    extension point with identifier
    Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension
    Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of
    plug-in com.apple.dt.IDEWatchSupportCore
    ** ARCHIVE FAILED **

Failed to package /Users/gian/Desktop/Bianca-mobile.
    Command PhaseScriptExecution failed with a nonzero exit code
    note: Using new build system
    note: Planning
    note: Build preparation complete
    note: Building targets in dependency order

    Result bundle written to path:
    	/var/folders/6y/9xyc01cd7wb7mzqn6c_0hrzr0000gn/T/flutter_tools.ZzSVdo/flutt
    	er_ios_build_temp_dirI03vBW/temporary_xcresult_bundle


Encountered error while archiving for device.

Already tried reinstalling Xcode, executing the solutions on https://apple.stackexchange.com/questions/438785/xcode-error-when-launching-terminal?newreg=4dc467f46a3348af994097113a2e691a but nothing worked.

Downgraded to v3.0.1 and everything went fine.

💪 Building with sound null safety 💪

Building App Store IPA...                                         112,4s
Built IPA to /Users/gian/Desktop/Bianca-mobile/build/ios/ipa.
To upload to the App Store either:
    1. Drag and drop the "build/ios/ipa/*.ipa" bundle into the Apple Transport
    macOS app https://apps.apple.com/us/app/transporter/id1450874784
    2. Run "xcrun altool --upload-app --type ios -f build/ios/ipa/*.ipa --apiKey
    your_api_key --apiIssuer your_issuer_id".
       See "man altool" for details about how to authenticate with the App Store
       Connect API key.

my doctor (already downgraded):

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.4 21F79 darwin-x64, locale
    pt-BR)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from:
      https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK
      components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup
      for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✗] Chrome - develop for the web (Cannot find Chrome executable at
    /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[!] Android Studio (not installed)
[✓] VS Code (version 1.62.3)
[✓] Connected device (1 available)
[✓] HTTP Host Availability

@maheshmnj maheshmnj added the in triage Presently being triaged by the triage team label Jun 13, 2022
@maheshmnj
Copy link
Member

Hi @Macacoazul01, Thanks for filing the issue. Can you please share the complete verbose logs from stable 3.0.2 by running
flutter build ipa --release --obfuscate --split-debug-info=build/app/outputs/symbols -v?

Thanks

@maheshmnj maheshmnj added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 13, 2022
@maheshmnj maheshmnj changed the title can't build my app on flutter 3.0.2 [IOS]Archive build fails with error xcodebuild[12620:109208] Requested but did not find extension point with identifier Jun 13, 2022
@Macacoazul01
Copy link
Contributor Author

@maheshmnj aparently running downgrade, them upgrade solved my problem (3 days searching for complex solutions wasted suahsuhau).

Anyway, here's my log:

build ipa flutter 3.0.2 logs.pdf

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 13, 2022
@maheshmnj
Copy link
Member

@Macacoazul01 Thanks for the update, Closing as solved since you were able to build the ipa on the latest stable version. If you see a similar issue in the future, Consider filing a new issue and we would love to take a look.

Thank you.

@maheshmnj maheshmnj added r: solved Issue is closed as solved and removed in triage Presently being triaged by the triage team labels Jun 13, 2022
@Tonigt
Copy link

Tonigt commented Jun 15, 2022

Requested but did not find extension point with identifier Xcode
flutter doctor --verbose

==================================
[✓] Flutter (Channel stable, 3.0.2, on macOS 12.3.1 21E258 darwin-x64, locale zh-Hans-US)
    • Flutter version 3.0.2 at /Users/tonight/fvm/versions/3.0.2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cd41fdd495 (7 days ago), 2022-06-08 09:52:13 -0700
    • Engine revision f15f824b57
    • Dart version 2.17.3
    • DevTools version 2.12.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/tonight/Library/Android/sdk
    • Platform android-31, build-tools 30.0.3
    • ANDROID_HOME = /Users/tonight/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (1 available)
    • macOS (desktop) • macos • darwin-x64 • macOS 12.3.1 21E258 darwin-x64

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

======================================
 flutter build ipa --export-method ad-hoc 、 flutter build ios  throw error:
======================================
↳
    2022-06-15 20:46:13.335 xcodebuild[32712:1317413] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
    2022-06-15 20:46:13.335 xcodebuild[32712:1317413] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
    ** ARCHIVE FAILED **

@Macacoazul01
Copy link
Contributor Author

@Tonigt try the solutions in that stackexchange link + downgrading and upgrading flutter.

@maheshmnj maybe there's really something broken in this 3.0.1->3.0.2 transition. Are the team receiving more issues like ours, or it was only these two reports?

@Macacoazul01
Copy link
Contributor Author

Macacoazul01 commented Jun 15, 2022

@Tonigt before downgrading, run the command that @maheshmnj told me to run. Maybe it will help the flutter team

@Tonigt
Copy link

Tonigt commented Jun 16, 2022

mac worning: "gen_snapshot_arm64" because the developer could not be verified.
Settings => Security & Privacy => still open, it's working for me

@CarGuo
Copy link

CarGuo commented Jun 22, 2022

I also flutter build ios fail with 3.0.2 in intel Mac os, and then I found that the problem occur when I upgrade IPHONEOS_DEPLOYMENT_TARGET in Xcode IDE , result in some IPHONEOS_DEPLOYMENT_TARGET is 10, and the other IPHONEOS_DEPLOYMENT_TARGET is 12

In my case, I changing all IPHONEOS_DEPLOYMENT_TARGET in project.pbxproj to 12 and build ios success. so I think this have't anything with flutter version.

image

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, 3.0.2, on macOS 12.4 21F79 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.3.5)

Automatically signing iOS for device deployment using specified development team in Xcode project: ********
Running pod install...                                              8.3s
Running Xcode build...                                                  
Xcode build done.                                            6.8s
Failed to build iOS app
Error output from Xcode build:
↳
    2022-06-22 11:04:20.565 xcodebuild[59191:337379] Requested but did not find extension point with identifier
    Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in
    com.apple.dt.IDEWatchSupportCore
    2022-06-22 11:04:20.566 xcodebuild[59191:337379] Requested but did not find extension point with identifier
    Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in
    com.apple.dt.IDEWatchSupportCore
    ** BUILD FAILED **

@github-actions
Copy link

github-actions bot commented Jul 6, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
r: solved Issue is closed as solved
Projects
None yet
Development

No branches or pull requests

4 participants