It works correctly on the emulator, but it will be an error on the emulator, since Xocde7 adds a bitcode,bitcode that is an intermediate form of code that is compiled by the program. Programs that contain Bitcode configuration will be compiled and linked on the App store. Bitcode allows Apple to re-optimize the binary files of the program at a later stage without having to resubmit a new version to the App Store.
With these problems, we have two solutions, either close bitcode or let the third party support Bitcode, we say the first, configuration Bitcode, we can "Build Settings", "Enable Bitcode" option to see this setting, change yes to No, because Bitcode is turned on by default.
This article is for reference: see HTTP://WWW.JIANSHU.COM/P/3E1B4E2D06C6 for details
iOS real-computer test encounters Error linker command failed with exit code 1 (use-v to see invocation)