这有点奇怪。
我认为这与XCode 12有关,但是我同时进行了一些项目更改,也许就是这样。看来我可以将项目有意义地成功部署到运行ios 13或ios 14的设备上,项目运行正常,但是当我尝试部署到模拟器时,它无法将某些内容复制到目标中。我已经在各个论坛中查看了许多相关问题,但还没有看到专门解决的问题。
CopySwiftLibs /Users/seanl/Library/Developer/Xcode/DerivedData/PROJNAME-dmjlgigvatannqerrubxabptwsnp/Build/Products/Debug-iphonesimulator/appname.app (in target 'APPNAME' from project 'PROJNAME')
cd /Users/seanl/development/Projdir
export CODESIGN_ALLOCATE\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer
export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk
builtin-swiftStdLibTool --copy --verbose --sign - --scan-executable /Users/seanl/Library/Developer/Xcode/DerivedData/PROJNAME-dmjlgigvatannqerrubxabptwsnp/Build/Products/Debug-iphonesimulator/APPNAME.app/APPNAME --scan-folder /Users/seanl/Library/Developer/Xcode/DerivedData/PROJNAME-dmjlgigvatannqerrubxabptwsnp/Build/Products/Debug-iphonesimulator/APPNAME.app/Frameworks --scan-folder /Users/seanl/Library/Developer/Xcode/DerivedData/PROJNAME-dmjlgigvatannqerrubxabptwsnp/Build/Products/Debug-iphonesimulator/APPNAME.app/PlugIns --scan-folder /Users/seanl/Library/Developer/Xcode/DerivedData/PROJNAME-dmjlgigvatannqerrubxabptwsnp/Build/Products/Debug-iphonesimulator/WhirlyGlobeMaplyComponent.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/iAd.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/AdSupport.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/CoreMotion.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/GLKit.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/Photos.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/WebKit.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/ImageIO.framework --scan-folder /Users/seanl/development/Projdir/Firebase/FirebaseAnalytics/GoogleAppMeasurement.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/AVKit.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/CoreMedia.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/AVFoundation.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/MobileCoreServices.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/ExternalAccessory.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/AddressBook.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/AddressBookUI.framework --scan-folder /Users/seanl/Library/Developer/Xcode/DerivedData/PROJNAME-dmjlgigvatannqerrubxabptwsnp/Build/Products/Debug-iphonesimulator/WhirlyGlobeMaplyComponent.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/MapKit.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/MessageUI.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/CoreLocation.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/SystemConfiguration.framework --scan-folder /Users/seanl/development/Projdir/Firebase/FirebaseAnalytics/FirebaseAnalytics.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/CFNetwork.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/CoreText.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/CoreGraphics.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/OpenGLES.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/Security.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/StoreKit.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/QuartzCore.framework --scan-folder /Users/seanl/development/Projdir/Firebase/FirebaseAnalytics/FIRAnalyticsConnector.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/UIKit.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/Foundation.framework --platform iphonesimulator --toolchain /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --destination /Users/seanl/Library/Developer/Xcode/DerivedData/PROJNAME-dmjlgigvatannqerrubxabptwsnp/Build/Products/Debug-iphonesimulator/APPNAME.app/Frameworks --strip-bitcode --strip-bitcode-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip --emit-dependency-info /Users/seanl/Library/Developer/Xcode/DerivedData/PROJNAME-dmjlgigvatannqerrubxabptwsnp/Build/Intermediates.noindex/PROJNAME.build/Debug-iphonesimulator/APPNAME.build/SwiftStdLibToolInputDependencies.dep
总是导致:
error: Build input file cannot be found: '/Users/seanl/Library/Developer/Xcode/DerivedData/PROJNAME-dmjlgigvatannqerrubxabptwsnp/Build/Products/Debug-iphonesimulator/APPNAME.app/APPNAME' (in target 'APPNAME' from project 'PROJNAME')
正如我所说,这只是在模拟器上构建的,设备工作正常。有趣的一点是它没有使用swift,但是有一个copySwiftLibs调用,尽管这也许是一个通用的库副本。
我已经在网上搜寻想法,任何想法吗?
谢谢。