tsinghan
V2EX  ›  Swift

SwiftyJSON 如何兼容 ios 7?

  •  
  •   tsinghan · Dec 24, 2014 · 5063 views
    This topic created in 4168 days ago, the information mentioned may be changed or developed.

    如何在ios7 中引入SwiftyJSON ?
    SwiftyJSON这库虽然支持ios7 但是 我查了查网上说要 "如果要支持iOS7只能把代码拷贝过去,不能引入framework"
    这个把代码拷过去的意思是?如何操作?

    4 replies    2014-12-24 22:14:17 +08:00
    1XNf2EUDzg0HN0KD
        1
    1XNf2EUDzg0HN0KD  
       Dec 24, 2014
    把SwiftyJSON相关代码拖入你的工程中
    tsinghan
        2
    tsinghan  
    OP
       Dec 24, 2014
    @Bayonetta 我已经git clone 下来了 放到了工程中了 还是报
    ld: embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/SwiftyJSON.framework/SwiftyJSON) for architecture armv7
    tsinghan
        3
    tsinghan  
    OP
       Dec 24, 2014
    @Bayonetta 拖入后, 需要 import SwiftyJSON 吗? 我import后提示 找不到, 还是其他方式?
    tsinghan
        4
    tsinghan  
    OP
       Dec 24, 2014
    @Bayonetta okay 已经好了 谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2832 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 14:54 · PVG 22:54 · LAX 07:54 · JFK 10:54
    ♥ Do have faith in what you're doing.