当我在模拟器上运行应用程序时,它可以正常工作。但是,当我尝试在物理设备上运行该应用程序时,显示错误:failed with exit code 1
。
这是日志:
CopySwiftLibs
/用户/ alivenow /库/开发人员/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app
(目标:WAStickersThirdParty)
cd /用户/ alivenow /台式机/ IOS \ app / stickers-master / iOS
导出CODESIGN_ALLOCATE = / Applications / Xcode.app / Contents / Developer / Toolchains / XcodeDefault.xctoolchain / usr / bin / codesign_allocate
导出DEVELOPER_DIR = / Applications / Xcode.app / Contents / Developer
导出SDKROOT = / Applications / Xcode.app / Contents / Developer / Platforms / iPhoneOS.platform / Developer / SDKs / iPhoneOS12.1.sdk
内置swtStdLibTool-复制-详细-签名D8D25B2EC12AA1D3D7CD0A6B9B9BFA88ABAC300D-扫描可执行
/用户/ alivenow /库/开发人员/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/WAStickersThirdParty
--scan-folder /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks
--scan-folder /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/PlugIns
--scan-folder /Users/alivenow/Desktop/stickers-master/iOS/WebP.framework --platform
iphoneos-工具链
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
--destination /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks
--strip-bitcode --resource-destination /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app
--resource-library libswiftRemoteMirror.dylib --strip-bitcode-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip
--emit-dependency-info /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Intermediates.noindex/WAStickersThirdParty.build/Debug-iphoneos/WAStickersThirdPart.Build
根据扫描的二进制文件要求的Swift ABI版本:6
libswiftDispatch.dylib是最新的
/用户/ alivenow /库/开发人员/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftDispatch.dylib
libswiftMetal.dylib是最新的
/Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftMetal.dylib
libswiftCoreImage.dylib是最新的
/用户/ alivenow /库/开发人员/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftCoreImage.dylib
libswiftDarwin.dylib是最新的
/用户/ alivenow /库/开发人员/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftDarwin.dylib
libswiftSwiftOnoneSupport.dylib是最新的
/用户/ alivenow /库/开发人员/ Xcode / DerivedData / WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid / Build /产品/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftSwiftOnoneSupport.dylib
libswiftCoreGraphics.dylib是最新的
/Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftCoreGraphics.dylib
libswiftos.dylib是最新的
/用户/ alivenow /库/开发人员/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftos.dylib
libswiftFoundation.dylib是最新的
/Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftFoundation.dylib是libswiftCoredy。
/Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftCore.dylib
libswiftCoreFoundation.dylib是最新的
/用户/ alivenow /库/开发人员/ Xcode / DerivedData / WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid / Build /产品/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftCoreFoundation.dylib
libswiftObjectiveC.dylib是最新的
/Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftObjectiveC.dylib是libswiftUI的更新日期。
/用户/ alivenow /库/开发人员/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftUIKit.dylib
libswiftQuartzCore.dylib是最新的
/Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftQuartzCore.dylib是libswiftRemote。
/用户/ alivenow /库/开发人员/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/libswiftRemoteMirror.dylib
探查签名
/Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftDispatch.dylib
/ usr / bin / codesign -r- --display
/用户/ alivenow /库/开发人员/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftDispatch.dylib
/Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftDispatch.dylib:
代码对象根本没有签名
协同设计
/Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftDispatch.dylib
/ usr / bin / codesign --force --sign
D8D25B2EC12AA1D3D7CD0A6B9B9BFA88ABAC300D-详细
/Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftDispatch.dylib
/Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftDispatch.dylib:
errSecInternalComponent
错误:退出代码1失败
最佳答案
您是否尝试过使用Clean build文件夹进行清理?
组合键为:
ALT + SHIFT + COMMAND + K
要么
您的问题与开发者帐户有关
关于ios - 无法在物理设备上构建iOS应用,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/53723462/