Hi all,
Tenjin plugin conflicts with onesignal during build. I wonder if onesignal team is aware of the problem?
Here is the bug attached as a project. I just added tenjin and onesignal in build.settings. Nothing else, nor one line of code in main.lua. And try to make an IPA, here is console log:
Error while building Building iOS app for xxxxxxx@xxx.com with 2019.3565 Using custom build id from app bundle: 00000 (AppSettings.lua) BuildID: 5e1eefa19bed6 Using additional build settings from: /Users/usmanmughal/Desktop/one signal conflict with tenjin/build.settings Building: Copying app resources Excluding specified files from build: excluding: Icon.png excluding: Icon-\*dpi.png excluding: Images.xcassets Building: Unpacking build from server Building: Adding plugins Analyzing plugins... Found native plugin: /Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/plugin.OneSignal Found native plugin: /Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/plugin.tenjin Done. Analyzing Lua plugins... Examining plugin: plugin.OneSignal Examining plugin: plugin.tenjin Done. Compiling Slices... Compiling architecture: armv7 \<execute\>cd "/var/folders/gf/flc2wv7j1c9\_vq7np0lw625h0000gn/T/CLtmp8fAYwB/armv7";unset LIBRARY\_PATH; export IPHONEOS\_DEPLOYMENT\_TARGET=8; export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin";"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" -stdlib=libstdc++ -arch armv7 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk" -ObjC -all\_load -fobjc-link-runtime -miphoneos-version-min=8 -std=c++11 -stdlib=libc++ -Xlinker -rpath -Xlinker @executable\_path/Frameworks -L"/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/libtemplate" -L"/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/plugin.OneSignal" -L"/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/plugin.tenjin" -F"/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/libtemplate" -F"/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/plugin.OneSignal" -F"/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/plugin.tenjin" -framework AudioToolbox -framework AVFoundation -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -framework CoreMotion -framework CoreVideo -framework CoreText -framework GameKit -framework GLKit -framework ImageIO -framework MapKit -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework OpenAL -framework OpenGLES -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework WebKit -framework UserNotifications -framework AdSupport -weak\_framework GameController -weak\_framework AssetsLibrary -weak\_framework Photos -weak\_framework Foundation -weak\_framework Twitter -lobjc -lsqlite3 -ltemplate -lplugin\_OneSignal -lTenjinPlugin -lTenjinSDKUniversal -o "/var/folders/gf/flc2wv7j1c9\_vq7np0lw625h0000gn/T/CLtmp8fAYwB/armv7/one signal conflict with tenjin"\</execute\> \<result\>ld: warning: building for iOS, but linking in object file (/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/libtemplate/libtemplate.a(CoronaProvider.gameNetwork.o)) built for free standing ld: warning: building for iOS, but linking in object file (/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/libtemplate/libtemplate.a(gameNetwork.o)) built for free standing ld: warning: building for iOS, but linking in object file (/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/libtemplate/libtemplate.a(CoronaGameNetworkLibrary.o)) built for free standing ld: warning: building for iOS, but linking in object file (/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/libtemplate/libtemplate.a(CoronaProvider.licensing.o)) built for free standing ld: warning: building for iOS, but linking in object file (/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/libtemplate/libtemplate.a(licensing.o)) built for free standing ld: warning: building for iOS, but linking in object file (/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/libtemplate/libtemplate.a(CoronaLicensingLibrary.o)) built for free standing duplicate symbol '\_DEVICE' in: /Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/plugin.OneSignal/libplugin\_OneSignal.a(OneSignal-armv7-master.o) /Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/plugin.tenjin/libTenjinSDKUniversal.a(libTenjinSDKarmv7.a-armv7-master.o) ld: 1 duplicate symbol for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)\</result\> ERROR: Builder failed: ld: warning: building for iOS, but linking in object file (/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/libtemplate/libtemplate.a(CoronaProvider.gameNetwork.o)) built for free standing ld: warning: building for iOS, but linking in object file (/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/libtemplate/libtemplate.a(gameNetwork.o)) built for free standing ld: warning: building for iOS, but linking in object file (/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/libtemplate/libtemplate.a(CoronaGameNetworkLibrary.o)) built for free standing ld: warning: building for iOS, but linking in object file (/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/libtemplate/libtemplate.a(CoronaProvider.licensing.o)) built for free standing ld: warning: building for iOS, but linking in object file (/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/libtemplate/libtemplate.a(licensing.o)) built for free standing ld: warning: building for iOS, but linking in object file (/Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/libtemplate/libtemplate.a(CoronaLicensingLibrary.o)) built for free standing duplicate symbol '\_DEVICE' in: /Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/plugin.OneSignal/libplugin\_OneSignal.a(OneSignal-armv7-master.o) /Users/usmanmughal/Desktop/one signal conflict with tenjin.app/.build/plugin.tenjin/libTenjinSDKUniversal.a(libTenjinSDKarmv7.a-armv7-master.o) ld: 1 duplicate symbol for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) BUILD ERROR: There was a problem linking the app. Check the console for more information. iOS build failed (12) after 92 seconds ERROR: Build Failed: There was a problem linking the app. Check the console for more information.