Here’s all the errors I got when archiving my project in XCode, I use the Chartboost plugin in Unity.
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_GKAchievement", referenced from:
objc-class-ref in libiPhone-lib.a(GameCenter.o)
"_OBJC_CLASS_$_GKAchievementDescription", referenced from:
objc-class-ref in libiPhone-lib.a(GameCenter.o)
"_OBJC_CLASS_$_GKLeaderboard", referenced from:
objc-class-ref in libiPhone-lib.a(GameCenter.o)
"_OBJC_CLASS_$_GKPlayer", referenced from:
objc-class-ref in libiPhone-lib.a(GameCenter.o)
"_OBJC_CLASS_$_GKLocalPlayer", referenced from:
objc-class-ref in libiPhone-lib.a(GameCenter.o)
"__chartBoostTrackEventWithValueAndMetadata", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__chartBoostTrackEventWithValue", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_OBJC_CLASS_$_GKScore", referenced from:
objc-class-ref in libiPhone-lib.a(GameCenter.o)
"__chartBoostTrackEvent", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__chartBoostPauseUnity", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__chartBoostHasCachedInterstitial", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__chartBoostShowMoreApps", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_OBJC_CLASS_$_GKAchievementViewController", referenced from:
objc-class-ref in libiPhone-lib.a(GameCenter.o)
"__chartBoostCacheMoreApps", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__chartBoostInit", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__chartBoostTrackEventWithMetadata", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_GKErrorDomain", referenced from:
GameCenter::CreateUserImage(UIImage*, NSError*) in libiPhone-lib.a(GameCenter.o)
"__chartBoostCacheInterstitial", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__chartBoostForceOrientation", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_OBJC_CLASS_$_GKLeaderboardViewController", referenced from:
objc-class-ref in libiPhone-lib.a(GameCenter.o)
"__chartBoostShowInterstitial", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__chartBoostHasCachedMoreApps", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)