我目前正在向Apple商店提交我的第一个应用程序.我已完成以下流程
当我构建应用程序时,它在应用程序模拟器和实际的ipad上运行完美,但是当我将我的应用程序切换到Archive
iOS设备时,我有一个主要的代码签名错误,我已在下面附加.
codesign /Users/Gaby/Library/Developer/Xcode/DerivedData/RoyalAppInspection-dthvtpxadkslqmhkwdpaqkyujscg/Build/Products/Debug-iphoneos/RoyalAppInspection.app
cd /Users/Gaby/Desktop/RoyalAppInspection
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin
/usr/bin/codesign --force --sign 79640A11C8D22589BD337496ABB8443581513846 --entitlements /Users/Gaby/Library/Developer/Xcode/DerivedData/RoyalAppInspection-dthvtpxadkslqmhkwdpaqkyujscg/Build/Intermediates/RoyalAppInspection.build/Debug-iphoneos/RoyalAppInspection.build/RoyalAppInspection.app.xcent /Users/Gaby/Library/Developer/Xcode/DerivedData/RoyalAppInspection-dthvtpxadkslqmhkwdpaqkyujscg/Build/Products/Debug-iphoneos/RoyalAppInspection.app
79640A11C8D22589BD337496ABB8443581513846: no identity found Command /usr/bin/codesign failed with exit code 1
Run Code Online (Sandbox Code Playgroud)
我不知道如何解决这个问题,因为我已经尝试确保该过程的所有其他方面都已正确完成.
我所担心的一个问题是当我点击配置文件时它不会打开并且"添加到库"不会弹出(由于某种原因我无法访问iphone配置实用程序.)我手动将.mobileprovision文件添加到我的xcode项目,但我认为这也可能是我的错误的来源.
任何人,你能帮忙吗?