Enterprise to Native Migration

I removed the reference to _CoronaSplashScreen.png from my native app in Xcode. I get the error:

Application Validation Error

Incorrect splash screen - the splash screen built into the app is not the one that shipped with buid 2017.3175 of Corona.

Activate the Corona Splash Screen Control plugin in the Marketplace if you want to customize it.

Problem is, I’ve already purchased the Corona Splash Screen Control plugin, and added

splashScreen =

    {

      enable = false

 

    },

to build.settings.

 

-Tom

In native builds, splash screen is not affected by build.settings ( CoronaSplashControl#coronanative ). What one has to do is just remove file from distribution.

Here’s a suggestion: try copying Native/Project Template/App to new location, open App/ios/App.xcodeproj, uncheck splash screen target membership as shown on screen shot and press Play button to start an app.

1B6JjmS.png

Vlad, I did what you suggested, unchecking the target membership. I additionally ran the “Download plugins” build. The product builds for simulator, and immediately after starting and repeatedly, produces the saalert I reported before:

Application Validation Error

Incorrect splash screen - the splash screen built into the app is not the one that shipped with buid 2017.3175 of Corona.

Activate the Corona Splash Screen Control plugin in the Marketplace if you want to customize it.

 

How does the app or my development system know that I’ve purchased the Splash Screen plugin?

 

Could there be a problem with my being registered to have activated this plugin (it shows up as “Activated” in the marketplace web page)

 

-Tom.

Your account tbuchler@kinnor.com has a valid Splash Screen Control license.

I would recommend to repeat these steps again:

I closed XCode, Deauthorized and Quit the SDK, reopened and relogged in successfully. Reopened XCode and project. I get the same authorization error I reported above.

Maybe restart Mac completely. 

I closed XCode, Deauthorized and quite the Corona SDK, restarted the Mac, restarted Corona SDK, reauthorized. Opened project in the SDK and confirmed that it started without splash screen.

I started XCode and opened, then built and ran the project in the XCode Simulator.

I continue to get the above-reported _Incorrect Splash Screen _error.

Suggestions how I can escalate this? I’m about to release a fix that prevents my app from crashing on iPhone X and am running out of time.

-Tom

This is truthfully bizarre. I can see that you have plugin…

It verifies splash screen plugin when “signing” your app. Could you please output you see in “Certify Build” stage? https://i.imgur.com/bK3Srut.png

Edit:

Do it for template App if you want. Again, do not do anything else: 1. copy template 2. delete _CoronaSplashScreen.png from project 3. build and run the App target (in Xcode simulator, to avoid setting up apple code signing)

Edit:

Run this 2 commands and paste output:

~/Library/Application\ Support/Corona/Native/Corona/mac/bin/CoronaBuilder.app/Contents/MacOS/CoronaBuilder checkauth ~/Library/Application\ Support/Corona/Native/Corona/mac/bin/CoronaBuilder.app/Contents/MacOS/CoronaBuilder version
  1. Certify Build:

 

Showing All Messages

PhaseScriptExecution Certify\ Corona\ Build /Users/tbuchler/Library/Developer/Xcode/DerivedData/TropeTrainer-buhxnatkikaqdqchtsyltfsfheaw/Build/Intermediates.noindex/TropeTrainer.build/Debug-iphonesimulator/TropeTrainer.build/Script-8D77A7A31FBB476F00B01786.sh

    cd /Users/tbuchler/Dropbox/TGBProjects/TFMelodyDesigner/TTM_Enterprise_Native/ios

    /bin/sh -c /Users/tbuchler/Library/Developer/Xcode/DerivedData/TropeTrainer-buhxnatkikaqdqchtsyltfsfheaw/Build/Intermediates.noindex/TropeTrainer.build/Debug-iphonesimulator/TropeTrainer.build/Script-8D77A7A31FBB476F00B01786.sh

 

Running app_sign for Debug

USING TOOL_PATH: /Users/tbuchler/Library/Application Support/Corona/Native/Corona/mac/bin/CoronaBuilder.app/Contents/MacOS/CoronaBuilder

Signing /Users/tbuchler/Library/Developer/Xcode/DerivedData/TropeTrainer-buhxnatkikaqdqchtsyltfsfheaw/Build/Products/Debug-iphonesimulator/TropeTrainer.app/TropeTrainer

c2875cc0aca1a7a6f6822cb99cdb5f8d   /Users/tbuchler/Library/Developer/Xcode/DerivedData/TropeTrainer-buhxnatkikaqdqchtsyltfsfheaw/Build/Products/Debug-iphonesimulator/TropeTrainer.app/resource.corona-archive

Replacing signature… done.

 

===============

  1. Template App copied works as we all would expect without Splash Screen.

===============

  1. Commands:

  Current authorization is ‘Corona’ for user ‘tbuchler@kinnor.com’

  Authorization check succeeded.

  2017.3175

> Template App copied works as we all would expect without Splash Screen.

Does it means it works or shows alert error message? Because for me it works without any errors/alerts and without showing splash screen.

It works without alerts or errors, and without showing a splash screen.

So, template native app works without splash screen, your - doesn’t? Try copying Certify build phase from template app to yours. It signs Corona’s resources and checks if you have splash screen control license.

I’m not sure what you mean by “copying Certify build phase”.

It looks, from Build Phases for the App, that it calls CertifyBuild.sh then checks for errors.

If I’m looking at the right place then the two are identical. THey should be, since I copied the app template, then replaced the Corona folder’s contents and parts of IOS folder with my content.

-Tom