English 中文(简体)
错误计算: 指挥阶段
原标题:error build: Command PhaseScriptExecution failed with a nonzero exit code (Xcode 14)

我更新了X代码,使其达到14.0,并尝试用冲碎机进行冲碎。

After a bunch of warnings, flutter fails saying "Could not build the precompiled application for the device." It s same when I build with Xcode.

    In module  UIKit  imported from /Users/tenna/Desktop/sflo/ios/Pods/Target Support Files/AppAuth/AppAuth-prefix.pch:2:
 ...

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/in_ap
    p_purchase_storekit/in_app_purchase_storekit.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/googl
    e_maps_flutter/google_maps_flutter.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Strip
    e/Stripe3DS2.bundle 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/geoco
    ding/geocoding.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/gRPC-
    C++/gRPCCertificates-Cpp.bundle 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/geolo
    cator_apple/geolocator_apple.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/flutt
    er_native_splash/flutter_native_splash.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/flutt
    er_local_notifications/flutter_local_notifications.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/flutt
    er_app_badger/flutter_app_badger.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/fireb
    ase_storage/firebase_storage.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/fireb
    ase_messaging/firebase_messaging.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/flutt
    er_image_compress/flutter_image_compress.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/fireb
    ase_crashlytics/firebase_crashlytics.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/fireb
    ase_core/firebase_core.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/fireb
    ase_dynamic_links/firebase_dynamic_links.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/fireb
    ase_auth/firebase_auth.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/cloud
    _functions/cloud_functions.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/fireb
    ase_analytics/firebase_analytics.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Strip
    eApplePay/StripeApplePay.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Strip
    e/Stripe.bundle 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/SFLO.
    app 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/SDWeb
    ImageWebPCoder/SDWebImageWebPCoder.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Strip
    eCore/StripeCore.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Strip
    eUICore/StripeUICore.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Strip
    eFinancialConnections/StripeFinancialConnections.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/SDWeb
    Image/SDWebImage.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/absei
    l/absl.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Mantl
    e/Mantle.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Promi
    sesObjC/FBLPromises.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/MTBBa
    rcodeScanner/MTBBarcodeScanner.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Strip
    e/Stripe.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Googl
    eUtilities/GoogleUtilities.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/GTMAp
    pAuth/GTMAppAuth.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Googl
    eDataTransport/GoogleDataTransport.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Fireb
    aseMessaging/FirebaseMessaging.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/GTMSe
    ssionFetcher/GTMSessionFetcher.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Fireb
    aseStorage/FirebaseStorage.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Fireb
    aseInstallations/FirebaseInstallations.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Fireb
    aseFunctions/FirebaseFunctions.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Fireb
    aseCoreDiagnostics/FirebaseCoreDiagnostics.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Fireb
    aseDynamicLinks/FirebaseDynamicLinks.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Fireb
    aseCrashlytics/FirebaseCrashlytics.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/gRPC-
    Core/grpc.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Fireb
    aseCore/FirebaseCore.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/FMDB/
    FMDB.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Fireb
    aseFirestore/FirebaseFirestore.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Fireb
    aseAuth/FirebaseAuth.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/AppAu
    th/AppAuth.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/gRPC-
    C++/grpcpp.framework 

    note: Removed stale file
     /Users/tenna/Library/Developer/Xcode/DerivedData/Runner-fgophzrxcuuquoffvkeemrqvjrfz/Build/Products/Debug-iphoneos/Borin
    gSSL-GRPC/openssl_grpc.framework 

    warning: Run script build phase  Create Symlinks to Header Folders  will be run during every build because it does not
    specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run
    in every build by unchecking "Based on dependency analysis" in the script phase. (in target  BoringSSL-GRPC  from project
     Pods )
    warning: Run script build phase  Create Symlinks to Header Folders  will be run during every build because it does not
    specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run
    in every build by unchecking "Based on dependency analysis" in the script phase. (in target  abseil  from project  Pods )
    warning: Run script build phase  Create Symlinks to Header Folders  will be run during every build because it does not
    specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run
    in every build by unchecking "Based on dependency analysis" in the script phase. (in target  gRPC-Core  from project
     Pods )
    warning: Run script build phase  Create Symlinks to Header Folders  will be run during every build because it does not
    specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run
    in every build by unchecking "Based on dependency analysis" in the script phase. (in target  gRPC-C++  from project
     Pods )
    warning: Run script build phase  Run Script  will be run during every build because it does not specify any outputs. To
    address this warning, either add output dependencies to the script phase, or configure it to run in every build by
    unchecking "Based on dependency analysis" in the script phase. (in target  SFLO  from project  Runner )
    warning: Run script build phase  Thin Binary  will be run during every build because it does not specify any outputs. To
    address this warning, either add output dependencies to the script phase, or configure it to run in every build by
    unchecking "Based on dependency analysis" in the script phase. (in target  SFLO  from project  Runner )

    Result bundle written to path:
        /var/folders/cv/yb103sl92sn87wng_mvscb_80000gn/T/flutter_tools.MJYYvf/flutter_ios_build_temp_dirwtIiAC/temporary_xcresul
        t_bundle


Could not build the precompiled application for the device.

Error launching application on tenna (2).

I ve tried excluding arm64, setting IPHONEOS_DEPLOYMENT_TARGET to 15.0. flutter clean, clean build cache etc. But none of them works..

flutter doctor .

[✓] Flutter (Channel stable, 3.3.2, on macOS 12.5 21G72 darwin-arm, locale ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.71.0)
[✓] Connected device (5 available)
[✓] HTTP Host Availability

• No issues found!
问题回答

我解决这一问题,删除了评价数据库。 ARCHS, under Project -> Building context ->user-Defined OR open Project.pbxproj in Vscode, see VALID_ARCHS除去外。 返回Xcode, 指挥+ 转移+k 清理。

我从下面的链接来看:

https://github.com/CocoaPods/CocoaPods/issues/8035#issuecomment-764692977

I face this issue several times in react native, and I am not sure my solutions will help or not.

解决办法 ****

删除<代码>Pods和Podfile.lock。 然后用podstal/code>再安装在欧文中。

解决办法2****

这个问题在我身上多次发生,我的构成部分或js档案中存在一些合成问题(复杂时间问题)。

解决办法3***

我在新设立的项目中面临这个问题。 我以新的双手方式创立了该项目,双手名称是两字,然后我就把双人的名字打上了记号,并做了工作。

Updated miscellaneous (flutter, pubspec, cocoapods). Then it worked.





相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

Iphone NSTimer Issue

Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Xcode open two editor windows with same file

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...

Forcing code signing refresh in Xcode

In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...