Help With Viewer?

netdzynrnetdzynr Member Posts: 296
edited November -1 in Working with GS (Mac)
OK, I'm trying to go through the process of building the GS viewer and getting it onto my Touch, but I'm stuck at the step where you set the Code Signing Identity. All the options under the pulldown are greyed out, with subtext that reads "profile doesn't match Application Identifier 'com.gendaigames.gamesaladviewer' ".

Does this mean that I have to go into Apple's provisioning portal and set up a certificate for the viewer app using gendai's name instead of my own? I don't see any instructions in the Viewer docs that say you need to do this...

Thanks for any suggestions. The hoops you have to jump through just to test an app are mind boggling.

Comments

  • bladeolsonbladeolson Member Posts: 295
    You need to use your own. Have you ever complied to a device with xcode before? I suggest you check out developer.apple.com to learn how.
  • netdzynrnetdzynr Member Posts: 296
    OK, but this still doesn't answer my question of why I'm seeing "profile doesn't match Application Identifier 'com.gendaigames.gamesaladviewer' ". I believe I have all my provisions/certificates in place (I'm already testing 5 games on the Touch using the iTunes sync method). I just trying to get the viewer working now. Any other suggestions?
  • jweaver911jweaver911 Member Posts: 439
    Netdzynr,

    You need to go to the resources in the xcode left pane, click on the info.plist file and edit the provsioning profile to reflect one that YOU own. If you say that you have already done this through apple's dev area, then this part should be cake. After this information is corrected, your viewer should work/compile just fine,...

    Two other things to keep in mind:

    -You need to build the "release" and not "Debug" build when compiling the Viewer out of xcode.
    -If you don't see the "iPhone Preview" button in GS right away,(i didn't on mine, even though I had it running on my iPod) then try restarting. There are a few threads on these issues should they arise.

    Hope that helps!
  • sebmacflysebmacfly Member Posts: 1,018
    I bought the provisioning certificate on the apple site.. (99$) how i can get my com.xxxx.xxxx ??
    I can't find it...
  • jweaver911jweaver911 Member Posts: 439
    @ sebmacfly You need to go to the DEV Portal and log in. All the options and "How-to's" for requesting Certs and profiles are listed there. :)

    It's a very hoop-laden process. Not fun at all. But after doing it once... You shouldn't have much trouble in the future.
  • sebmacflysebmacfly Member Posts: 1,018
    In the Provisioning Portal i can see 6 menus...
    (Home, Certificates, Devices, AppIDs, Provisioning and Distribution)...

    I have to do it here?
  • jweaver911jweaver911 Member Posts: 439
    @sebmacfly

    Yep, it sounds like you're in the right spot.

    Just follow the GameSalad Tutorials for the specific order of how to do things from there. After you get that done. Then refer to my message a few posts up or go here

    http://gamesalad.com/wiki/developing_for_iphone:building_gamesalad_viewer?s[]=viewer
  • netdzynrnetdzynr Member Posts: 296
    jweaver -- thanks for pointing me in the right direction, but I think I'm still missing something. I have GameSalad Viewer open in Xcode. Under Groups & Files on the left, I see a Resources folder with an Info.plist file. In this file, the only entry that contains anything that resembles an app id is the Bundle Indentifier, which currently reads com.gendaigames.gamesaladviewer. Is this what I need to change to my own com.myname.viewer? Even when I do this and save, the options under Code Signing Identity are all greyed out and read "profile doesn't match Application Identifier 'com.myname.viewer' "

    I have the Active SDK set to "Device 3.1" and Active Configuration set to "Release". I've created a Provisioning Profile on Apple's site, downloaded it, and double-clicked it, so I assume it is already loaded in Keychain. What else do I have to do?

    Serious frustration...
  • jweaver911jweaver911 Member Posts: 439
    you don't want to name your bundle id com.yourname.viewer with "Viewer" in the name at all.
    It needs to be set to your bundle id that you set up when you added an APP ID. Just replace what you put there, with what you registered in the APP ID section of the DEV portal.

    Maybe you haven't done the APP ID part yet. Go to the APP section and do that, plus you need to register your device as a developer device.

    Like I said, this is all information included in this section
    http://gamesalad.com/wiki/developing_for_iphone

    make sure you've followed all of those steps.
  • netdzynrnetdzynr Member Posts: 296
    Thanks jweaver. Sorry to continue the pain :-) Maybe I'm just not using the right terminology. If I may, let me try one more time before I give up.

    I've been to the dev portal, created a provisioning profile that I want to use with the GS viewer application, downloaded it, and launched the profile in Keychain. I included "viewer" in the profile name so I could know what app I'm associating the profile with. Is this wrong to do?

    I already have 5 devices registered in the dev portal, and I have my Touch selected as the device to use with the above profile.

    Regarding the Xcode build process, aren't I trying to associate my copy of the GS viewer with the above profile I just downloaded?

    I see in the dev portal that the Bundle ID is the 10 characters inserted before the "com" -- am I supposed to enter the entire string (ABCDE12345.com.myname.devprofile) into the Bundle Identifier entry of the Viewer plist?

    Could someone who is using the GS viewer tell me what Xcode expects to see under the Code SIgning Identity portion in the Build tab?

    Thanks again.
  • netdzynrnetdzynr Member Posts: 296
    I think I should mention that I don't think the problem I'm having is the bundle identifier -- it's the Code Signing portion of the process. Xcode says "no profiles currently match" and won't let me select any profile installed on my system (I have 5) -- they're all greyed out. Why would this be be?

    Thanks.
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    To be honest ive never ran into any issues
    There is a walkthrough built into the viewer too

    I just download the viewer open the main file by double clicking

    Xcode opens up and then your Game salad now has a new view option

    If you have downloaded your certificate it should work for you. GS finds it.
  • jweaver911jweaver911 Member Posts: 439
    Sorry netdzynr, but unless we get some more specifics about what you've done when and where, it's rather hard to help.

    To answer your question, no, you don't need to put that extra string into your Bundle ID. and when xcode says it's got issues with the code signing it's referring to that bundle idea alone. Shouldn't be anything else.

    And I simply used my new app id bundle id which had nothing to do with "viewer" so I didn't anticipate you creating an APP ID bundle ID specifically for the viewer, which is rather unnecessary (from my experience).

    Like I said, I followed the instructions as close as possible and it worked save for that bundle Id issue which I found the solution for by using the forum.

    Good luck!
  • sebmacflysebmacfly Member Posts: 1,018
    i can run gamesalad on my 3.1.2 iphone device... but in gamesalad creator i can't see the preview on iphone button ....
    On my iphone, gamesalad viewer are telling me : GameSalad Creator not Found on Network...

    Help please
  • sebmacflysebmacfly Member Posts: 1,018
    It's ok... it was a wifi problem on my iphone, now it's good.... GS viewer can see my gamesalad creator running.
Sign In or Register to comment.