2012-07-18 5 views
3

안녕하세요, "Application Loader"를 통해 Mac Store 용 MonoMac 바이너리에 코드 서명을 시도하고 있습니다. 앱을 제출할 수는 있지만 "Itunes Connect"의 상태는 항상 "Invalid Binary"라고 표시됩니다! 수동으로해야하는 이유는 MonoMac 서명에 버그가 있기 때문입니다. 하지만 하루 반이 지났을 때 나는 내 머리카락을 꺼내기 시작했습니다.MonoMac Mac Store의 "codesign"으로 서명하십시오. (Invalid Binary)

또한 있다는 이메일을 다시 얻을 : 나는 "응용 프로그램 로더는"오류를 줄 것이다 이것과 바이너리에 서명하려고하면

Invalid Signature - the main app bundle Paper Tanks at path Paper Tanks.app is signed but the signature is invalid.

:

codesign -v --force --sign "A72F25F56B7D6C43332AE795288EA092009BE737" "--resource-rules=/Users/Andrew/Reign/Games/papertanks/PaperTanks_OSX/PaperTanks_OSX/bin/AppStore/Paper Tanks.app/Contents/Resources/ResourceRules.plist" --entitlements "/Users/Andrew/Reign/Games/papertanks/PaperTanks_OSX/PaperTanks_OSX/bin/AppStore/Paper Tanks.xcent" "/Users/Andrew/Reign/Games/papertanks/PaperTanks_OSX/PaperTanks_OSX/bin/AppStore/Paper Tanks.app" 

Application Loader error = "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile: 'com.apple.application-indetifier' in Paper Tanks.app/Contents/macOS/Paper Tanks'." 

그래서 위의 단계 때문에 다음과 같이 코드 번호가 잘못되었습니다.

codesign -v --force --sign "3rd Party Mac Developer Application: Andrew Witte" "--resource-rules=.../AppStore/Paper Tanks.app/Contents/Resources/ResourceRules.plist" "..../AppStore/Paper Tanks.app"

그런 다음 내부 모노 posix lib에 다음과 같이 서명합니다. 마지막 단계는 그렇게 보이지 않습니다.

codesign -v --force --sign "3rd Party Mac Developer Application: Andrew Witte" .../AppStore/Paper\ Tanks.app/Contents/Resources/libMonoPosixHelper.dylib

은 그 때 나는 구축하고 PKG 서명 :

productbuild --component ".../AppStore/Paper Tanks.app" /Applications --sign "3rd Party Mac Developer Installer: Andrew Witte" ".../AppStore/PaperTanks_OSX-0.1.pkg"

답변

3

문제는 엑스 코드 4.4

로 업그레이드 내게로 고정