0 votes

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 ColourCirclesBuild1.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/ColourCirclesBuild1.0.app
iphone /var/containers/Bundle/Application/46B3201D-E21F-4E15-BD16-C62B59105FED/ColourCirclesBuild1.0.app/ColourCirclesBuild1.0
cwd /private/var/containers/Bundle/Application/46B3201D-E21F-4E15-BD16-C62B59105FED/ColourCirclesBuild1.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:
"OBJCCLASS$SKProduct", referenced from:
lOBJC$CATEGORYSKProduct$LocalizedPrice in ColourCirclesBuild1.2.a(inappstore.iphone.opt.debug.arm64.o)
OBJCCLASS$SKPayment", referenced from:
objc-class-ref in ColourCircles
"OBJCCLASS$SKPaymentQueue", referenced from:
objc-class-ref in ColourCirclesBuild1.2.a(inappstore.iphone.opt.debug.arm64.o)
OBJCCLASS$SKProductsRequest", referenced from:
objc-class-ref in ColourCircles
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

in Engine by (49 points)
edited by

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.