diff --git a/platform/resources/tvosPackageApp.lua b/platform/resources/tvosPackageApp.lua index 4c602a5f8..71c850a7b 100644 --- a/platform/resources/tvosPackageApp.lua +++ b/platform/resources/tvosPackageApp.lua @@ -971,34 +971,6 @@ local function generateXcent( options ) end --- --- generateFiles --- --- Create the .xcent and Info.plist files --- --- returns an error message or nil on success --- -local function generateFiles( options ) - local result = nil - - result = generateXcprivacy( options ) - if result then - return result - end - - result = generateXcent( options ) - if result then - return result - end - - result = CoronaPListSupport.modifyPlist( options ) - if result then - return result - end - - return result -end - -- xcprivacy local templateXcprivacy = [[ @@ -1031,6 +1003,35 @@ local function generateXcprivacy( options ) end end + +-- +-- generateFiles +-- +-- Create the .xcent and Info.plist files +-- +-- returns an error message or nil on success +-- +local function generateFiles( options ) + local result = nil + + result = generateXcprivacy( options ) + if result then + return result + end + + result = generateXcent( options ) + if result then + return result + end + + result = CoronaPListSupport.modifyPlist( options ) + if result then + return result + end + + return result +end + -- True for Ad Hoc or Store builds local function isBuildForDistribution( options ) if not options.signingIdentityName then