Building project in xcode fails with Undefined symbols for architecture arm64

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

I’m not in the apple developer program so I had to disable in app purchases, even though I don’t have any in my Godot project. I just want to test and play a project on an iOS device without distributing it or paying for anything. How can I make that happen? Here’s the error log in Xcode 9.4 beta:

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