Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Thanks for the answer, that's what I guessed after looking more into it. The main project still doesn't compile because of a library linkage error (my bundle depends on Gamekit, so I have included it in the bundle project, but the main project including the bundle fail to link because of missing GameKit functions). I'll keep this thread updated when I found the solution. Commented Nov 5, 2021 at 15:39
  • Alright, so after struggling for a day, I found out what was the problem. I was generating the main project using unity, and the native GameKitNativebundle, as well as the .mm files are inside the project, under the Assets folder. The problem was I had ticked the .mm files as to be included in the standalone version. So xcode was trying to compile this .mm file directly (in addition to the bundle) and was trying to link it, which failed. Commented Nov 9, 2021 at 9:09