Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Exported Gideros — Gideros Forum

Exported Gideros


Hi, need some help. I just tried creating a new iOS Gideros Player by creating an empty Gideros project, adding 2 plugins and exporting it to XCode. When I open it in XCode 16.3 there are multiple build errors which surprised me, I figured it would work. Perhaps XCode 16 is breaking things? Even not including the plugins it still fails to compile with errors and lots of warnings.

Steps to Reproduce
1. Run Gideros 2025.3
2. File -> New Project
3. Add Plugins - Flurry & Storekit
4. File -> Export Project
1. Architecture: Apple
2. Export
5. Open exported project in XCode 16.3
6. Choose a simulator (iPad Air 11-inch M3)
7. Build for Running (Cmd + Shift + R)

Results
Build fails with the errors below. I’m able to fix these but it would be great if the default exported project didn’t have these errors.

- /Images.xcassets:./App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack: error: The last image stack layer with content, “Back”, must be a fully opaque bitmap. The pixel at position (0, 0) has an alpha value of 0.
- /Images.xcassets:./App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack: error: The last image stack layer with content, “Back”, must be a fully opaque bitmap. The pixel at position (0, 0) has an alpha value of 0.
- /Images.xcassets:./LaunchImage.launchimage/[iphone][][3x][landscape][full-screen][11.0][2d][Splash2436x1125.png]: warning: The launch image set "LaunchImage" has 2 unassigned children.
- /Images.xcassets:./App Icon & Top Shelf Image.brandassets: warning: The top shelf image "Top Shelf Image" in "App Icon & Top Shelf Image" must be a fully opaque bitmap: The pixel at position (0, 0) has an alpha value of 0.
- /Player/Plugins/storekit/storekit.mm:134:3: No matching function for call to 'lua_pushlightuserdatatagged'
- /Player/Plugins/storekit/storekit.mm:164:48: 'transactionReceipt' is deprecated: first deprecated in iOS 7.0
- /Player/Plugins/storekit/storekit.mm:164:86: 'transactionReceipt' is deprecated: first deprecated in iOS 7.0
- /Player/Plugins/storekit/storekit.mm:53:28: Implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int'
- /Player/Plugins/storekit/storekit.mm:112:23: Implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int'
- /Player/Plugins/storekit/storekit.mm:126:23: Implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int'
- /Player/Plugins/storekit/storekit.mm:415:38: Cast of C pointer type 'void *' to Objective-C pointer type 'SKPaymentTransaction *' requires a bridged cast
- /Player/Plugins/storekit/storekit.mm:434:2: No matching function for call to 'g_createClass'
- /Player/Plugins/storekit/storekit.mm:484:29: Too few arguments provided to function-like macro invocation
- /Player/Plugins/storekit/storekit.mm:484:2: Use of undeclared identifier 'lua_pushcfunction'; did you mean 'lua_iscfunction'?
- /Player/Plugins/storekit/storekit.mm:484:2: Expression result unused



Comments

  • MoKaLuxMoKaLux Member
    edited April 30


    ...adding 2 plugins...

    3. Add Plugins - Flurry & Storekit
    4. File -> Export Project
    1. Architecture: Apple
    2. Export

    I think the Flurry plugins won't work as it is no longer available:
    Flurry Mobile Analytics, including SDK and Analytics UI, has sunsetted on March 15, 2024. We're committed to assisting you during this transition. Thank you for being part of our journey.
    https://www.flurry.com/ and https://wiki.gideros.rocks/index.php/Flurry

    unless you are talking about another Flurry thing?

    Cannot help you on the mac side sorry :'(
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • hgy29hgy29 Maintainer
    I was surprised about storekit, until I realized it has almost the same functionnality as iab plugin, the latter being cross-platform so more advantageous.
    I think we should move those non longer used/functionnal plugins to some attic folder in gideros repository, so that they are no longer built unless someone wants to maintain them.

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • hgy29hgy29 Maintainer
    Also, about the errors on the images, they are due to Gideros default icon being partly transparent, but although they are reported as errors, the project still builds successfully for local installation.
    +1 -1 (+2 / -0 )Share on Facebook
  • Thanks for the comments. I didn't realize Flurry was dead, I'll remove that. As for Storekit, I will look at switching to the iAB interface instead, I also wasn't aware that was the way forward. I'm trying to revive an 11 year old Gideros game I wrote and it's been a serious challenge. Thanks for your help, I'll have more legacy questions I'm sure.
  • Follow up Question - I noticed that the exported project targets iOS 12. Support for that was dropped a year ago. Should the base version be iOS 13? When I bump the version to iOS 13 I start to see some deprecation warnings that are easily fixed.

    There are also a bunch of these warnings:
    Pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
    Just wondering if the XCode template Gideros is using should be updated for a later version of iOS.
  • hgy29hgy29 Maintainer
    Yes it should probably be updated, I tend to leave a low sdk version requirement as long as it works with it since as you said changing it sometimes raises more issues than what it solves.

    Likes: troysandal

    +1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.