"Could not load game path" XCode error exporting to iOS

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By hotmailking

I had my game loading fine on my iPhone fine before through XCode, but then I noticed there were some issues with the sizing of certain nodes etc., so I went in and adjusted those then re-exported the project to get the new version on my iPhone.

Everything works fine but when I run it on my phone it just gives a black screen, stays for about 10 seconds, then crashes.

XCode gives this error log:

2018-06-19 21:24:17.199869+1000 ColourCircles_Build1.0[713:115050] [DYMTLInitPlatform] platform initialization successful
*********** main.m
running app main
2018-06-19 21:24:23.424778+1000 ColourCircles_Build1.0[713:114918] +[CATransaction synchronize] called within transaction
after init super 0x10d986950
******** screen size 640, 1136
after init gles 0x10d986950
******** adding observer for sound routing changes
******** adding observer for keyboard show/hide
glview is 0x10d986950
Path: /var/containers/Bundle/Application/46B3201D-E21F-4E15-BD16-C62B59105FED/ColourCircles_Build1.0.app
godot_iphone /var/containers/Bundle/Application/46B3201D-E21F-4E15-BD16-C62B59105FED/ColourCircles_Build1.0.app/ColourCircles_Build1.0
cwd /private/var/containers/Bundle/Application/46B3201D-E21F-4E15-BD16-C62B59105FED/ColourCircles_Build1.0.app
os created
setting data dir to /var/mobile/Containers/Data/Application/58722DF6-5822-4797-815F-1A7597AF1711/Documents from /var/mobile/Containers/Data/Application/58722DF6-5822-4797-815F-1A7597AF1711/Documents
2018-06-19 21:24:24.225854+1000 ColourCircles_Build1.0[713:114918] Error: Could not load game path ‘.’.
Error: Could not load game path ‘.’.
setup 31

I have no idea what this means. I didn’t change anything (as far as I’m aware) other than the size of a few nodes and the dimensions of the window in between the two versions, which really shouldn’t affect anything, to my knowledge.

Any ideas?

EDIT: I also am now getting the error “linker command failed with exit code 1”). App doesn’t even load on to my phone:

Undefined symbols for architecture arm64:
"OBJC_CLASS$SKProduct", referenced from:
l_OBJC
$CATEGORY_SKProduct$_LocalizedPrice in ColourCircles_Build1.2.a(in_app_store.iphone.opt.debug.arm64.o)
OBJC_CLASS$_SKPayment”, referenced from:
objc-class-ref in ColourCircles_Build1.2.a(in_app_store.iphone.opt.debug.arm64.o)
OBJC_CLASS$_SKPaymentQueue”, referenced from:
objc-class-ref in ColourCircles_Build1.2.a(in_app_store.iphone.opt.debug.arm64.o)
OBJC_CLASS$_SKProductsRequest”, referenced from:
objc-class-ref in ColourCircles_Build1.2.a(in_app_store.iphone.opt.debug.arm64.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)