libarclite_iphoneos.a 文件缺失
报错提示:
SDK does not contain 'libarclite' at the path '/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a'; try increasing the minimum deployment target
原因:xcode14.3 版本之后删除了该文件,pod的三方库版本过低
解决方法:podfile末尾添加下面配置
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
end
end
end
end
Cycle inside xxx; building could produce unreliable results.
报错提示:
Cycle inside XXX; building could produce unreliable results.
Cycle details:
→ Target 'XXX': CodeSign /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/InstallationBuildProductsLocation/Applications/XXX.app
○ Target 'XXX' has process command with output '/Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/InstallationBuildProductsLocation/Applications/XXX.app/Info.plist'
○ Target 'XXX' has copy command from '/Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/BuildProductsPath/Release-iphoneos/NotificationServiceExtension.appex' to '/Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/InstallationBuildProductsLocation/Applications/XXX.app/PlugIns/NotificationServiceExtension.appex'
○ That command depends on command in Target 'XXX': script phase “Sentry upload dSYM files”
○ Target 'XXX' has a command with output '/Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/BuildProductsPath/Release-iphoneos/XXX.app.dSYM'
Raw dependency cycle trace:
target: ->
node: <all> ->
command: <all> ->
node: /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/InstallationBuildProductsLocation/Applications/XXX.app/_CodeSignature ->
command: P0:target-XXX-338836110e11609d5a8eabc1965b30756267ae0cdb10ac06152c1490e9f14c84-:Release:CodeSign /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/InstallationBuildProductsLocation/Applications/XXX.app ->
node: /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/InstallationBuildProductsLocation/Applications/XXX.app/Info.plist/ ->
directoryTreeSignature: ->
directoryContents: /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/InstallationBuildProductsLocation/Applications/XXX.app/Info.plist ->
CYCLE POINT ->
node: /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/InstallationBuildProductsLocation/Applications/XXX.app/Info.plist ->
command: P0:target-XXX-338836110e11609d5a8eabc1965b30756267ae0cdb10ac06152c1490e9f14c84-:Release:ProcessInfoPlistFile /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/InstallationBuildProductsLocation/Applications/XXX.app/Info.plist /Users/xunyicao/Desktop/KJS/XXX/XXX/Info.plist ->
node: /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/InstallationBuildProductsLocation/Applications/XXX.app/PlugIns/NotificationServiceExtension.appex ->
command: P0:target-XXX-338836110e11609d5a8eabc1965b30756267ae0cdb10ac06152c1490e9f14c84-:Release:Copy /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/InstallationBuildProductsLocation/Applications/XXX.app/PlugIns/NotificationServiceExtension.appex /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/BuildProductsPath/Release-iphoneos/NotificationServiceExtension.appex ->
node: <target-XXX-338836110e11609d5a8eabc1965b30756267ae0cdb10ac06152c1490e9f14c84--fused-phase4-sentry-upload-dsym-files> ->
command: P0:::Gate target-XXX-338836110e11609d5a8eabc1965b30756267ae0cdb10ac06152c1490e9f14c84--fused-phase4-sentry-upload-dsym-files ->
node: <execute-shell-script-338836110e11609d5a8eabc1965b3075c59fa454bb279b8004a5944762696f63-target-XXX-338836110e11609d5a8eabc1965b30756267ae0cdb10ac06152c1490e9f14c84-> ->
command: P2:target-XXX-338836110e11609d5a8eabc1965b30756267ae0cdb10ac06152c1490e9f14c84-:Release:PhaseScriptExecution Sentry upload dSYM files /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/IntermediateBuildFilesPath/XXX.build/Release-iphoneos/XXX.build/Script-62988C25289917D9009931DB.sh ->
node: /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/BuildProductsPath/Release-iphoneos/XXX.app.dSYM/Contents/Resources/DWARF/XXX/ ->
directoryTreeSignature: ->
directoryContents: /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/BuildProductsPath/Release-iphoneos/XXX.app.dSYM/Contents/Resources/DWARF/XXX ->
node: /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/BuildProductsPath/Release-iphoneos/XXX.app.dSYM/Contents/Resources/DWARF/XXX ->
command: P0:target-XXX-338836110e11609d5a8eabc1965b30756267ae0cdb10ac06152c1490e9f14c84-:Release:GenerateDSYMFile /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/BuildProductsPath/Release-iphoneos/XXX.app.dSYM /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/InstallationBuildProductsLocation/Applications/XXX.app/XXX ->
node: /Users/xunyicao/Library/Developer/Xcode/DerivedData/XXX-eulxodvukgcjxwhcvetjtgujbxgi/Build/Intermediates.noindex/ArchiveIntermediates/XXX/InstallationBuildProductsLocation/Applications/XXX.app/Info.plist
原因:Build Phases里面有一个废弃的文件
解决方法:删除该配置就好了
beta7错误
Linker command failed with exit code 1 (use -v to see invocation)
Assertion failed: (false && "compact unwind compressed function offset doesn't fit in 24 bits"), function operator(), file Layout.cpp, line 5758.
解决方法: The "-ld64" Other Linker Flag worked for me! With that said, it also gave me a "-ld64 is deprecated, use -ld_classic instead" warning. I can confirm that both `-ld64" and "-ld_classic" fixed my issue.