为什么当我尝试在Xcode上构建项目时(原始项目是在Unity 3D上开发的)我遇到了这些错误:
(null): "__gameCenterShowCompletionBannerForAchievements", referenced from:
(null): "__gameCenterResetAchievements", referenced from:
(null): "__gameCenterRetrieveAchievementMetadata", referenced from:
(null): "__gameCenterGetAchievements", referenced from:
(null): "__gameCenterShowAchievements", referenced from:
(null): "__gameCenterRetrieveScoresForPlayerIdAndLeaderboard", referenced from:
(null): "__gameCenterRetrieveScoresForLeaderboard", referenced from:
(null): "__gameCenterShowLeaderboardWithTimeScopeAndLeaderboardId", referenced from:
(null): "__gameCenterShowLeaderboardWithTimeScope", referenced from:
(null): "__gameCenterRetrieveScoresForPlayerId", referenced from:
(null): "__gameCenterReportScore", referenced from:
(null): "__gameCenterRetrieveFriends", referenced from:
(null): "__gameCenterLoadLeaderboardLeaderboardTitles", referenced from:
(null): "__gameCenterLoadPlayerData", referenced from:
(null): "__gameCenterPlayerIdentifier", referenced from:
(null): "__gameCenterIsPlayerAuthenticated", referenced from:
(null): "__gameCenterReportAchievement", referenced from:
(null): "__gameCenterPlayerAlias", referenced from:
(null): "__gameCenterIsUnderage", referenced from:
(null): "__gameCenterAuthenticateLocalPlayer", referenced from:
(null): "__gameCenterRetrieveScores", referenced from:
(null): "__gameCenterIsGameCenterAvailable", referenced from:
(null): Linker command failed with exit code 1 (use -v to see invocation)
答案 0 :(得分:0)
这个错误是由Unity中的旧Prime31 SDK生成的,它不支持x64架构。更新您的Prime31 Unity插件,然后重试。