Our forums have been retired and are no longer being actively maintained or monitored. If you have a query, feel free to email us at [email protected]

Error during build in Xcode with cometchat ionic 0.0.1

I've added the ionic plugin in my project, on android it builds and woks, but in iOS I have this error: Ld /Users/matteobenedetti/Library/Developer/Xcode/DerivedData/Democall-ehbbpobjtjbonwhieekkrfqerheg/Build/Products/Debug-iphoneos/Democall.app/Democall normal armv7 cd /Users/matteobenedetti/Cometchat/platforms/ios export IPHONEOS_DEPLOYMENT_TARGET=9.0 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -L/Users/matteobenedetti/Library/Developer/Xcode/DerivedData/Democall-ehbbpobjtjbonwhieekkrfqerheg/Build/Products/Debug-iphoneos -F/Users/matteobenedetti/Library/Developer/Xcode/DerivedData/Democall-ehbbpobjtjbonwhieekkrfqerheg/Build/Products/Debug-iphoneos -FDemocall/Plugins/com-cccometchat-plugin -filelist /Users/matteobenedetti/Library/Developer/Xcode/DerivedData/Democall-ehbbpobjtjbonwhieekkrfqerheg/Build/Intermediates/Democall.build/Debug-iphoneos/Democall.build/Objects-normal/armv7/Democall.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=9.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/matteobenedetti/Library/Developer/Xcode/DerivedData/Democall-ehbbpobjtjbonwhieekkrfqerheg/Build/Intermediates/Democall.build/Debug-iphoneos/Democall.build/Objects-normal/armv7/Democall_lto.o -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC /Users/matteobenedetti/Library/Developer/Xcode/DerivedData/Democall-ehbbpobjtjbonwhieekkrfqerheg/Build/Products/Debug-iphoneos/libCordova.a -lz -weak_framework WebKit -framework cometchat-ui -framework MessageSDKFramework -lz.1.1.3 -lxml2.2 -lsqlite3.0 -Xlinker -dependency_info -Xlinker /Users/matteobenedetti/Library/Developer/Xcode/DerivedData/Democall-ehbbpobjtjbonwhieekkrfqerheg/Build/Intermediates/Democall.build/Debug-iphoneos/Democall.build/Objects-normal/armv7/Democall_dependency_info.dat -o /Users/matteobenedetti/Library/Developer/Xcode/DerivedData/Democall-ehbbpobjtjbonwhieekkrfqerheg/Build/Products/Debug-iphoneos/Democall.app/Democall duplicate symbol _OBJC_IVAR_$_ReachabilityCC.reachabilityObject in: Democall/Plugins/com-cccometchat-plugin/cometchat-ui.framework/cometchat-ui(ReachabilityCC.o) Democall/Plugins/com-cccometchat-plugin/MessageSDKFramework.framework/MessageSDKFramework(Reachability.o) duplicate symbol _OBJC_IVAR_$_ReachabilityCC.unreachableBlock in: Democall/Plugins/com-cccometchat-plugin/cometchat-ui.framework/cometchat-ui(ReachabilityCC.o) Democall/Plugins/com-cccometchat-plugin/MessageSDKFramework.framework/MessageSDKFramework(Reachability.o) duplicate symbol _OBJC_IVAR_$_ReachabilityCC.reachableBlock in: Democall/Plugins/com-cccometchat-plugin/cometchat-ui.framework/cometchat-ui(ReachabilityCC.o) Democall/Plugins/com-cccometchat-plugin/MessageSDKFramework.framework/MessageSDKFramework(Reachability.o) duplicate symbol _OBJC_IVAR_$_ReachabilityCC.reachabilityRef in: Democall/Plugins/com-cccometchat-plugin/cometchat-ui.framework/cometchat-ui(ReachabilityCC.o) Democall/Plugins/com-cccometchat-plugin/MessageSDKFramework.framework/MessageSDKFramework(Reachability.o) duplicate symbol _OBJC_IVAR_$_ReachabilityCC.reachabilitySerialQueue in: Democall/Plugins/com-cccometchat-plugin/cometchat-ui.framework/cometchat-ui(ReachabilityCC.o) Democall/Plugins/com-cccometchat-plugin/MessageSDKFramework.framework/MessageSDKFramework(Reachability.o) duplicate symbol _OBJC_IVAR_$_ReachabilityCC.reachableOnWWAN in: Democall/Plugins/com-cccometchat-plugin/cometchat-ui.framework/cometchat-ui(ReachabilityCC.o) Democall/Plugins/com-cccometchat-plugin/MessageSDKFramework.framework/MessageSDKFramework(Reachability.o) duplicate symbol _OBJC_CLASS_$_ReachabilityCC in: Democall/Plugins/com-cccometchat-plugin/cometchat-ui.framework/cometchat-ui(ReachabilityCC.o) Democall/Plugins/com-cccometchat-plugin/MessageSDKFramework.framework/MessageSDKFramework(Reachability.o) duplicate symbol _OBJC_METACLASS_$_ReachabilityCC in: Democall/Plugins/com-cccometchat-plugin/cometchat-ui.framework/cometchat-ui(ReachabilityCC.o) Democall/Plugins/com-cccometchat-plugin/MessageSDKFramework.framework/MessageSDKFramework(Reachability.o) duplicate symbol _kReachabilityChangedNotificationCC in: Democall/Plugins/com-cccometchat-plugin/cometchat-ui.framework/cometchat-ui(ReachabilityCC.o) Democall/Plugins/com-cccometchat-plugin/MessageSDKFramework.framework/MessageSDKFramework(Reachability.o) ld: 9 duplicate symbols for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) I've only use this command: ionic cordova plugin add plugin_folder

Comments

Sign In or Register to comment.