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

MacOS

-

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 (15)

  1. boris96231

    Feb 06, 2025 03:21

    I lost $600K investing in a dubious crypto investment company and I lost everything.
    My name is Linda Boris, a real estate investor from North Dakota, I had invested in crypto last year and was hoping to make double my investment by the start of this new year until I realized I was being conned. It was devastating for me and my family, and if not for the intervention of Morphohack Cybersecurity Service, I wouldn’t have recovered my funds.
    Morphohack is a top-notch cryptocurrency and data recovery company, that help its clients to retrieve crypto assets from hackers and fake investment brokers, I’m grateful for their service in helping me recover my $600k worth of crypto funds and I highly recommend their services, they can be trusted and are very reliable with a 100% success rate.

    E-Mail: MORPHOHACK@cyberservices .com
    Whats-App: (+1 2 1 3. 6 7 2. 4 0 9 2)
    Web-Site: MORPHOHACK. wixsite. com/cyber

  2. boris96231

    Feb 05, 2025 09:01

    I lost $600K investing in a dubious crypto investment company and I lost everything.
    My name is Linda Boris, a real estate investor from North Dakota, I had invested in crypto last year and was hoping to make double my investment by the start of this new year until I realized I was being conned. It was devastating for me and my family, and if not for the intervention of Morphohack Cybersecurity Service, I wouldn’t have recovered my funds.
    Morphohack is a top-notch cryptocurrency and data recovery company, that help its clients to retrieve crypto assets from hackers and fake investment brokers, I’m grateful for their service in helping me recover my $600k worth of crypto funds and I highly recommend their services, they can be trusted and are very reliable with a 100% success rate.

    E-Mail: MORPHOHACK@cyberservices. com
    Whats-App: (+1 2 1 3. 6 7 2. 4 0 9 2)
    Web-Site: MORPHOHACK. wixsite. com/cyber

  3. jason_yak

    Dec 18, 2018 23:41

    This issue is not fixed. I've just been rejected using 2018.2.19. Trying out using the MachOView hack. Isn't it about time the mac app store was treated as a legitimate platform? At the very least can Unity please please add the option to export to an xcode project just like the export to project option you offer for Android and iOS? The current delivery process for mac apps is terrible, meanwhile Apple are making great strides in growing the platform. These kinds of hacks are just silly.

  4. rafgra

    Dec 12, 2018 13:21

    UGUR is right. optool fix didn't worked for me also. However, his workaround (https://forum.unity.com/threads/app-links-against-the-gamekit-framework-reject-by-apple-reviewer.542306/#post-3577490) made my app accepted. Note, that I used different values, because I didn't have Webkit listed.

    I can't understand why this is not fixed yet.

  5. ugur

    Dec 09, 2018 20:13

    to all who have this issue, too: so the optool fix did not work for me (lead to the app not launching anymore afterwards), what worked for me (app passed review fine) was this workaround:
    https://forum.unity.com/threads/app-links-against-the-gamekit-framework-reject-by-apple-reviewer.542306/#post-3577490

  6. ugur

    Dec 09, 2018 20:13

    to all who have this issue, too: so the optool fix did not work for me (lead to the app not launching anymore afterwards), what worked for me (app passed review fine) was this workaround:
    https://forum.unity.com/threads/app-links-against-the-gamekit-framework-reject-by-apple-reviewer.542306/#post-3577490

  7. Oscar-Tsang

    Dec 09, 2018 09:21

    Fixed in Unity 2019.1?

    Unity 2018.3 still haven't release yet! DO you mean unity 2018 is useless on macOS?

  8. ugur

    Dec 07, 2018 21:07

    @VAIDAS_BUDRYS: when i try to strip gamekit using optool as you said, afterwards the app crashes on launch attempt with error
    Symbol not found: _CGSizeZero

  9. Vaidas_Budrys

    Dec 03, 2018 08:47

    I'd say at least a couple of weeks until it gets to public beta. In the meantime, "optool" can be used to strip the GameKit reference:
    https://github.com/alexzielenski/optool - sample commands:
    optool uninstall -c weak -p /System/Library/Frameworks/GameKit.framework/Versions/A/GameKit -t YourApp.app/Contents/MacOS/YourAppExecutable

  10. GCS_Brian

    Nov 28, 2018 17:56

    That's wonderful to hear, Vaidas. Any rough ETA?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.