Search Unity

Open Feint integration problems :(

Discussion in 'iOS and tvOS' started by cosmin007, Nov 25, 2011.

  1. cosmin007

    cosmin007

    Joined:
    May 13, 2011
    Posts:
    30
    Hi, i'm trying to integrate OpenFeint(2.12.5) and OpenFeintX(2.0.6) into my xCode project, but i still have this errors:

    Undefined symbols for architecture armv7:
    "_OFSafeRelease", referenced from:
    -[OFInAppPurchase dealloc] in OFInAppPurchase.o
    -[OFInAppPurchase setCategoryIdentifier:] in OFInAppPurchase.o
    +[OFInAppPurchaseCatalog shutdownCatalog] in OFInAppPurchaseCatalog.o
    +[OFInventory initializeInventory] in OFInventory.o
    -[OFXStore dealloc] in OFXStore+Internal.o
    +[OFXStore shutdownAddOn] in OFXStore+Internal.o
    -[OFStoreKit dealloc] in OFStoreKit.o
    ...
    "_OBJC_CLASS_$_SKPaymentTransaction", referenced from:
    objc-class-ref in OFStoreKit.o
    "_OFAssert", referenced from:
    +[OFInventory instance] in OFInventory.o
    -[OFStoreKit _validateNextPurchase] in OFStoreKit.o
    "_OBJC_CLASS_$_SKProductsRequest", referenced from:
    objc-class-ref in OFStoreKit.o
    "_OFLog", referenced from:
    -[OFInAppPurchaseCatalog extractOfflinePackage] in OFInAppPurchaseCatalog.o
    +[OFInventory applyAdWallPoints:] in OFInventory.o
    (maybe you meant: _OBJC_CLASS_$_OFLogging, _OBJC_IVAR_$_OFLogging.mAlert , _OBJC_METACLASS_$_OFLogging , _OBJC_IVAR_$_OFLogging.mShowAssertAlerts , _OBJC_IVAR_$_OFLogging.mShowDeveloperWarnings )
    "_OBJC_CLASS_$_SKPayment", referenced from:
    objc-class-ref in OFStoreKit.o
    "_OBJC_CLASS_$_SKPaymentQueue", referenced from:
    objc-class-ref in OFStoreKit.o
    "_OFLOCALSTRING", referenced from:
    -[OFInAppPurchaseCatalog showOfflinePackageError:] in OFInAppPurchaseCatalog.o
    -[OFInAppPurchaseCatalog extractOfflinePackage] in OFInAppPurchaseCatalog.o
    -[OFInventory lastUpdateResponse:] in OFInventory.o
    ld: symbol(s) not found for architecture armv7
     
  2. jtrencsenyi

    jtrencsenyi

    Joined:
    Aug 4, 2010
    Posts:
    15
    Add StoreKit.framework to your project.
     
  3. cosmin007

    cosmin007

    Joined:
    May 13, 2011
    Posts:
    30
    Thank you, i will try this.
     
  4. cosmin007

    cosmin007

    Joined:
    May 13, 2011
    Posts:
    30
    no.....still not working... :(
     
  5. ikenstar

    ikenstar

    Joined:
    Oct 24, 2011
    Posts:
    5
    I too got the similar problem. Anyone have the solution ..? or If anyone provide the list of dependencies for Openfeint.framework.
     
  6. cosmin007

    cosmin007

    Joined:
    May 13, 2011
    Posts:
    30
    Hi, which version of OpenFeint do you use?
     
  7. ikenstar

    ikenstar

    Joined:
    Oct 24, 2011
    Posts:
    5
    Hi, I am using 2.3-beta-OFUnity-iOS Latest one. I got stuck with these linking errors(OFSafeRelease, OFAssert, OFLog). The sample example project is build successfully. I got this errors after adding the same package to my project. Did i miss anything...?
     
    Last edited: Jun 4, 2012
  8. cosmin007

    cosmin007

    Joined:
    May 13, 2011
    Posts:
    30
    It's strange because i've received those errors when the OF used by me was not compatible with unity ( the OF plugin for Unity)