- Home /
Undefined symbols for architecture armv7
I'm very annoying about this problem, I search through internet the solution but anything could help me. I'm using the last Unity 3D version, 4.5.4 f1 and the last Xcode version, 6.01.
And the problem is that I have a game made for iOS and I build this for Xcode. So, then, I put the Google Mobile Ads SDK inside the export, I mean, the archives that includes GMAds SDK I put it in Libraries folder. Then I add frameworks that specify that web:
https://github.com/googleads/googleads-mobile-plugins/tree/master/unity
Finally, I clean the project and I build it. But Xcode bring me that "Apple Macho-O linker Error" error.
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_GADRequest", referenced from:
objc-class-ref in GADURequest.o
"_OBJC_CLASS_$_GADBannerView", referenced from:
objc-class-ref in GADUBanner.o
"_OBJC_CLASS_$_GADInterstitial", referenced from:
objc-class-ref in GADUInterstitial.o
"_kGADAdSizeSmartBannerLandscape", referenced from:
-[GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:adPosition:] in GADUBanner.o
"_kGADAdSizeSmartBannerPortrait", referenced from:
-[GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:adPosition:] in GADUBanner.o
"_OBJC_CLASS_$_GADAdMobExtras", referenced from:
objc-class-ref in GADURequest.o
"_GADAdSizeFromCGSize", referenced from:
-[GADUBanner initWithBannerClientReference:adUnitID:width:height:adPosition:] in GADUBanner.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please, ¿How I can correct this error? I don't know what I have to do. I prove many solution but these solutions aren't good for me.
Thank you very much!