0 votes

1

The exported xcode project cannot be parsed if I entered the correct App Team ID name, however if I enter some random text (like "asdfhhj"), I will be able to open the project and modify the team id later in xcode

2

got this error when trying to build and run on my iPhone

Undefined symbols for architecture arm64: "_OBJC_CLASS_$_SKProduct", referenced from: l_OBJC_$_CATEGORY_SKProduct_$_LocalizedPrice in DYEDUNGEON.a(in_app_store.iphone.opt.debug.arm64.o) "_OBJC_CLASS_$_SKPayment", referenced from: objc-class-ref in DYEDUNGEON.a(in_app_store.iphone.opt.debug.arm64.o) "_OBJC_CLASS_$_SKPaymentQueue", referenced from: objc-class-ref in DYEDUNGEON.a(in_app_store.iphone.opt.debug.arm64.o) "_OBJC_CLASS_$_SKProductsRequest", referenced from: objc-class-ref in DYEDUNGEON.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)

3

got this error when trying to run on simulator

ld: warning: ignoring file /Users/t/Projects/Parsons/Lab/DYEDUNGEON/build/iOS/DYEDUNGEON.a, missing required architecture i386 in file /Users/t/Projects/Parsons/Lab/DYEDUNGEON/build/iOS/DYEDUNGEON.a (2 slices) ld: entry point (_main) undefined. for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

in Engine by (27 points)

2 Answers

0 votes

i had the similar problem and i read something like if u try to run it on simulator with i386 it will fail while i was googling around. so i just skipped the iOS simulator part and exported to test flight and it worked.

i hope this helps.

by (38 points)

thanks for replying, so the app works on your phone? i don't need the simulator either only need it on my phone but it always has errors

sadly no. i'm having a different issue that's happening when i export it to mac or ios.
so i'm trying to debug it on a mac ver. but at least except for that specific part, it runs well on my phone.

0 votes

A quick web search shows that you generally get linker errors such as clang: error: linker command failed with exit code 1 (use -v to see invocation) due to missing libraries. For me it was the StoreKit.framework. This is solved by going to Build Phases > Link Binary With Libraries And pressing the plus button to add a library. In my case I just searched for StoreKit and added the library.

Due to the nature of Godot, you can't run on a simulator for whatever reason - Maybe because of OpenGl issues (3.0 vs 2.0?). I think it says something about compiling in the docs which may give you more luck if you need to run it on a simulator:
http://docs.godotengine.org/en/3.0/development/compiling/compiling_for_ios.html

Hope this answer helps!

by (14 points)
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 Frequently asked questions and 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 [email protected] with your username.