With the help of Gekko the above problem was solved. I needed to add the CoreMotion.SDK.
Now, the next issue popped up. It's this one:
Quote: "
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_CLLocationManager", referenced from:
objc-class-ref in libAGKiOS.a(AppleCore.o)
"_kCLDistanceFilterNone", referenced from:
AGK::agk::StartGPSTracking() in libAGKiOS.a(AppleCore.o)
"_kCLLocationAccuracyBest", referenced from:
AGK::agk::StartGPSTracking() in libAGKiOS.a(AppleCore.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
"
...must be missing another SDK. And my valid architectures are 'VALID_ARCHS = arm64 armv7 armv7s i386'.
Architectures are set to 'Standard architectures (armv7, arm64) - $(ARCHS_STANDARD)'
Prove Your Worthiness
KG2Entertainment.com