When I build my project in Unity 5 b18 it builds in Xcode with no errors. When I build it in Unity 5 b21 and build in Xcode it fails. I use three Prime31 plugins: iOS Game Center, iOS Game Center Turn Based Multiplayer, and iOS Store Kit. All of them are on the latest version.
Here are the error messages I get in Xcode:
Undefined symbols for architecture armv7:
“OBJC_CLASS$_GKTurnBasedMatch”, referenced from:
l_OBJC__CATEGORY_GKTurnBasedMatch__JSON in libGameCenterPlugin.a(GameCenterSerializationHelpers.o)
objc-class-ref in libGameCenterPlugin.a(GameCenterTurnBasedManager.o)
“OBJC_CLASS$_GKTurnBasedParticipant”, referenced from:
l_OBJC__CATEGORY_GKTurnBasedParticipant__JSON in libGameCenterPlugin.a(GameCenterSerializationHelpers.o)
“OBJC_CLASS$_GKVoiceChatService”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterMultiplayer.o)
“OBJC_CLASS$_GKVoiceChat”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterMultiplayer.o)
“OBJC_CLASS$_GKFriendRequestComposeViewController”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterMultiplayer.o)
“OBJC_CLASS$_GKMatchmakerViewController”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterMultiplayer.o)
“_GKPlayerAuthenticationDidChangeNotificationName”, referenced from:
-[GameCenterManager init] in libGameCenterPlugin.a(GameCenterManager.o)
-[GameCenterTurnBasedManager init] in libGameCenterPlugin.a(GameCenterTurnBasedManager.o)
“OBJC_CLASS$_GKScoreChallenge”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterSerializationHelpers.o)
“OBJC_CLASS$_GKMatchRequest”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterMultiplayer.o)
objc-class-ref in libGameCenterPlugin.a(GameCenterTurnBasedManager.o)
“OBJC_CLASS$_GKTurnBasedMatchmakerViewController”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterTurnBasedManager.o)
“OBJC_CLASS$_GKAchievementDescription”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterManager.o)
“OBJC_CLASS$_GKAchievementViewController”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterManager.o)
“OBJC_CLASS$_GKAchievementChallenge”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterSerializationHelpers.o)
“OBJC_CLASS$_GKAchievement”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterManager.o)
objc-class-ref in libGameCenterPlugin.a(GameCenterTurnBasedManager.o)
“OBJC_CLASS$_GKChallenge”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterManager.o)
(maybe you meant: OBJC_CLASS$_GKChallengeJSONDeserializer)
“OBJC_CLASS$_GKLocalPlayer”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterManager.o)
objc-class-ref in libGameCenterPlugin.a(GameCenterTurnBasedManager.o)
“OBJC_CLASS$_GKLeaderboardViewController”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterManager.o)
“OBJC_CLASS$_GKPlayer”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterManager.o)
“OBJC_CLASS$_GKLeaderboard”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterManager.o)
objc-class-ref in libGameCenterPlugin.a(GameCenterMultiplayer.o)
“OBJC_CLASS$_GKTurnBasedEventHandler”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterTurnBasedManager.o)
“OBJC_CLASS$_GKChallengeEventHandler”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterManager.o)
“OBJC_CLASS$_GKScore”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterManager.o)
objc-class-ref in libGameCenterPlugin.a(GameCenterTurnBasedManager.o)
“OBJC_CLASS$_GKMatchmaker”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterMultiplayer.o)
“OBJC_CLASS$_GKGameCenterViewController”, referenced from:
objc-class-ref in libGameCenterPlugin.a(GameCenterManager.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)