XCode keeps forgetting imported Frameworks

前端 未结 2 1840
醉酒成梦
醉酒成梦 2021-01-13 00:42

I have Xcode 6.3, using Swift, importing a Parse 1.7.1 Framework as usual (dragging, copying) and I set it up in a group: Frameworks.

I compile and everything works

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-13 01:05

    If you're targeting iOS 8 and above, you can tell Cocoapods to use frameworks, by putting

    use_frameworks!
    

    in your Podfile, like this example:

    use_frameworks!
    platform :ios, '8.0'
    
    # Parse
    pod 'Parse', '~> 1.7'
    

    I could fix the same problem by doing so.

提交回复
热议问题