문제

Context

I'm trying to add the CoreTelephony.framework so I can use mixpanel analytics in my iOS app. My app is targeted at iOS 5.1+. I'm running XcodeVersion 4.6.3. I have the iOS 5.1 simulator installed.

When I click the "Build Phases" and then the section "Link Binary With Libraries" and click the plus to add a library. I get this dialog box:

enter image description here

Quesitons

  • Does the fact that all these frameworks are in the "iOS 6.1" folder mean they will only run on iOS 6.1?
  • How would I add the CoreTelephony.framework so it will run on iOS 5.1 or greater?
도움이 되었습니까?

해결책

CoreTelephony has been available since iOS4. You can simply add it to your project from Build Phases even though it is listed under iOS6.1. It will still build and run fine under iOS5.1.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top