简体   繁体   中英

after updating xcode 6.4 to xcode 7 getting this issue

I am getting this issue after updating xcode 6.4 to 7.0.

I am using Objective C

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

How to fix this ?

I tried to add Prefix Header but i was unable to get LLVM 6.0 there i am getting LLVM 7.0”

I found this SO post that might have the solution. Keith Smiley suggested these import statements:

#ifdef __OBJC__
  #import <UIKit/UIKit.h>
  #import <SystemConfiguration/SystemConfiguration.h>
  #import <MobileCoreServices/MobileCoreServices.h>
#endif

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM