小编Mar*_*aco的帖子

Xcode Archive 命令因离子电容器和 React 而失败 - 命令 PhaseScriptExecution 因非零退出代码而失败

几天来,在没有更改项目的任何细节的情况下,我在 Xcode 发布阶段收到了此错误。我还与其他开发人员共享了我的代码,并且在他们的计算机上发布不是问题。

下面是错误日志:

PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/[USER_NAME]/Library/Developer/Xcode/DerivedData/App-faqqbffxhfofrrewfezzfuhlylqt/Build/Intermediates.noindex/ArchiveIntermediates/App/IntermediateBuildFilesPath/App.build/Release-iphoneos/App.build/Script-9592DBEFFC6D2A0C8D5DEB22.sh (in target 'App' from project 'App')
    cd /Users/[USER_NAME]/Desktop/Workspace/[APP_NAME]/ios/App
    /bin/sh -c /Users/[USER_NAME]/Library/Developer/Xcode/DerivedData/App-faqqbffxhfofrrewfezzfuhlylqt/Build/Intermediates.noindex/ArchiveIntermediates/App/IntermediateBuildFilesPath/App.build/Release-iphoneos/App.build/Script-9592DBEFFC6D2A0C8D5DEB22.sh

mkdir -p /Users/[USER_NAME]/Library/Developer/Xcode/DerivedData/App-faqqbffxhfofrrewfezzfuhlylqt/Build/Intermediates.noindex/ArchiveIntermediates/App/BuildProductsPath/Release-iphoneos/App.app/Frameworks
Symlinked...
rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Capacitor.framework" "/Users/[USER_NAME]/Library/Developer/Xcode/DerivedData/App-faqqbffxhfofrrewfezzfuhlylqt/Build/Intermediates.noindex/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App.app/Frameworks"
building file list ... rsync: link_stat "/Users/[USER_NAME]/Desktop/Workspace/[APP_NAME]/ios/App/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Capacitor.framework" failed: No such file or directory (2)
done

sent 29 bytes  received 20 bytes  98.00 bytes/sec
total size …
Run Code Online (Sandbox Code Playgroud)

xcode reactjs ionic4 capacitor

11
推荐指数
3
解决办法
3062
查看次数

找不到 Worker Service 的 AddRefitClient 方法

目前我使用 .NET 版本 7 来做后台作业服务。我添加了 Worker Service 项目,在Program.cs文件中我无法调用方法AddRefitClient,尽管我添加了包Refit来调用 API。我不想使用 HttpClient

这是错误消息:

'IServiceCollection' does not contain a definition for 'AddRefitClient' and no accessible extension method 'AddRefitClient' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)

在此输入图像描述

.net refit worker-service

3
推荐指数
1
解决办法
1628
查看次数

标签 统计

.net ×1

capacitor ×1

ionic4 ×1

reactjs ×1

refit ×1

worker-service ×1

xcode ×1