Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang

解决Xcode配置问题:从AppleLLVMcompiler到libstdc++转换

ProcessPCH++ "/Users/xxxx/Library/Developer/Xcode/DerivedData/English_Reader-alybxowggrudboejoylghzohavko/Build/Intermediates/PrecompiledHeaders/English Reader-Prefix-fldqdedtnerfrubpymgklsjvzccz/English Reader-Prefix.pch.pth" "English Reader/English Reader-Prefix.pch" normal i386 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler

    


clang: error: invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1



解决方法:

将Apple LLVM compiler 4.1 - Language ->c++ Standard Library 修改为 libstdc++ (GNU C++ standard library)







Appid: __UNI__F5500F0 Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild archive -sdk iphoneos18.1 -project [PackagePath]/HBuilder.xcodeproj -archivePath [PackagePath]/XArchive/HBuilder.xcarchive -scheme HBuilder -configuration Debug User defaults from command line: IDEArchivePathOverride = [PackagePath]/XArchive/HBuilder.xcarchive IDEPackageSupportUseBuiltinSCM = YES Build settings from command line: SDKROOT = iphoneos18.1 Prepare packages ComputeTargetDependencyGraph note: Building targets in dependency order note: Target dependency graph (1 target) Target 'HBuilder' in project 'HBuilder' (no dependencies) GatherProvisioningInputs CreateBuildDescription ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk -x objective-c -c /dev/null ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk -x c -c /dev/null ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --version --output-format xml1 ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --print-asset-tag-combinations --output-format xml1 [PackagePath]/HBuilder/Assets.xcassets ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --version --output-format xml1 ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E
03-19
Showing All Messages Ld /Users/minertycoon/Library/Developer/Xcode/DerivedData/Unity-iPhone-fwteroykcrftmqfwqbgrwacvgcad/Build/Products/ReleaseForRunning-iphoneos/CryptoFortuneTycoonBTCMiner.app/CryptoFortuneTycoonBTCMiner normal (in target 'Unity-iPhone' from project 'Unity-iPhone') cd /Users/minertycoon/Documents/untitled\ folder\ 6 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -Xlinker -reproducible -target arm64-apple-ios13.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.5.sdk -Os -L/Users/minertycoon/Library/Developer/Xcode/DerivedData/Unity-iPhone-fwteroykcrftmqfwqbgrwacvgcad/Build/Intermediates.noindex/EagerLinkingTBDs/ReleaseForRunning-iphoneos -L/Users/minertycoon/Library/Developer/Xcode/DerivedData/Unity-iPhone-fwteroykcrftmqfwqbgrwacvgcad/Build/Products/ReleaseForRunning-iphoneos -L/Users/minertycoon/Library/Developer/Xcode/DerivedData/Unity-iPhone-fwteroykcrftmqfwqbgrwacvgcad/Build/Products/ReleaseForRunning-iphoneos/XCFrameworkIntermediates/AppLovinMediationFyberAdapter -L/Users/minertycoon/Library/Developer/Xcode/DerivedData/Unity-iPhone-fwteroykcrftmqfwqbgrwacvgcad/Build/Products/ReleaseForRunning-iphoneos/XCFrameworkIntermediates/AppLovinMediationGoogleAdapter -L/Users/minertycoon/Library/Developer/Xcode/DerivedData/Unity-iPhone-fwteroykcrftmqfwqbgrwacvgcad/Build/Products/ReleaseForRunning-iphoneos/XCFrameworkIntermediates/AppLovinMediationInMobiAdapter -L/Users/minertycoon/Library/Developer/Xcode/DerivedData/Unity-iPhone-fwteroykcrftmqfwqbgrwacvgcad/Build/Products/ReleaseForRunning-iphoneos/XCFrameworkIntermediates/AppLovinMediationMintegralAdapter -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.5.sdk/usr/lib/swift -F/Users/minertycoon/Library/Developer/Xcode/DerivedData/Unity-iPh
最新发布
07-29
评论 5
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值