- Home /
Error with Application Loader
When I try to upload my .pkg to the Mac App Store using Application Loader I get the following error:
ERROR ITMS-90239: "Invalid Signature. Code object is not signed at all. The binary at path [PullSticks.app/Contents/MacOS/PullSticks] contains an invalid signature. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library...deSigningGuide/Introduction/Introduction.html"
Here are the steps on terminal to codesign the app:
chmod -R a+xr "Unity/Space/MacApp/PullSticks.app"
export CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate"
codesign --force -v --sign "3rd Party Mac Developer Application: FBF Sistemas" "Unity/Space/MacApp/PullSticks.app/Contents/entitlements.plist"
codesign --force -v --sign "3rd Party Mac Developer Application: FBF Sistemas" --entitlements "Unity/Space/MacApp/PullSticks.app/Contents/entitlements.plist" "Unity/Space/MacApp/PullSticks.app/Contents/Frameworks/MonoEmbedRuntime/osx/libmono.0.dylib"
codesign --force -v --sign "3rd Party Mac Developer Application: FBF Sistemas" --entitlements "Unity/Space/MacApp/PullSticks.app/Contents/entitlements.plist" "Unity/Space/MacApp/PullSticks.app/Contents/Frameworks/MonoEmbedRuntime/osx/libMonoPosixHelper.dylib"
codesign --force --verify --sign "3rd Party Mac Developer Application: FBF Sistemas" --entitlements "Unity/Space/MacApp/PullSticks.app/Contents/entitlements.plist" "Unity/Space/MacApp/PullSticks.app"
productbuild --component "Unity/Space/MacApp/PullSticks.app" "/Applications" --sign "3rd Party Mac Developer Installer: FBF Sistemas" "Unity/Space/MacApp/PullSticks.pkg"
Please, any help?
Your answer
Follow this Question
Related Questions
submitting to windows app store 1 Answer
Mac App Store Validation Question 1 Answer
How do I make an in-app update for my Mac app 0 Answers
how to view 3d model fully controllable in unity 5 0 Answers
Portrait Android app? 1 Answer