MAC Store submission: Invalid Binary
Archives Forums/MacOS X Discussion/MAC Store submission: Invalid Binary
| ||
Hi, I'm trying to submit a Blitzmax app on the MAC Store. After a first submission with a signature error (forgot the intermediate certificate(...)), the upload went fine, but all I get from Apple is Invalid Binary without any explanation. I guess signatures are ok as it doesn't reject me about this as it did the first time. I used ima747 tutorial (thank you!), everything is ok for the installer and uploader. OS X: 10.7.1 BMax : 1.44 (not b) GCC: 4.2.1 XCode: 4.1 Any clue ? (I'll download Xcode 4.2 soon (poor connection)) (I have the feeling I'm asking "it doesn't print, what's wrong ?" ... ) |
| ||
The errors are always crap :0) How's the name of the binary? Any spaces, non alphanumeric chars, etc? Hit up google... Poke stack overflow and the official apple boards... Cross fingers. |
| ||
I once had that problem... I just recompiled my binary, re-created the installer, tested everything and re-submitted, and then it worked. Could have been just some problem during the upload... |
| ||
Thank you, No I don't have any space in names anywhere, the packaging name is bOxOn.pkg I did recompile and add lines in info.plist, signed all and did everything step by step several times. All my files are stored in the exe (IncBin) so there is no other file/dir than the bOxOn.app. I hope it's not an issue. (I read that it is not good if there is the PPC executable because it means double data, indeed, but now there is just the intel version). I'm downloading Xcode 4.2 and give it another try. I'll let you know. |
| ||
*within* the .app I mean the file name of the actual binary. The binary will, by default, be named to match you base bmx file. So if you called it "bOxOn Game.bmx" the binary will be "bOxOn Game" which contains a space. The into.plist targets the binary by name, so if you change it you have to update your info.plist to match. The package file can contain spaces I think, but to minimize the chances for errors I always strip everything down to alphanumeric only... |
| ||
I'm an old ASM MS-Dos programmer, I very rarely put space or other not_7_bits characters in any filenames :) But I'm quite a beginner on mac :( So I installed XCode 4.2, recompile my projects, modify info.plist,sign and package everything. The pkg works on my mac and the uploader is happy, but still have Invalid Binary and no information. I'm writing to Apple support. Actually before that, I tried to recompile Blitzmax modules before my project but it is failing now. (it's not the same error than Nigel Brown) Building Modules Compiling:blitz_app.c In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:12, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, from /Developer/BlitzMax/mod/brl.mod/blitz.mod/blitz_app.c:66: /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory ... a lot of other .h are not found. Files are where they should be, investigating... |
| ||
Fred did you solve this as my modules aren't compiling after upgrade to xcode 4.2 either? Same type of errors:Building HolidayBonus Compiling:GAGMacLib.m In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:12, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10, from /Users/jake/Desktop/Source/New Source/include/GAGMacLib.m:1: /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10, from /Users/jake/Desktop/Source/New Source/include/GAGMacLib.m:1: /Developer/SDKs/MacOSX10.6.sdk/usr/include/float.h:8:24: error: float.h: No such file or directory In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:17, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:81, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10, from /Users/jake/Desktop/Source/New Source/include/GAGMacLib.m:1: /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:29:23: error: xmmintrin.h: No such file or directory In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:17, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:81, from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10, from /Users/jake/Desktop/Source/New Source/include/GAGMacLib.m:1: /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:216: error: expected specifier-qualifier-list before '__m128' Build Error: failed to compile /Users/jake/Desktop/Source/New Source/include/GAGMacLib.m Process complete Last edited 2011 |
| ||
Did you delete your build folder? Because that'll give errors every time, if not. XCode 4.3 Beta is available to developers, by the way. |
| ||
Yeah build folder (you mean .bmx folder right?) delete and Quick Build turned off. Same thing. I've just got used to 4.2, don't need to learn 4.3, gah! |
| ||
Yeah build folder (you mean .bmx folder right?) delete and Quick Build turned off. Same thing. No I actually meant Build folder - thought you were on about Monkey for some reason! |
| ||
Hi, After a few meaningless exchanges, Apple said approximately: "Blitzmax ! no support !" Thank you so much. As the last valid modules build gave me working modules I didn't try anymore. My pkg is working well on different Macs. I tried to change all my IncBins to App/Resources regular loadings. Still Invalid binary status and no email from their system. My connection is very poor (20Mo=40Mns upload), I'll try to upload it from a real connection. (this should be pointless, but as there are some "improved data transfert reliability" in Uploader's change log, ...) May be we can share our info.plist files ? (but this kind of error should be detected within the Uploader or server side ? (as long as the file integrity is fine after upload...)) And thanks for thinking about deleting the build folder, it happened to me several times with Monkey ;) |
| ||
Hello, Shame on me :( After trying to upload my bOxOn app with a real connection, I got again Invalid binary. So no place for doubts, I'm doing something wrong. I read again all possible reasons for invalid binary on internet, I should be fine but as there are a lot of issues from info.plist, I searched for a valid example and I was lucky enough to find a multilangual version. My mistake was with CFBundleLocalizations. XCode editor doesn't allow to put an array as parameter for this key, just <string>. So I wrote as told somewhere on internet <string>fr,en,de,it, ... </string> but that is wrong. The list should be in an array: <array><string>fr</string><string>en</string> ... </array>. Why do they provide an editor that doesn't meet their own requirement ? It's very disapointing that their automatic check doesn't report anything. Just an invalid info.plist email could be so more helpful. Now I'm ready to face the "Application rejected because of bad Apple faith"... |
| ||
Thanks for the update. Keep us posted, good luck! |
| ||
OK, it's on the Mac Store. I nearly forgot to tell you. As I predicted, I was rejected the first time for bad faith ! Actually I forgot to change some texts from the PC version, and as the game was made with the iPad conversion in mind (that shows), they told me that the quality and spirit required for Mac apps is really higher than iPad apps :( I changed the texts, add some shortcuts as discussed somewhere here (full screen & quit) and they accepted it. There is a free lite version here: www.ludoid.com/bOxOn Thank you ! |
| ||
Congrats! |