Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing required architecture x86_64 #22

Open
kfiroo opened this issue Dec 28, 2016 · 1 comment
Open

Missing required architecture x86_64 #22

kfiroo opened this issue Dec 28, 2016 · 1 comment

Comments

@kfiroo
Copy link

kfiroo commented Dec 28, 2016

Hey,
I'm getting this error when trying to use the SDK, any idea what's wrong?

ld: warning: ignoring file ./KISSmetricsSDK.framework/KISSmetricsSDK, missing required architecture x86_64 in file ./KISSmetricsSDK.framework/KISSmetricsSDK (2 slices)
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_KISSmetricsAPI", referenced from:
      objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@kfiroo
Copy link
Author

kfiroo commented Dec 28, 2016

I think I figured it out.
In this repo you provide a prebuilt framework KISSmetricsSDK.framework which was built for device (arm) and not for simulator (i386).

I'm assuming that if I want to use it on the simulator I need to build the framework with the right flags?

If so, can you share how to do it please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant