gpt4 book ai didi

ios - 无法在物理设备上构建 ios 应用程序

转载 作者:行者123 更新时间:2023-11-28 19:26:42 25 4
gpt4 key购买 nike

当我在模拟器上运行应用程序时,它可以正常工作。但是,当我尝试在物理设备上运行该应用程序时,它显示错误:退出代码 1 失败

这是日志:

CopySwiftLibs /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app (in target: WAStickersThirdParty) cd /Users/alivenow/Desktop/IOS\ app/stickers-master/iOS 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/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk builtin-swiftStdLibTool --copy --verbose --sign D8D25B2EC12AA1D3D7CD0A6B9B9BFA88ABAC300D --scan-executable /Users/alivenow/Library/Developer/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 --toolchain /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/WAStickersThirdParty.build/SwiftStdLibToolInputDependencies.dep

Requested Swift ABI version based on scanned binaries: 6 libswiftDispatch.dylib is up to date at /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftDispatch.dylib libswiftMetal.dylib is up to date at /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftMetal.dylib libswiftCoreImage.dylib is up to date at /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftCoreImage.dylib libswiftDarwin.dylib is up to date at /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftDarwin.dylib libswiftSwiftOnoneSupport.dylib is up to date at /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftSwiftOnoneSupport.dylib libswiftCoreGraphics.dylib is up to date at /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftCoreGraphics.dylib libswiftos.dylib is up to date at /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftos.dylib libswiftFoundation.dylib is up to date at /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftFoundation.dylib libswiftCore.dylib is up to date at /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftCore.dylib libswiftCoreFoundation.dylib is up to date at /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftCoreFoundation.dylib libswiftObjectiveC.dylib is up to date at /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftObjectiveC.dylib libswiftUIKit.dylib is up to date at /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftUIKit.dylib libswiftQuartzCore.dylib is up to date at /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftQuartzCore.dylib libswiftRemoteMirror.dylib is up to date at /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/libswiftRemoteMirror.dylib Probing signature of /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftDispatch.dylib /usr/bin/codesign -r- --display /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: code object is not signed at all

Codesigning /Users/alivenow/Library/Developer/Xcode/DerivedData/WAStickersThirdParty-awzqfhzesbnkweesytfblnqvcnid/Build/Products/Debug-iphoneos/WAStickersThirdParty.app/Frameworks/libswiftDispatch.dylib /usr/bin/codesign --force --sign D8D25B2EC12AA1D3D7CD0A6B9B9BFA88ABAC300D --verbose /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

error: Failed with exit code 1

最佳答案

您是否尝试过使用 Clean build folder 进行清理?

组合键是:

Alt + SHIFT + COMMAND + K

您的问题与开发者帐户有关

关于ios - 无法在物理设备上构建 ios 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53723462/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com