AXAET / AXATag-iOS-SDK

set up
2 stars 0 forks source link

Swift support #1

Open despie opened 8 years ago

despie commented 8 years ago

TagSDK does not work in iPhone simulator (tested on iOS 9 and above, latest XCode) in swift project.

I'm getting the following error when I try to run on the simulator:

Undefined symbols for architecture i386: "_OBJCCLASS$_AXATagManager", referenced from: type metadata accessor for __ObjC.AXATagManager in MyClass.o

ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

ld: warning: ignoring file /Users/.../iPhone/TagSDK.framework/TagSDK, missing required architecture i386 in file /Users/.../iPhone/TagSDK.framework/TagSDK (3 slices)

(somehow it works on the iPhone device, but not in simulator)

Any idea? Thanks!

AXAET commented 8 years ago

try to bulid only actual device, don't use simulator.

------------------ Original ------------------ From: "despie"notifications@github.com; Date: Thu, Aug 11, 2016 06:11 PM To: "AXAET/AXATag-iOS-SDK"AXATag-iOS-SDK@noreply.github.com;

Subject: [AXAET/AXATag-iOS-SDK] Swift support (#1)

TagSDK does not work in iPhone simulator (tested on iOS 9 and above, latest XCode) in swift project.

I'm getting the following error when I try to run on the simulator:

Undefined symbols for architecture i386: "OBJC_CLASS$_AXATagManager", referenced from: type metadata accessor for __ObjC.AXATagManager in MyClass.o

ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

ld: warning: ignoring file /Users/.../iPhone/TagSDK.framework/TagSDK, missing required architecture i386 in file /Users/.../iPhone/TagSDK.framework/TagSDK (3 slices)

(somehow it works on the iPhone device, but not in simulator)

Any idea? Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.