Can't create ios release app

Hi,

I finished my game and now trying to create ios app release according this tutorial:

https://docs.aws.amazon.com/lumberyard/latest/userguide/ios-creating-release-app.html

  1. There is no such code (Preparing Your Code):
//Enable modification of CVARS for mobile release builds
#if defined(AZ_PLATFORM_APPLE_IOS)
#define ALLOW_CONST_CVAR_MODIFICATIONS 1
#else
#define ALLOW_CONST_CVAR_MODIFICATIONS 0
#endif
  1. I launch on Windows remote shader compiler, on Xcode->Debug play on iPad in debug mode.

  2. On MAC in terminal run:

sh lmbr_pak_shaders.sh SampleGame METAL ios

this creates:

dev/Build/ios/SampleGame

shadercache.pak shadercachestartup.pak

copy these files to Windows:

C:\Amazon\Lumberyard\dev\Cache\SampleGame\ios

  1. On Windows launch BuildSampleGame_Paks_iOS (made according to tutorial)

this creates:

C:\Amazon\Lumberyard\dev\Cache\SampleGame\ios_paks

copy this folder to MAC:

dev/⁨Cache/⁨SampleGame/ios_paks

  1. Open XCode -> Products->Scheme choose release and run

  2. Crash on Launch.

Output:

[DYMTLInitPlatform] platform initialization successful

Questions:

  1. Is such workflow correct?

  2. Can somebody make video tutorial or any tutorial?