At the precipice of the App Store i am left hanging. I have done these steps…Tell me where I effed up.
1.Created my Intel OS X build in Unity using the beta 3.2.2 for the stripping of two items that were causing rejects from the Review Team.
2.Created the Developer Certificates with both Installer and Package certs.
3.Dragged the icon of the Unity built app onto Xcode which opened a window to choose type. I chose Application and it opened up with a what looks like a standard directory (I have maybe 40 hours in Xcode at this point with projects that Unity assembled…this is my first self assembled one)
4. Chose Build type of Release
5. Changed the permission on the Data folders in App/Contents/ to read by everyone.
6. Changed the info.plist entries to match the bundle indentifiers et al. Pointed at the Unity icon it exported for my game.
7.Debug Information Format is set to DWARF with dSYM file
8. Chose Build and Archive. Ran successfully according to logs.
Issue here… It creates an Installer Package which is 31kb. Is this supposed to be simply a wrapper?
Second issue… There is no Icon on the window that comes up in Xcode showing the archives. It has a question mark.
Third issue… When testing the installer package Xcode spit out the size is 31kb and it installs a white window with nothing in it at 320x480…
What am I missing here. I know it has got to be simple…or not…heh
I went through the blurst stuff. They were why I knew the permissions were off. As with most of this they lay out what I already know in detail and then gloss over the parts where I need detail. Not having compiled in Xcode prior to Unity iDevice compiles I am a bit confused. If Xcode creates an installer for me when I choose Share-> Save To Disk, then why is the installer package basically just an empty wrapper?
So the two main issues are why no icon and why the empty installer package? Is there a better than blurst set of implicit instructions on creating the installer with a Unity app? I have googled and searched the Apple Dev Center but i get tangents that have nothing to do with my issue or a repeat of what i have discerned already.
You won’t find any better instructions than Matthew’s at Blurst. There is no need to open XCode - so if you are having XCode problems, go back to the Blurst guide and follow the instructions from the start.
@ezone… Yes. After reviewing my stumble through I will take your advice and do it from the command line. Shuffling back and forth between Apple Dev docs and the Blurst Unity based outline put spinners on my understanding of the process.
Hi. I have done the requisite and after shiffling certs and figuring the Keychain access out I now have a MyGame.pkg. At first I would get a good run through with the Terminal and the resulting package was like 13kb… Definitely not a packaged game that reads 38MB on its own. So, I recompiled thinking I effed something up running it through Xcode prior. It then worked like a charm in codesign and productbuild --component modes and I now have a .pkg that is 13.4MB which sounds about right for a compress 38MB app. The issue is in testing. I select the MyGame.pkg and double click which correctly opens the Installer. I then can choose a harddrive to install it on. I choose the main drive and it does the install routine. I then go to the Applications folders and it is not there. I do a Finder search using dates to sort and find only the previous versions of the game. Here is the Terminal output which seems to state I did it correctly
Music-Studio-iMac:~ danielvisserthooft$ codesign -f -v -s "3rd Party Mac Developer Application: Mind Release labs, LLC" "/Users/danielvisserthooft/Documents/_CubularChessMacBuild/CubularChess.app"
/Users/danielvisserthooft/Documents/_CubularChessMacBuild/CubularChess.app: signed bundle with Mach-O thin (i386) [com.mindreleaselabs.CubularChess]
Music-Studio-iMac:~ danielvisserthooft$ productbuild --component "/Users/danielvisserthooft/Documents/_CubularChessMacBuild/CubularChess.app" "/Applications" --sign "3rd Party Mac Developer Installer: Mind Release Labs, LLC" "/Users/danielvisserthooft/Documents/_CubularChessMacBuild/CubularChess.pkg"
productbuild: Adding component at /Users/danielvisserthooft/Documents/_CubularChessMacBuild/CubularChess.app
productbuild: Signing product with identity "3rd Party Mac Developer Installer: Mind Release Labs, LLC." from keychain /Users/danielvisserthooft/Library/Keychains/login.keychain
productbuild: Adding intermediate certificate "Apple Worldwide Developer Relations Certification Authority"
productbuild: Wrote product to /Users/danielvisserthooft/Documents/_CubularChessMacBuild/CubularChess.pkg
Music-Studio-iMac:~ danielvisserthooft$
Anybody got any idea about why it says it installed but cannot be found. I think the “/Applications” in the productbuild --component should install it in the Applications directory. Does anybody have any further insight into how to test this installer before I upload it to the Mac Store??
Solved…Kind of. I sent it to others on my team and they installed from the .pkg and it worked just dandy. Just awaiting for the Waiting For Upload email and then we will see if all is in order.
I has issues with the prefs setup and it kept getting spit back out. However, a check into it showed that it was something glitchy on their end many apple dev forums had a plethora of WTF?!? type posting about it with an admin popping in to say they were going to do something about it. That was way back at that posting date of the post you quoted. I did get a reminder that i needed to upload them just this morning so I guess you replying here is timely. I probably won’t for a few days as I am ZBrushing a main character currently and the whole Apple roundabout is a sheer focus thing for me. I would like to get it from where I tried thirty combinations of this and that before getting it and couldn’t remember what it was that worked down to maybe five so I can track it and get it to zero.
I remember te one issue with the prefs now. It was using the category from the Blurst games site for the game and it showed up as no available category. I looked around for a list and it did not include any game prefs. That is why I put to aside to move forward on other projects. The rest of their advice worked as far as compiling and got me to the .pkg state. Let this thread know how your run at the problem worked and if the games pref category is now available I may take some time off this evening or tomorrow and upload it.