Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Build for tvOS - generateXcprivacy issue #752

Open
yousaf-shah opened this issue Dec 16, 2024 · 1 comment
Open

Can't Build for tvOS - generateXcprivacy issue #752

yousaf-shah opened this issue Dec 16, 2024 · 1 comment

Comments

@yousaf-shah
Copy link

Just tried a couple of projects I have not built for tvOS for a while and I'm getting:

CoronaBuilder: ERROR: Runtime error /Users/runner/work/corona/corona/platform/resources/tvosPackageApp.lua:984: attempt to call global 'generateXcprivacy' (a nil value) stack traceback: [C]: in function 'generateXcprivacy' /Users/runner/work/corona/corona/platform/resources/generateXcprivacy:984: in function 'generateFiles' /Users/runner/work/corona/corona/platform/resources/tvosPackageApp.lua:2011: in function </Users/runner/work/corona/corona/platform/resources/tvosPackageApp.lua:1750> CoronaBuilder: tvOS build failed (2) after 14 seconds

I've had a quick look at the file in question and it seems to me that in tvosPackageApp.lua, the function:

generateXcprivacy( options )

has been added at line 1012 which is after the line it gets called (984).

In the other files iPhonePackageApp.lua & OSXPackageApp.lua the function was added before it is called.

Seems like it was added in this commit:
https://github.com/coronalabs/corona/pull/690/commits/192fd1ad15980afeec23e5b42673038efadd7e37

@yousaf-shah
Copy link
Author

Added a pull request - I can't build to test but it should work!

https://github.com/coronalabs/corona/pull/753

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant