{"action":"created","issue":{"url":"https://api.github.com/repos/OneSignal/OneSignal-Cordova-SDK/issues/464","repository_url":"https://api.github.com/repos/OneSignal/OneSignal-Cordova-SDK","labels_url":"https://api.github.com/repos/OneSignal/OneSignal-Cordova-SDK/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/OneSignal/OneSignal-Cordova-SDK/issues/464/comments","events_url":"https://api.github.com/repos/OneSignal/OneSignal-Cordova-SDK/issues/464/events","html_url":"https://github.com/OneSignal/OneSignal-Cordova-SDK/issues/464","id":389282517,"node_id":"MDU6SXNzdWUzODkyODI1MTc=","number":464,"title":"Build Failed on iOS using Cordova CLI","user":{"login":"adnanmasd","id":2892144,"node_id":"MDQ6VXNlcjI4OTIxNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2892144?v=4","gravatar_id":"","url":"https://api.github.com/users/adnanmasd","html_url":"https://github.com/adnanmasd","followers_url":"https://api.github.com/users/adnanmasd/followers","following_url":"https://api.github.com/users/adnanmasd/following{/other_user}","gists_url":"https://api.github.com/users/adnanmasd/gists{/gist_id}","starred_url":"https://api.github.com/users/adnanmasd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adnanmasd/subscriptions","organizations_url":"https://api.github.com/users/adnanmasd/orgs","repos_url":"https://api.github.com/users/adnanmasd/repos","events_url":"https://api.github.com/users/adnanmasd/events{/privacy}","received_events_url":"https://api.github.com/users/adnanmasd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-10T12:38:36Z","updated_at":"2018-12-13T06:00:22Z","closed_at":"2018-12-13T06:00:22Z","author_association":"NONE","body":"<!--\r\n 1. IF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MAY CLOSE YOUR ISSUE WITHOUT INVESTIGATION\r\n 2. SEARCH EXISTING ISSUES FOR AN ANSWER: https://goo.gl/G4XxN2\r\n 3. See our Common Issues documentation: https://goo.gl/N6VDpg\r\n 4. See our contributing guidelines: https://goo.gl/qE6wSg\r\n-->\r\n\r\n**Description:**\r\n<!-- (write below this line) -->\r\n\r\nHi,\r\nI am facing this issue when I build on iOS with Cordova. I have tried several things like removing and adding the platform and plugin. Also I ran `cordova clean` the error is \r\n\r\n**Environment**\r\n<!-- Example:\r\n\r\n1. What version of the Cordova SDK are you using?\r\n2. Provide a list of your project dependencies (using `cordova plugin list` or copy-pasting your config.xml)\r\n -->\r\n```\r\n$ cordova -v\r\n8.0.0\r\n\r\n$ cordova platform\r\nInstalled platforms:\r\n  browser 5.0.4\r\n  ios 4.5.5\r\nAvailable platforms: \r\n  android ~7.0.0\r\n  osx ~4.0.1\r\n  windows ~5.0.0\r\n  www ^3.12.0\r\n\r\n\r\n$ cordova plugin\r\ncordova-ios-export-compliance 1.0.2 \"iOS Export Compliance\"\r\ncordova-ios-plugin-no-export-compliance 0.0.5 \"iOS No Export Compliance\"\r\ncordova-launch-review 3.1.0 \"Launch Review\"\r\ncordova-plugin-add-swift-support 1.7.2 \"AddSwiftSupport\"\r\ncordova-plugin-cocoapod-support 1.6.0 \"Cordova CocoaPods Dependency Support\"\r\ncordova-plugin-customurlscheme 4.3.0 \"Custom URL scheme\"\r\ncordova-plugin-device 2.0.2 \"Device\"\r\ncordova-plugin-inappbrowser 2.0.2 \"InAppBrowser\"\r\ncordova-plugin-network-information 2.0.1 \"Network Information\"\r\ncordova-plugin-splashscreen 5.0.2 \"Splashscreen\"\r\ncordova-plugin-vibration 3.1.0 \"Vibration\"\r\ncordova-plugin-whitelist 1.3.3 \"Whitelist\"\r\ncordova-plugin-x-socialsharing 5.3.1 \"SocialSharing\"\r\ncordova-universal-links-plugin 1.2.1 \"Universal Links Plugin\"\r\nes6-promise-plugin 4.1.0 \"Promise\"\r\nkommunicate-cordova-plugin 0.4.1 \"Kommunicate\"\r\nonesignal-cordova-plugin 2.3.3 \"OneSignal Push Notifications\"\r\n```\r\n\r\n**Steps to Reproduce Issue:**\r\n<!--\r\n  Example:\r\n\r\n  1. Add the onesignal-cordova-plugin to your project\r\n  2. Initialize the plugin with your app ID\r\n  3. Attempt to receive a push notification\r\n\r\n  (write below this line) -->\r\n\r\n1. cordova build ios\r\n\r\n**Anything else:**\r\n\r\n```\r\n\r\n=== BUILD TARGET OneSignalNotificationServiceExtension OF PROJECT MercatoVIP WITH CONFIGURATION Debug ===\r\n\r\nCheck dependencies\r\n\r\nCreate product structure\r\n/bin/mkdir -p /Users/adnan/Documents/GitHub/com.mercatovip.app/platforms/ios/build/emulator/OneSignalNotificationServiceExtension.appex\r\n\r\nProcessInfoPlistFile build/emulator/OneSignalNotificationServiceExtension.appex/Info.plist OneSignalNotificationServiceExtension/Info.plist\r\n    cd /Users/adnan/Documents/GitHub/com.mercatovip.app/platforms/ios\r\n    export PATH=\"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin\"\r\n    builtin-infoPlistUtility /Users/adnan/Documents/GitHub/com.mercatovip.app/platforms/ios/OneSignalNotificationServiceExtension/Info.plist -expandbuildsettings -format binary -platform iphonesimulator -o /Users/adnan/Documents/GitHub/com.mercatovip.app/platforms/ios/build/emulator/OneSignalNotificationServiceExtension.appex/Info.plist\r\n\r\nLd build/emulator/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension normal x86_64\r\n    cd /Users/adnan/Documents/GitHub/com.mercatovip.app/platforms/ios\r\n    export IPHONEOS_DEPLOYMENT_TARGET=10.2\r\n    export PATH=\"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin\"\r\n    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -L/Users/adnan/Documents/GitHub/com.mercatovip.app/platforms/ios/build/emulator -F/Users/adnan/Documents/GitHub/com.mercatovip.app/platforms/ios/build/emulator -F/Users/adnan/Documents/GitHub/com.mercatovip.app/platforms/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework -F/Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Products/Debug-iphonesimulator/Applozic -F/Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Products/Debug-iphonesimulator/ApplozicSwift -F/Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Products/Debug-iphonesimulator/Kingfisher -F/Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Products/Debug-iphonesimulator/Kommunicate -F/Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Products/Debug-iphonesimulator/MGSwipeTableCell -F/Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Products/Debug-iphonesimulator/SDWebImage -filelist /Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Intermediates.noindex/MercatoVIP.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/OneSignalNotificationServiceExtension.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -mios-simulator-version-min=10.2 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Intermediates.noindex/MercatoVIP.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/OneSignalNotificationServiceExtension_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -fapplication-extension -ObjC -ObjC -framework Applozic -framework ApplozicSwift -framework Kingfisher -framework Kommunicate -framework MGSwipeTableCell -framework OneSignal -framework SDWebImage -framework SystemConfiguration -framework UIKit -framework UserNotifications -e _NSExtensionMain -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Intermediates.noindex/MercatoVIP.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.appex.xcent -framework OneSignal -framework UIKit -framework SystemConfiguration -Xlinker -dependency_info -Xlinker /Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Intermediates.noindex/MercatoVIP.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/OneSignalNotificationServiceExtension_dependency_info.dat -o /Users/adnan/Documents/GitHub/com.mercatovip.app/platforms/ios/build/emulator/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension\r\nld: warning: directory not found for option '-F/Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Products/Debug-iphonesimulator/Applozic'\r\nld: warning: directory not found for option '-F/Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Products/Debug-iphonesimulator/ApplozicSwift'\r\nld: warning: directory not found for option '-F/Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Products/Debug-iphonesimulator/Kommunicate'\r\nld: warning: directory not found for option '-F/Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Products/Debug-iphonesimulator/MGSwipeTableCell'\r\nld: warning: directory not found for option '-F/Users/adnan/Library/Developer/Xcode/DerivedData/MercatoVIP-djdlndegxcylwoexiljvzzsypnhi/Build/Products/Debug-iphonesimulator/SDWebImage'\r\nld: framework not found Applozic\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n\r\n** BUILD FAILED **\r\n\r\n\r\nThe following build commands failed:\r\n\tLd build/emulator/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension normal x86_64\r\n(1 failure)\r\n(node:6631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error code 65 for command: xcodebuild with args: -xcconfig,/Users/adnan/Documents/GitHub/com.mercatovip.app/platforms/ios/cordova/build-debug.xcconfig,-workspace,MercatoVIP.xcworkspace,-scheme,MercatoVIP,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/adnan/Documents/GitHub/com.mercatovip.app/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/adnan/Documents/GitHub/com.mercatovip.app/platforms/ios/build/sharedpch,EMBEDDED_CONTENT_CONTAINS_SWIFT = YES,ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO,LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\"\r\n\r\n```\r\n\r\n\r\n\r\n<!--\r\n  SEARCH EXISTING ISSUES FOR AN ANSWER: https://goo.gl/G4XxN2\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/OneSignal/OneSignal-Cordova-SDK/issues/comments/446852093","html_url":"https://github.com/OneSignal/OneSignal-Cordova-SDK/issues/464#issuecomment-446852093","issue_url":"https://api.github.com/repos/OneSignal/OneSignal-Cordova-SDK/issues/464","id":446852093,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Njg1MjA5Mw==","user":{"login":"Nightsd01","id":8186991,"node_id":"MDQ6VXNlcjgxODY5OTE=","avatar_url":"https://avatars0.githubusercontent.com/u/8186991?v=4","gravatar_id":"","url":"https://api.github.com/users/Nightsd01","html_url":"https://github.com/Nightsd01","followers_url":"https://api.github.com/users/Nightsd01/followers","following_url":"https://api.github.com/users/Nightsd01/following{/other_user}","gists_url":"https://api.github.com/users/Nightsd01/gists{/gist_id}","starred_url":"https://api.github.com/users/Nightsd01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nightsd01/subscriptions","organizations_url":"https://api.github.com/users/Nightsd01/orgs","repos_url":"https://api.github.com/users/Nightsd01/repos","events_url":"https://api.github.com/users/Nightsd01/events{/privacy}","received_events_url":"https://api.github.com/users/Nightsd01/received_events","type":"User","site_admin":false},"created_at":"2018-12-13T06:00:22Z","updated_at":"2018-12-13T06:00:22Z","author_association":"CONTRIBUTOR","body":"@adnanmasd what makes you suspect this is related to OneSignal exactly? This looks like an issue with dependencies our SDK is unrelated to. "}}
{"actor":{"display_login":"Nightsd01"}}