Search code examples
objective-cios7ios8xcode6

Xcode 6.1 linker error when trying to link PushKit framework


Today I updated Xcode to 6.1 and found that my iOS project won't link any more. This project is targeted to iOS 7 and iOS 8 (x64 armv7 armv7s). And I'm using PushKit framework (not available in iOS7) which is marked as Optional in build settings. Everything was fine in Xcode 6.0.X but now it's broken in 6.1:

ld: embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/PushKit.framework/PushKit) for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I've already tried to fully cleanup project including derived data. Appreciate any help.


Solution

  • There is already filled bug on OpenRadar. I also reported that bug and got next answer:

    Engineering has determined that your bug report (18664818) is a duplicate of another issue (18328913) and will be closed.

    So waiting until that's fixed.