Publishing game to iOS errors

johnjanowskibsc

  • Posts: 158
I have an old project that still works fine but I am trying to export it to the appstore but I am getting the following errors. I have uninstalled Xcode about a year ago but reinstalled it recently. Does anyone know how to fix? Thanks in advance

warning: GLKit is deprecated. Consider migrating to MetalKit instead. (in target 'Crossbar Kevin' from project 'Crossbar Kevin')
warning: MobileCoreServices has been renamed. Use CoreServices instead. (in target 'Crossbar Kevin' from project 'Crossbar Kevin')
warning: OpenGLES is deprecated. Consider migrating to Metal instead. (in target 'Crossbar Kevin' from project 'Crossbar Kevin')

Justin

  • *
  • Posts: 4716
Those are all just warnings. They won't keep the project from being built. If it's not working as expected, please share your full logs, and perhaps there will be something else in there.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

johnjanowskibsc

  • Posts: 158
Thanks for the advice, I glanced further down and realised that an extension called SWAG API from Addicting Games was throwing up the error. I've since disabled it - Thanks!

johnjanowskibsc

  • Posts: 158
Spoke too soon. The build went through but has been rejected (see below) - I've since cleaned the project and ensured minimum iOS target is 12 but I think there is a stray SWAG API block lurking somewhere, does this sound correct and if so is there a quick way of locating a block rather than sifting through each scene?

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

Though you are not required to fix the following issues, we wanted to make you aware of them:

ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSBluetoothAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).

Best regards,

The App Store Team

Justin

  • *
  • Posts: 4716
If the extension is disabled, then any forgotten blocks from the extension may cause an error when you try to build the game. But they won't stay in the game. On the other hand, if you don't disable the extension, it will still change how your game is built, even if all of its blocks have been removed from the game.

I seem to recall from the crazygames extension thread that you're using an older build of Stencyl. Perhaps 4.0.2? If you're using the built-in AdMob extension, that's another potential cause of that error, and that was fixed in 4.0.3.

If you're planning on publishing your game, though, I'd recommend going with the latest nightly builds of Stencyl, because of an iOS 15 + iPhone 12/13 crash that was fixed recently.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)