viezel / TiSocial.Framework

iOS6+ Social.Framework. Appcelerator apps are able to share content to Facebook and Twitter.
MIT License
257 stars 102 forks source link

Getting undefined symbols for iOS 8 build #93

Closed mokesmokes closed 9 years ago

mokesmokes commented 10 years ago

Using Xcode-Beta4. Obviously no issues for Xcode 5 and iOS 7.1 builds.

[TRACE] Undefined symbols for architecture i386:
[TRACE]   "_SLServiceTypeSinaWeibo", referenced from:
[TRACE]       -[DkNappSocialModule isSinaWeiboSupported:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       -[DkNappSocialModule sinaweibo:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]   "_SLServiceTypeTwitter", referenced from:
[TRACE]       -[DkNappSocialModule isTwitterSupported:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       -[DkNappSocialModule isRequestTwitterSupported:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       -[DkNappSocialModule shareToNetwork:args:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       -[DkNappSocialModule twitter:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       ___37-[DkNappSocialModule requestTwitter:]_block_invoke in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]   "_ACFacebookPermissionsKey", referenced from:
[TRACE]       -[DkNappSocialModule grantFacebookPermissions:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       -[DkNappSocialModule requestFacebook:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]   "_OBJC_CLASS_$_SLRequest", referenced from:
[TRACE]       objc-class-ref in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]   "_ACFacebookAudienceEveryone", referenced from:
[TRACE]       -[DkNappSocialModule grantFacebookPermissions:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       -[DkNappSocialModule requestFacebook:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]   "_SLServiceTypeFacebook", referenced from:
[TRACE]       -[DkNappSocialModule isFacebookSupported:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       -[DkNappSocialModule shareToNetwork:args:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       -[DkNappSocialModule facebook:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       -[DkNappSocialModule requestFacebookWithIdentifier:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       ___38-[DkNappSocialModule requestFacebook:]_block_invoke in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]   "_ACFacebookAudienceKey", referenced from:
[TRACE]       -[DkNappSocialModule grantFacebookPermissions:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       -[DkNappSocialModule requestFacebook:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]   "_ACFacebookAppIdKey", referenced from:
[TRACE]       -[DkNappSocialModule grantFacebookPermissions:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       -[DkNappSocialModule requestFacebook:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]   "_ACAccountTypeIdentifierTwitter", referenced from:
[TRACE]       -[DkNappSocialModule twitterAccountList:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       -[DkNappSocialModule requestTwitter:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]   "_ACAccountTypeIdentifierFacebook", referenced from:
[TRACE]       -[DkNappSocialModule grantFacebookPermissions:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       -[DkNappSocialModule renewFacebookAccessToken:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]       -[DkNappSocialModule requestFacebook:] in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]   "_OBJC_CLASS_$_ACAccountStore", referenced from:
[TRACE]       objc-class-ref in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]   "_OBJC_CLASS_$_TWTweetComposeViewController", referenced from:
[TRACE]       objc-class-ref in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE]   "_OBJC_CLASS_$_SLComposeViewController", referenced from:
[TRACE]       objc-class-ref in libdk.napp.social.a(DkNappSocialModule.o)
[TRACE] ld: symbol(s) not found for architecture i386
[TRACE] clang: error: linker command failed with exit code 1 (use -v to see invocation)
mokesmokes commented 10 years ago

module.xcconfig doesn't define the flags for iOS 8. Why are you redefining these for each target version if they are all the same in any case?

viezel commented 10 years ago

I cannot remember.. There was some issues with iOS5 once. But since TiSDK does not really support iOS5 anymore, we could remove the specific build flags.

mokesmokes commented 10 years ago

Yes, I think you should remove and release 1.7.4 with this

timanrebel commented 10 years ago

I just created a PR that should fix this issue. (#94)