我最近將應用程序從一個帳戶轉移到另一個帳戶。我可以將應用程序提交到App Store並在模擬器中運行它。然而,當我嘗試我的設備上運行它,我得到這個錯誤:Xcode開發代碼簽名問題
CodeSign /Users/floydresler/Library/Developer/Xcode/DerivedData/App_for_Dark_Tower-egxiflrzexibnghkjwvtznkhigek/Build/Products/Debug-iphoneos/App\ for\ Dark\ Tower.app
cd "/Users/floydresler/Source Code/App for Dark Tower"
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/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
Signing Identity: "iPhone Developer: Floyd Resler (6UFPUB2SE5)"
Provisioning Profile: "Dark Tower Dev"
(31912d69-5ec4-4740-a696-81ea06d3f3fb)
/usr/bin/codesign --force --sign 4EA262133AD193D1EB339D5E39FC055053663735 --entitlements
/Users/floydresler/Library/Developer/Xcode/DerivedData/App_for_Dark_Tower-egxiflrzexibnghkjwvtznkhigek/Build/Intermediates/App\ for\ Dark\ Tower.build/Debug-iphoneos/App\ for\ Dark\ Tower.build/App\ for\ Dark\ Tower.app.xcent --timestamp=none
/Users/floydresler/Library/Developer/Xcode/DerivedData/App_for_Dark_Tower-egxiflrzexibnghkjwvtznkhigek/Build/Products/Debug-iphoneos/App\ for\ Dark\ Tower.app
/Users/floydresler/Library/Developer/Xcode/DerivedData/App_for_Dark_Tower-egxiflrzexibnghkjwvtznkhigek/Build/Products/Debug-iphoneos/App for Dark Tower.app: resource fork, Finder information, or similar detritus not allowed
Command /usr/bin/codesign failed with exit code 1
我試圖清除,刪除導出的數據,重新創建開發配置文件,並沒有什麼作品。我做錯了什麼>
你試過從設備上刪除應用程序,然後再次運行呢? –
當我最近完成轉移的過程時,它也變得怪異的行爲。我使用我的設備從App Store測試應用程序,構建以前開發者帳戶的版本,並且因爲我想使用另一個開發人員帳戶和供應配置文件在模擬器上運行應用程序,我意識到設備重置可能會有所幫助。它幫助。設備也保存一些衍生數據,例如在Mac驅動器上的模擬器。 – pedrouan
對我來說還是沒有運氣。它現在甚至不會爲通用設備歸檔。我注意到的一件事是錯誤(6UFPUB2SE5)中顯示的ID是以前開發者帳戶的ID。我一直未能成功使用當前的開發者帳號ID。 –