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

Issue with Carthage #23

Closed
Dodig opened this issue Mar 4, 2016 · 2 comments
Closed

Issue with Carthage #23

Dodig opened this issue Mar 4, 2016 · 2 comments

Comments

@Dodig
Copy link

Dodig commented Mar 4, 2016

Hi,

Config

  • Xcode 7.2.1 (7C1002)
  • Carthage 0.15

Cartfile

github "algolia/algoliasearch-client-swift" == 2.1.0

Carthage command

carthage update --platform iOS

The issue

When I build and run my project on the device everything is ok
If I try to build my project on the simulator it's generate some errors:

ld: warning: ignoring file .../Build/Products/Debug-iphonesimulator/AlgoliaSearch.framework/AlgoliaSearch, file was built for i386 which is not the architecture being linked (x86_64): .../Build/Products/Debug-iphonesimulator/AlgoliaSearch.framework/AlgoliaSearch
...
Undefined symbols for architecture x86_64:
"AlgoliaSearch.Client.(init (AlgoliaSearch.Client.Type) -> (appID : Swift.String, apiKey : Swift.String, queryParameters : Swift.String?, tagFilters : Swift.String?, userToken : Swift.String?, hostnames : [Swift.String]?) -> AlgoliaSearch.Client).(default argument 4)", referenced from:
      TestAlgolia.Test.init (TestAlgolia.Test.Type)() -> TestAlgolia.Test in Test.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@dethi
Copy link

dethi commented Mar 10, 2016

Hi @Dodig,
Sorry for the lag. I tried to setup a project with Carthage that simply do a search query.
It worked well on my phone and the simulator.
Can you give me more information?

@Dodig
Copy link
Author

Dodig commented Mar 10, 2016

@dethi I update to the latest version and it's ok now :)

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