Reputation: 1331
I'm using Facebook SDK 3.7 in an iOS static library project isolating core functionality for various apps. It's a nice improvement in the SDK that you no longer have to manually include dependent frameworks. However, the end project that uses the static lib throws Mach-O linker errors when building. Manually adding the frameworks from this link (https://developers.facebook.com/docs/ios/upgrading-from-3.5-to-3.6/) fixes it.
Is there some change that can be made (to their build scripts, to project settings?) to avoid needing to do this in this scenario?
Undefined symbols for architecture i386: "_ACFacebookAppIdKey", referenced from:
-[FBSystemAccountStoreAdapter requestAccessToFacebookAccountStore:defaultAudience:isReauthorize:appID:session:handler:]
in FacebookSDK(FBSystemAccountStoreAdapter.o) "_ACFacebookAudienceEveryone", referenced from:" ...
Upvotes: 1
Views: 729