在 pod 裡加入 SVProgressHUD, 一去 import 之後遇到無法 build, error message:
ld: symbol(s) not found for architecture armv7
使用了 pod update 指令,還是無法解決,訊息如下:
CocoaPods 1.5.3 is available. To update use: `sudo gem install cocoapods` For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.5.3 Analyzing dependencies Pre-downloading: `SVProgressHUD` from `https://github.com/SVProgressHUD/SVProgressHUD.git` Downloading dependencies Installing SVProgressHUD 2.2.5 (was 2.2.5) Generating Pods project Integrating client project Sending stats Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed. [!] The `EGeofence [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-EGeofence/Pods-EGeofence.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target. [!] The `EGeofence [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-EGeofence/Pods-EGeofence.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target.
我是在 “General” – “Linked Frameworks and Libraries” 裡加入,即可正常 build.