The Wayback Machine - https://web.archive.org/web/20201201010802/https://github.com/microsoft/cpprestsdk/issues/24
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

Linker warnings on iOS 7.0 #24

Closed
rinopazzo opened this issue Nov 26, 2015 · 1 comment
Closed

Linker warnings on iOS 7.0 #24

rinopazzo opened this issue Nov 26, 2015 · 1 comment
Labels
bug

Comments

@rinopazzo
Copy link

@rinopazzo rinopazzo commented Nov 26, 2015

When the lib is linked on iOS 7.0 I receive several linker warnings:


ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.1.sdk/Developer/Library/Frameworks'
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(uri.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(http_client_msg.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(http_client_asio.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(json.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/boost.framework/boost(thread_thread.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/boost.framework/boost(chrono_chrono.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/boost.framework/boost(system_error_code.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(asyncrt_utils.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(json_serialization.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(uri_builder.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(http_msg.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(x509_cert_utilities.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(oauth1.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(http_helpers.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(json_parsing.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(uri_parser.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(pplx.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(pplxapple.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/boost.framework/boost(thread_once.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(threadpool.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(x509_cert_utilities_apple.o)) was built for newer iOS version (9.1) than being linked (7.0)
ld: warning: object file (/Users/rinopazzo/dropticketcore/CppRestSdk/cpprest/libcpprest.a(base64.o)) was built for newer iOS version (9.1) than being linked (7.0)

It is possible to use the lib on iOS 7.0?

@rinopazzo rinopazzo changed the title Linker warning s on iOS Linker warnings on iOS Nov 26, 2015
@ras0219-msft ras0219-msft changed the title Linker warnings on iOS Linker warnings on iOS 7.0 Nov 30, 2015
@ras0219-msft ras0219-msft added the bug label Nov 30, 2015
@ras0219-msft
Copy link
Contributor

@ras0219-msft ras0219-msft commented Jan 19, 2016

You will probably need to tweak the downloaded ios-cmake script to select an older version (7.0).

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.