Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
15
Found in
2018.2.1f1
Issue ID
1065311
Regression
No
[macOS] GameKit reference in the application when Game Center is not used, App Store rejects the build
Reproduction steps:
1. Open the attached project.
2. Build it as macOS Standalone.
3. Navigate to the "AppName.app" location using Terminal.
4. Input this command (Don't forget to rename the 'AppName' ):
grep -r -i -c "gamekit" "AppName.app"
5. Check the output:
Actual behavior:
- There will be more than 0 references (More than 0 'example:1').
Expected behavior:
- 0 references (Every line says 'example:0').
Reproduced with:
macOS Standalone, iOS
2018.2.0b1, 2018.2.13f1, 2018.3.0b6, 2019.1.0a4
Comments (20)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Only one project opens when quickly launching two projects from Unity Hub
- 2 lights are rendered when 8 lights exist and using Custom Lighting Shader Graph with Forward or Deferred rendering
- Font size changes the letter spacing when a custom Text Style with a defined font size is used on bolded text
- Downloads fail with ETIMEDOUT when using proxy environment variables
- Unused separation line is used in the Prefab Context Menu when right clicking child Prefabs
Oscar-Tsang
Nov 16, 2018 00:00
Unity need to face it is a very important. If app (macOS version) do not accept by Apple. The OSX build is meaningless.
Up to now they still to not have planning to fix this problem. Just reply me it is noted.
Nananaaa
Nov 14, 2018 10:51
Correction to my previous comment:
Only the Mac OSX build got rejected because it links against GameKit without using it.
The iOS rejection had a different reason.
Sorry for that.
Nananaaa
Nov 14, 2018 09:48
Same issue here. Two days ago both iOS and OSX builds got rejected because of:
Your app links against the GameKit framework but does not appear to include Game Center functionality.
Unity 2018.2.15f1 was used to create both of them.
In the past few weeks, two versions (of each iOS and OSX) successfully went through review. All four of those builds were created with Unity 2018.2.13f1.
Running the command:
grep -r -i -c "gamekit" "AppName.app"
Against any of the (OSX) builds that successfully went through review displays:
"AppName.app/Contents/MacOS/AppName:2"
So maybe, we're misinterpreting the output of the command.
In general, Unity 2018.x worked perfect so far. However, the same issue happened once with Unity 5.x and "magically" disappeared after an update.