Page 1 of 1
Building Game in xCode 9.x
Posted: Sun Apr 15, 2018 2:30 am
by kippllo
Hello, I'm new to this forum so hello!
I've run into a problem when trying to build a love game for iOS using the fuse technique...

- Screen Shot 2018-04-15 at 5.50.37 PM.png (57.46 KiB) Viewed 4728 times
All the frameworks have errors and are shown in red, and the build always fails.
I've done some digging and most people say to reload the framework, or manually enter the framework path. But I don't know how to do this or if it would even work.
Any help is greatly appreciated!
Thank you!
-kip
Update:

- Screen Shot 2018-04-15 at 6.08.02 PM.png (129.25 KiB) Viewed 4727 times
Re: Building Game in xCode 9.x
Posted: Sun Apr 15, 2018 7:48 pm
by slime
Your screenshot didn't get posted correctly, but if the errors are related to linking Metal functions, the iOS source code for LÖVE 11.1 – released today – resolved that (by weak-linking with Metal.framework).
Re: Building Game in xCode 9.x
Posted: Sun Apr 15, 2018 11:15 pm
by kippllo
Ok I downloaded the update, but I'm still getting the same problem. I would like to note that I tried building to the simulator instead of my iPhone and it worked fine for that. The problem seems to be in building for a real device...
Re: Building Game in xCode 9.x
Posted: Sun Apr 15, 2018 11:15 pm
by kippllo
I aslo uploaded a pic of the error message
Re: Building Game in xCode 9.x
Posted: Sun Apr 15, 2018 11:39 pm
by slime
Are you sure you downloaded the LÖVE 11.1 iOS source? It works for me, and has Metal.framework listed under the frameworks dropdown and set to weak-link:

- Screen Shot 2018-04-15 at 8.38.56 PM.png (383.71 KiB) Viewed 4725 times
Also note that you'll need to change the code-signing and bundle identifier settings in the General tab of the love-ios target, in order to use your Apple Developer account to deploy LÖVE to your phone.
Re: Building Game in xCode 9.x
Posted: Mon Apr 16, 2018 12:40 am
by kippllo
Ok so I thought I had downloaded the new source, but I guess I didn't.
I have now downloaded the right source and it worked!!! Thank you so much!!!
One more question, when I compile in xCode I get TONS of warnings, but it still works. Is that normal?