Undefined symbols for architecture armv7: cocoaPods iPhone 5

前端 未结 3 577
轮回少年
轮回少年 2021-01-11 22:26

I\'m getting this error, only when I try to build and run on an iPhone 5. It works fine on an iPhone 6 or greater. These are all cocoaPods generating the error. I\'ve ran p

3条回答
  •  走了就别回头了
    2021-01-11 22:51

    None of the answers above helped me. It turns out using frameworks for my pods instead of static libraries fixed it. Adding use_frameworks! to Podfile fixed it:

    platform :ios, '9.3'
    use_frameworks!
    
    ...rest of podfile
    

提交回复
热议问题