Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 164

MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
11/16/12 05:41 PM (13 years ago)

Contact Card and IAP Error

Hey, I updated all plugins in my self hosted. Downloaded a new package and now when I run the app in Xcode I get errors related to the Contact Card Plugin and the In App Purchase. If I delete those plugins from my project it loads ok. The errors are in total around 25, 4 of them related to the IAP the rest to the contact card. They all look very similar: "Undefined symbols for architecture i386: "_ABMultiValueAddValueAndLabel", referenced from: -[Save_contact showUnknownPersonViewController] in Save_contact.o "_ABMultiValueCreateMutable", referenced from: -[Save_contact showUnknownPersonViewController] in Save_contact.o "_ABPersonCreate", referenced from: -[Save_contact showUnknownPersonViewController] in Save_contact.o "_ABPersonSetImageData", referenced from: -[Save_contact showUnknownPersonViewController] in Save_contact.o "_ABRecordSetValue", referenced from: -[Save_contact showUnknownPersonViewController] in Save_contact.o "_OBJC_CLASS_$_ABUnknownPersonViewController", referenced from: objc-class-ref in Save_contact.o "_OBJC_CLASS_$_SKPayment", referenced from: objc-class-ref in Easy_in_app_purchase.o "_OBJC_CLASS_$_SKPaymentQueue", referenced from: objc-class-ref in Easy_in_app_purchase.o "_OBJC_CLASS_$_SKProductsRequest", referenced from: objc-class-ref in Easy_in_app_purchase.o "_kABHomeLabel", referenced from: -[Save_contact showUnknownPersonViewController] in Save_contact.o" "Undefined symbols for architecture i386: "_ABMultiValueAddValueAndLabel", referenced from: -[Save_contact showUnknownPersonViewController] in Save_contact.o "_ABMultiValueCreateMutable", referenced from: -[Save_contact showUnknownPersonViewController] in Save_contact.o "_ABPersonCreate", referenced from: -[Save_contact showUnknownPersonViewController] in Save_contact.o "_ABPersonSetImageData", referenced from: -[Save_contact showUnknownPersonViewController] in Save_contact.o "_ABRecordSetValue", referenced from: -[Save_contact showUnknownPersonViewController] in Save_contact.o "_OBJC_CLASS_$_ABUnknownPersonViewController", referenced from: objc-class-ref in Save_contact.o "_OBJC_CLASS_$_SKPayment", referenced from: objc-class-ref in Easy_in_app_purchase.o "_OBJC_CLASS_$_SKPaymentQueue", referenced from: objc-class-ref in Easy_in_app_purchase.o "_OBJC_CLASS_$_SKProductsRequest", referenced from: objc-class-ref in Easy_in_app_purchase.o" Any ideas? Thanks. Miguel
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
11/16/12 05:48 PM (13 years ago)
Be sure to add the necessary frameworks for each plugin. Addressbook and addressbookui. And I haven't checked out the iap but I'm sure the store kit framework is needed. They exist in Xcode under build settings.
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
11/16/12 05:51 PM (13 years ago)
Of course... Thanks. Miguel
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
11/16/12 05:51 PM (13 years ago)
Its just late here and I guess I'm tired. Sorry for the trouble. That must be it. Miguel
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
11/16/12 05:59 PM (13 years ago)
No troubles! I made the same mistake today with the contact plugin so it was fresh on my mind now I just need to figure out how to add the website field and I'm set. Time for bed for me as well. :)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.