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

building for iOS Simulator, but linking against dylib built for MacOSX file #73

Open
winzig opened this issue Jan 30, 2014 · 2 comments

Comments

@winzig
Copy link

winzig commented Jan 30, 2014

I've built ADNKit using the make_release.sh script, but when trying to build my iOS app in Xcode 5.1 beta (build 5B90f), I am receiving this error:

ld: building for iOS Simulator, but linking against dylib built for MacOSX file '/Users/me/Dropbox/Repositories/ADNKit/Release/ADNKit.framework/ADNKit' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any ideas what's going on?

@winzig
Copy link
Author

winzig commented Jan 30, 2014

Just to be clear, when I try building my app with Xcode 5.0.2 (release version), it works fine. The issue only occurs in the Xcode 5.1 beta. Not sure if it's a bug that I should report to Apple, or something that can be worked around within ADNKit?

@pimisi
Copy link

pimisi commented Jun 24, 2014

I tried this and it worked for me:
Ensure you have these 3 lines in your Framework Search Path

$(SDKROOT)/Developer/Library/Frameworks
$(DEVELOPER_LIBRARY_DIR)/Frameworks
$(DEVELOPER_FRAMEWORKS_DIR)

screen shot 2014-06-24 at 2 23 50 pm

Also ensure there are no trailing slashes.

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

2 participants