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

Xcode error in main funtion [ufw runUIApplicationMainWithArgc: argc argv: argv]; #1172

Open
mawans opened this issue Apr 16, 2024 · 5 comments

Comments

@mawans
Copy link

mawans commented Apr 16, 2024

Hello at unity,
I am using this package and I was trying to implement the body tracking, When I export for xcode and open up everything works well until it starts running on my device. When Made with unity screen opens then Xcode stops the project on the following code and gives a random error on this line([ufw runUIApplicationMainWithArgc: argc argv: argv];).

int main(int argc, char* argv[])
{
@autoreleasepool
{
id ufw = UnityFrameworkLoad();
[ufw runUIApplicationMainWithArgc: argc argv: argv];
return 0;
}
}

Kindly help me to remove this.
Regards.

@MaxTexFcX
Copy link

I have a same problem. Did you fix it?

@ChristopheChevallier
Copy link

Hi guys, same for me. Any idea what it could be?
Did you resolve it?

@ChristopheChevallier
Copy link

Ok so I just installed the latest version of Unity this morning and that solved my issue.
2022.3.51

Chris

@ChristopheChevallier
Copy link

Ok that is not true, I'm back to having this error and have no idea why.

Investigating now. I'll let you know if I find anything.

@MaxTexFcX Did you figure out what your problem was?

@ChristopheChevallier
Copy link

The only I found to make it work is to uncheck development build.

I'll need to investigate why further later on.

Chris

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

3 participants