问题
When I import Flurry as per the instructions here:
https://developer.yahoo.com/flurry/docs/integrateflurry/ios/
I get the following error after following all the instructions and trying to run:
I have tried the following after much research:
- Check my Compile Source in Build Phases - all was OK
- 'Clean'and re-run - Nothing
- Deleting and re-importing - No Good
- Checking to see if my riding header is exposed in Build Settings - all was OK
The weird thing is when I create a brand new project and follow the same steps I don't get the same error and the build compiles and runs just fine.
Any ideas please!
Here is the long blurb:
回答1:
SOLVED!
- Remove and 'move to trash' all Flurry files including bridging header
- In Build Phases -> 'swift compilers'....delete the reference to your old bridging header
- Drag and Drop FLurry files wanted but DO NOT PUT THEM INTO YOUR PROJECT FOLDER. Put them outside your project folder into their own file.
- Add bridging header and #import "Flurry.h"
Use as normal
来源:https://stackoverflow.com/questions/39857311/linker-command-fail-exit-code-1-with-flurry