Skip to content

Commit

Permalink
tvOS: Fixed XCPrivacy (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
yousaf-shah authored Jan 14, 2025
1 parent 90fa933 commit 9c7c33f
Showing 1 changed file with 29 additions and 28 deletions.
57 changes: 29 additions & 28 deletions platform/resources/tvosPackageApp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [[
<?xml version="1.0" encoding="UTF-8"?>
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9c7c33f

Please sign in to comment.