iOS Builds fail in Xcode with b21

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)

see if you have included the proper libraries associated with these methods. If you do, try deleting and re-importing them manually. I faced similar problem in beta17 and adding them manually worked. I am not having that problem with beta21 though.

Hello!!

I have similar error before, (I think this error occurs because unity integrate framework system for iOS)!

Just set options for libGameCenterPlugin.a like in the image

Yeah I finally found a fix. I did this step here ( didn’t do it alone though to see if it does something ) and I also clicked a fix button in Xcode having to do with something that wasn’t getting added to a plist file.

It was an option to fix the issue that appeared where this red box is in my image.

1949582--126049--Screen Shot 2015-02-04 at 1.10.09 PM.png