FredericJacobs / OpenSSL-Pod

Unmaintained - please fork. Email me to take over the CocoaPod
74 stars 112 forks source link

Linker warnings in Xcode 7 / iOS 9 SDK — built for newer iOS version (8.4) than being linked (8.0) #20

Closed AdrianaPineda closed 9 years ago

AdrianaPineda commented 9 years ago

Hi. Im getting this warnings (a lot) when building my iOS app in Xcode 7 (simulator and devices).

ld: warning: object file (/path/to/lib.a(cryptlib.o)) was built for newer iOS version (8.4) than being linked (8.0)
kas-kad commented 9 years ago

+1

AdrianaPineda commented 9 years ago

Any updates on this?

FredericJacobs commented 9 years ago

You're using Xcode 7 so why aren't you linking against iOS 9?

kas-kad commented 9 years ago

@FredericJacobs do you mean I should change podfile platform to 9.0? I've tried this and got tons of new warnings from other pods:

CocoaLumberjack.a(DDASLLogCapture.o)) was built for newer iOS version (9.0) than being linked (8.0)
FredericJacobs commented 9 years ago

These are warnings, will make sure to address for next version of OpenSSL (by setting a minimal SDK version). For now I wouldn't worry too much.

kas-kad commented 9 years ago

@FredericJacobs true, harmless warnings, but there are hundreds of them spamming the issue navigator.

Vishal-0057 commented 9 years ago

@FredricJacobs : I am getting the same warning though My min SDK is iOS 7.0 object file (../Branch.framework/Branch(BNCEncodingUtils.o)) was built for newer iOS version (8.3) than being linked (7.0).

I have installed Branch SDK Without Pods.

FredericJacobs commented 9 years ago

Clear your Xcode cache and rebuild the project. It's not something related to OpenSSL.

Vishal-0057 commented 9 years ago

I clean the code many times and built it but same warnings I am getting.

FredericJacobs commented 9 years ago

Not my problem ;)

kas-kad commented 9 years ago

The issue solved for me with 1.0.204.1. Thanks.