OpenFeint 2.4 and 2.2.1 firmware

Discussion in 'Public Game Developers Forum' started by YOMANx, Jan 10, 2010.

  1. YOMANx

    YOMANx Well-Known Member

    Nov 18, 2009
    502
    2
    18
    Game Developer
    2,4 feint use some services like "your position" so it's need 3.0+ firmware

    but rly cut this options and use openfeint 2.4 on 2.2.1?
     
  2. EgyptianDuck

    EgyptianDuck Member

    Dec 7, 2009
    7
    0
    0
    England
    I just don't understand you.
     
  3. YOMANx

    YOMANx Well-Known Member

    Nov 18, 2009
    502
    2
    18
    Game Developer
    I mean Can I disable the options that require firmware 3.0..

    and use openfeint 2.4 on 2.2.1 firmwares
     
  4. JamesW

    JamesW Member

    Nov 16, 2009
    10
    0
    0
    You've got the OpenFeint source code...
     
  5. YOMANx

    YOMANx Well-Known Member

    Nov 18, 2009
    502
    2
    18
    Game Developer
    deleted mapkit, works well
     
  6. mobileben

    mobileben Well-Known Member

    Jul 17, 2009
    595
    0
    0
    Lumpy's Handler
    Zgrunturos and San Francisco
    You don't have to delete the mapkit. The trick to this is:

    -Set your Base SDK in your app settings to 3.0 or higher
    -Set your Deployment Target to 2.2.1
    -In your target settings, for the linked libraries, set both MapKit and UIKit to be weak linked

    Build for targets 3.0 or higher (not for 2.2.1). You can then load that build onto OS2.2.1 devices or higher.

    Also, there is another caveat which we hit. If you do any form of casting to doubles, you'll run into a problem where, on a 2.2.1 device a lazy link will fail during runtime.
     
  7. YOMANx

    YOMANx Well-Known Member

    Nov 18, 2009
    502
    2
    18
    Game Developer

    but when i post it to review i can see message only for 3.0 users? or 2.2.1?


    and can't understand it:
    Also, there is another caveat which we hit. If you do any form of casting to doubles, you'll run into a problem where, on a 2.2.1 device a lazy link will fail during runtime.
     
  8. mobileben

    mobileben Well-Known Member

    Jul 17, 2009
    595
    0
    0
    Lumpy's Handler
    Zgrunturos and San Francisco
    I have no idea what you are trying to say, when you say

    "when i post it to review i can see message only for 3.0 users? or 2.2.1?"

    For the second part, it has to do with casting values to doubles. If you are not using doubles, then I would not worry about it.
     
  9. Taplay

    Taplay Well-Known Member

    Dec 15, 2009
    317
    0
    0
    Hi YOMANx,

    I followed your instruction to setup openfeint 2.4.2, it works fine on emulator and OS3.x device.

    But when I install into OS2.2.1 device, I got the errors below:
    <Program received signal: “EXC_BAD_ACCESS”.>

    Do you have any suggestions to solve the problem? thanks!

    *The game is using cocos2D 0.9.0 beta2
     
  10. YOMANx

    YOMANx Well-Known Member

    Nov 18, 2009
    502
    2
    18
    Game Developer
    #10 YOMANx, Jan 18, 2010
    Last edited: Jan 18, 2010
    MapKit.framework, delete it in Frameworks.


    ps try it on device! maybe it's lag with sim..
     
  11. GavinBowman

    GavinBowman Well-Known Member

    Don't do that.

    MapKit and UIKit both need to be weak references. It's all there in the release notes guys. You should always read them to keep up with integration changes.
     
  12. Taplay

    Taplay Well-Known Member

    Dec 15, 2009
    317
    0
    0
  13. YOMANx

    YOMANx Well-Known Member

    Nov 18, 2009
    502
    2
    18
    Game Developer
    #13 YOMANx, Jan 18, 2010
    Last edited: Jan 18, 2010
    try to remove it completely from the project and instal project to device.
    and I'll try make some tests tests with my code..


    ps you used 2.2.1 device before build?


    just disable mapkit in options, 2 2 1
     
  14. Taplay

    Taplay Well-Known Member

    Dec 15, 2009
    317
    0
    0
    Can you please give me a more detail guideline how to make it?

    If I complete remove MapKit framework from the project, can I still compile without error?
     
  15. YOMANx

    YOMANx Well-Known Member

    Nov 18, 2009
    502
    2
    18
    Game Developer
    #15 YOMANx, Jan 18, 2010
    Last edited: Jan 18, 2010
    In order for compiling a new openfeint under 3.0, need to be connected framework MapKit

    if at 2.2.1, it must be disabled

    and necessarily need to connect in Precompiled header connect, OpeFeint Precompiled header: OpenFeint.pch
     
  16. Taplay

    Taplay Well-Known Member

    Dec 15, 2009
    317
    0
    0
  17. EssentialParadox

    EssentialParadox Well-Known Member

    Sep 21, 2009
    602
    0
    0
    UK / Toronto
    It seems a bit silly if a developer isn't putting out for 2.2.1 at this point. The size of the potential iPod Touch audience is certainly worth switching a couple of APIs as weak links.
     

Share This Page