Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

iOS and MacOS / Trying to compile latest build 2.0.14b for iOS and I'm having issues.

Author
Message
ThrOtherJoJo
12
Years of Service
User Offline
Joined: 24th Mar 2012
Location: California
Posted: 27th Sep 2015 21:05 Edited at: 29th Sep 2015 03:05
Quote: "
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_CLLocationManager", referenced from:
objc-class-ref in libAGKiOS.a(AppleCore.o)
"_OBJC_CLASS_$_CMMotionManager", 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 x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
"



Can someone point me in the right direction? I'm compiling in xcode 7 for ios 9 with AppGameKit 2.0.14b.

</div>
Prove Your Worthiness
KG2Entertainment.com
ThrOtherJoJo
12
Years of Service
User Offline
Joined: 24th Mar 2012
Location: California
Posted: 29th Sep 2015 07:11
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
ThrOtherJoJo
12
Years of Service
User Offline
Joined: 24th Mar 2012
Location: California
Posted: 29th Sep 2015 07:44
Ok. I fixed it. I needed to add two other frameworks (MessageUI and CoreLocations) to Build Phases.
Prove Your Worthiness
KG2Entertainment.com

Login to post a reply

Server time is: 2024-11-23 09:45:50
Your offset time is: 2024-11-23 09:45:50