Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

onesignal plugin does not work with Tenjin plugin during build.
Started by usmanmughal.uog Jan 15 2020 04:38 AM

No replies to this topic
onesignal plugin tenjin build build failed
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

usmanmughal.uog

[GLOBAL: userInfoPane.html]
usmanmughal.uog
  • Enthusiast

  • 78 posts
  • Corona SDK

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.

Attached Files




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: onesignal, plugin, tenjin, build, build failed