Build Failed:There was a problem linking the App

Do you need the openSSL plugin?

If not, you might want to try and remove it.

Rob

And to verify this is an SDK build, not an Enterprise build?

Thanks

Rob

Yes, Rob, I need it. And everything works without openSSL.

No other solution, Rob?

And to verify this is an SDK build, not an Enterprise build?

This is SDK build.

Engineering said that this is only an issue if you’re building for the Xcode Simulator.  Device builds will work fine.  There is a technical reason we can’t get it working on the Xcode simulator.

Rob

Yes, this work for device. Thank you, Rob!

Hi, Has something changed? On Friday it was linking fine, now I get the linking error.

SDK is .2700

I found this log - is it the right log?

Do you know what the problem is?

thanks.

ERROR: Builder failed: duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(LuaLibraryShim.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(LuaLibraryShim.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalCoronaDelegate.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalCoronaDelegate.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(plugin_OneSignal.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(plugin_OneSignal.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(GameThrive.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(GameThrive.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalTrackIAP.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalTrackIAP.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalJailbreakDetection.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalJailbreakDetection.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalHTTPClient.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalHTTPClient.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalMobileProvision.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalMobileProvision.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalReachability.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalReachability.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

ld: 20 duplicate symbols for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Sep 27 11:06:17.691: BUILD ERROR: There was a problem linking the app.

Check the console for more information.

Is the Simulator/openssl linking issue a permanent one? That is, is the issue fundamentally unresolvable, or is it simply going to take time to address?

It’s certainly quite limiting, not having access to the Xcode simulator.

I don’t want to say permanent, but it’s not on our radar to address. Perhaps a future version of Xcode might make this easier to deal with.

Rob

Have same problem, Build 2015.2697

The OpenSSL plugin does not work on Xcode Simulator and you will get a build error. You need to build for device instead.

Hi, Has something changed? On Friday it was linking fine, now I get the linking error.

SDK is .2700

I found this log - is it the right log?

Do you know what the problem is?

thanks.

ERROR: Builder failed: duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(LuaLibraryShim.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(LuaLibraryShim.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalCoronaDelegate.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalCoronaDelegate.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(plugin_OneSignal.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(plugin_OneSignal.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(GameThrive.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(GameThrive.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalTrackIAP.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalTrackIAP.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalJailbreakDetection.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalJailbreakDetection.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalHTTPClient.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalHTTPClient.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalMobileProvision.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalMobileProvision.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalReachability.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignalReachability.o)

duplicate symbol _llvm.cmdline in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

duplicate symbol _llvm.embedded.module in:

    /Users/martinsmith/Documents/DailyAnagram/binary/DailyAnagram.app/.build/plugin.OneSignal/libplugin_OneSignal.a(OneSignal.o)

ld: 20 duplicate symbols for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Sep 27 11:06:17.691: BUILD ERROR: There was a problem linking the app.

Check the console for more information.