flambe-demos icon indicating copy to clipboard operation
flambe-demos copied to clipboard

symbol(s) not found for architecture armv7

Open SavedByZero opened this issue 11 years ago • 1 comments

I'm trying to run the extensions demo on my mac. I've followed the four steps that involve "flambe run ios --debug", and it compiles to a degree, then fails with this error: Undefined symbols for architecture armv7: "OBJC_CLASS$_SLComposeViewController", referenced from: objc-class-ref in libcom.freshplanet.AirBurstly.a(GSAdModel.o) "_SLServiceTypeFacebook", referenced from: -[GSAdModel handleSocialURL:forNetwork:] in libcom.freshplanet.AirBurstly.a(GSAdModel.o) -[GSAdModel clickthroughToDestination:] in libcom.freshplanet.AirBurstly.a(GSAdModel.o) -[GSAdModel fetch] in libcom.freshplanet.AirBurstly.a(GSAdModel.o) "_SLServiceTypeTwitter", referenced from: -[GSAdModel handleSocialURL:forNetwork:] in libcom.freshplanet.AirBurstly.a(GSAdModel.o) -[GSAdModel clickthroughToDestination:] in libcom.freshplanet.AirBurstly.a(GSAdModel.o) -[GSAdModel fetch] in libcom.freshplanet.AirBurstly.a(GSAdModel.o) ld: symbol(s) not found for architecture armv7

I've googled various solutions to this, and they all involve making changes in the XCode settings. Problem is, the only way I know to build an Xcode version of this project is by using the "flambe run ios" command. So if I can't build it, I can't try any of those solutions. Is there something else I can put into the .yaml file to fix this? Or any other flambe-based solution?

SavedByZero avatar Apr 11 '14 21:04 SavedByZero

Sorry to be a pain, project that needs this is starting to heat up. I guess I'm wondering how to include whatever frameworks are missing as indicated by those errors, since we're only building from the command line and not XCode. Is there a spot in the .yaml file where I can include Social.framework, and the like? [EDIT]: The aforementioned issues were/are for the ios target. This actually compiles for android, but every time it starts, I get a window that says "The application Extensions Demo (process air.flambe.extensions) has stopped unexpectedly. Please try again." I am using FlashDevelop for the android version (on a pc), and I added the .ane files to the library as per the instructions in your tutorial.

SavedByZero avatar Aug 01 '14 15:08 SavedByZero