question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting Started - "ionic build ios" Fails

See original GitHub issue

I’m trying to follow the Getting Started tutorial but ionic fails on the build ios step.

This is the output:


Running build task...
Building platform ios
Running command: /tmp/myApp/platforms/ios/cordova/build 
Build settings from command line:
    ARCHS = i386
    CONFIGURATION_BUILD_DIR = /private/tmp/myApp/platforms/ios/build/emulator
    SDKROOT = iphonesimulator7.1
    VALID_ARCHS = i386

=== BUILD TARGET CordovaLib OF PROJECT CordovaLib WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET HelloCordova OF PROJECT HelloCordova WITH CONFIGURATION Debug ===

Check dependencies

ProcessInfoPlistFile /private/tmp/myApp/platforms/ios/build/emulator/HelloCordova.app/Info.plist HelloCordova/HelloCordova-Info.plist
    cd /tmp/myApp/platforms/ios
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/jannone/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin"
    builtin-infoPlistUtility /tmp/myApp/platforms/ios/HelloCordova/HelloCordova-Info.plist -genpkginfo /private/tmp/myApp/platforms/ios/build/emulator/HelloCordova.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -o /private/tmp/myApp/platforms/ios/build/emulator/HelloCordova.app/Info.plist

PhaseScriptExecution Copy\ www\ directory build/HelloCordova.build/Debug-iphonesimulator/HelloCordova.build/Script-304B58A110DAC018002A0835.sh
    cd /tmp/myApp/platforms/ios
    /bin/sh -c /tmp/myApp/platforms/ios/build/HelloCordova.build/Debug-iphonesimulator/HelloCordova.build/Script-304B58A110DAC018002A0835.sh

real    0m0.279s
user    0m0.105s
sys 0m0.170s

Ld /private/tmp/myApp/platforms/ios/build/emulator/HelloCordova.app/HelloCordova normal i386
    cd /tmp/myApp/platforms/ios
    export IPHONEOS_DEPLOYMENT_TARGET=6.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/jannone/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/private/tmp/myApp/platforms/ios/build/emulator -F/private/tmp/myApp/platforms/ios/build/emulator -filelist /tmp/myApp/platforms/ios/build/HelloCordova.build/Debug-iphonesimulator/HelloCordova.build/Objects-normal/i386/HelloCordova.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -force_load /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -framework AssetsLibrary /tmp/myApp/platforms/ios/build/emulator/libCordova.a -framework CoreGraphics -framework MobileCoreServices -framework CoreLocation -Xlinker -dependency_info -Xlinker /tmp/myApp/platforms/ios/build/HelloCordova.build/Debug-iphonesimulator/HelloCordova.build/Objects-normal/i386/HelloCordova_dependency_info.dat -o /private/tmp/myApp/platforms/ios/build/emulator/HelloCordova.app/HelloCordova
duplicate symbol _OBJC_IVAR_$_CDVInvokedUrlCommand._arguments in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVInvokedUrlCommand.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVInvokedUrlCommand.o)
duplicate symbol _OBJC_IVAR_$_CDVInvokedUrlCommand._callbackId in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVInvokedUrlCommand.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVInvokedUrlCommand.o)
duplicate symbol _OBJC_IVAR_$_CDVInvokedUrlCommand._className in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVInvokedUrlCommand.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVInvokedUrlCommand.o)
duplicate symbol _OBJC_IVAR_$_CDVInvokedUrlCommand._methodName in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVInvokedUrlCommand.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVInvokedUrlCommand.o)
duplicate symbol _OBJC_CLASS_$_CDVInvokedUrlCommand in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVInvokedUrlCommand.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVInvokedUrlCommand.o)
duplicate symbol _OBJC_METACLASS_$_CDVInvokedUrlCommand in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVInvokedUrlCommand.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVInvokedUrlCommand.o)
duplicate symbol _CDVNewBase64Decode in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(NSData+Base64.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(NSData+Base64.o)
duplicate symbol _CDVNewBase64Encode in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(NSData+Base64.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(NSData+Base64.o)
duplicate symbol _messageFromArrayBuffer in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
duplicate symbol _massageMessage in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
duplicate symbol _messageFromMultipart in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
duplicate symbol _OBJC_IVAR_$_CDVPluginResult.status in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
duplicate symbol _OBJC_IVAR_$_CDVPluginResult.message in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
duplicate symbol _OBJC_IVAR_$_CDVPluginResult.keepCallback in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
duplicate symbol _OBJC_IVAR_$_CDVPluginResult.associatedObject in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
duplicate symbol _OBJC_CLASS_$_CDVPluginResult in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
duplicate symbol _OBJC_METACLASS_$_CDVPluginResult in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPluginResult.o)
duplicate symbol _CDVPluginHandleOpenURLNotification in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
duplicate symbol _CDVPluginResetNotification in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
duplicate symbol _OBJC_IVAR_$_CDVPlugin.viewController in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
duplicate symbol _OBJC_IVAR_$_CDVPlugin.commandDelegate in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
duplicate symbol _OBJC_IVAR_$_CDVPlugin.webView in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
duplicate symbol _OBJC_IVAR_$_CDVPlugin.hasPendingOperation in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
duplicate symbol _CDVPageDidLoadNotification in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
duplicate symbol _CDVLocalNotification in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
duplicate symbol _CDVRemoteNotification in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
duplicate symbol _CDVRemoteNotificationError in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
duplicate symbol _OBJC_CLASS_$_CDVPlugin in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
duplicate symbol _OBJC_METACLASS_$_CDVPlugin in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVPlugin.o)
duplicate symbol _OBJC_IVAR_$_CDVWhitelistPattern._scheme in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
duplicate symbol _OBJC_IVAR_$_CDVWhitelistPattern._host in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
duplicate symbol _OBJC_IVAR_$_CDVWhitelistPattern._port in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
duplicate symbol _OBJC_IVAR_$_CDVWhitelistPattern._path in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
duplicate symbol _kCDVDefaultWhitelistRejectionString in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
duplicate symbol _OBJC_IVAR_$_CDVWhitelist.whitelist in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
duplicate symbol _kCDVDefaultSchemeName in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
duplicate symbol _OBJC_IVAR_$_CDVWhitelist.permittedSchemes in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
duplicate symbol _OBJC_IVAR_$_CDVWhitelist.whitelistRejectionFormatString in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
duplicate symbol _OBJC_CLASS_$_CDVWhitelistPattern in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
duplicate symbol _OBJC_METACLASS_$_CDVWhitelistPattern in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
duplicate symbol _OBJC_CLASS_$_CDVWhitelist in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
duplicate symbol _OBJC_METACLASS_$_CDVWhitelist in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWhitelist.o)
duplicate symbol _kCDVAssetsLibraryPrefixes in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVURLProtocol.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVURLProtocol.o)
duplicate symbol _OBJC_IVAR_$_CDVHTTPURLResponse.statusCode in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVURLProtocol.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVURLProtocol.o)
duplicate symbol _OBJC_CLASS_$_CDVURLProtocol in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVURLProtocol.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVURLProtocol.o)
duplicate symbol _OBJC_METACLASS_$_CDVURLProtocol in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVURLProtocol.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVURLProtocol.o)
duplicate symbol _OBJC_CLASS_$_CDVHTTPURLResponse in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVURLProtocol.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVURLProtocol.o)
duplicate symbol _OBJC_METACLASS_$_CDVHTTPURLResponse in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVURLProtocol.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVURLProtocol.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController._commandQueue in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController._commandDelegate in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController.configParser in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController._webViewDelegate in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController._userAgentLockToken in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController.webView in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController._userAgent in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController.pluginObjects in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController.supportedOrientations in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController.pluginsMap in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController.whitelist in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController.startupPluginNames in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController.settings in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController.loadFromString in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController.wwwFolderName in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController.startPage in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController.initialized in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVViewController.openURL in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_CLASS_$_CDVViewController in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_METACLASS_$_CDVViewController in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVViewController.o)
duplicate symbol _OBJC_IVAR_$_CDVLocalStorage.backupInfo in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
duplicate symbol _OBJC_IVAR_$_CDVLocalStorage.webviewDelegate in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
duplicate symbol _OBJC_IVAR_$_CDVBackupInfo.original in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
duplicate symbol _OBJC_IVAR_$_CDVBackupInfo.backup in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
duplicate symbol _OBJC_IVAR_$_CDVBackupInfo.label in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
duplicate symbol _OBJC_CLASS_$_CDVBackupInfo in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
duplicate symbol _OBJC_METACLASS_$_CDVBackupInfo in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
duplicate symbol _OBJC_METACLASS_$_CDVLocalStorage in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
duplicate symbol _OBJC_CLASS_$_CDVLocalStorage in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVLocalStorage.o)
duplicate symbol _OBJC_IVAR_$_CDVCommandQueue._startExecutionTime in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandQueue.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandQueue.o)
duplicate symbol _OBJC_IVAR_$_CDVCommandQueue._viewController in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandQueue.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandQueue.o)
duplicate symbol _OBJC_IVAR_$_CDVCommandQueue._queue in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandQueue.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandQueue.o)
duplicate symbol _OBJC_IVAR_$_CDVCommandQueue._lastCommandQueueFlushRequestId in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandQueue.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandQueue.o)
duplicate symbol _OBJC_CLASS_$_CDVCommandQueue in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandQueue.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandQueue.o)
duplicate symbol _OBJC_METACLASS_$_CDVCommandQueue in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandQueue.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandQueue.o)
duplicate symbol _OBJC_IVAR_$_CDVCommandDelegateImpl._viewController in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandDelegateImpl.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandDelegateImpl.o)
duplicate symbol _OBJC_IVAR_$_CDVCommandDelegateImpl._commandQueue in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandDelegateImpl.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandDelegateImpl.o)
duplicate symbol _OBJC_IVAR_$_CDVCommandDelegateImpl._callbackIdPattern in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandDelegateImpl.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandDelegateImpl.o)
duplicate symbol _OBJC_IVAR_$_CDVCommandDelegateImpl._delayResponses in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandDelegateImpl.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandDelegateImpl.o)
duplicate symbol _OBJC_CLASS_$_CDVCommandDelegateImpl in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandDelegateImpl.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandDelegateImpl.o)
duplicate symbol _OBJC_METACLASS_$_CDVCommandDelegateImpl in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandDelegateImpl.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVCommandDelegateImpl.o)
duplicate symbol _OBJC_IVAR_$_CDVConfigParser.featureName in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
duplicate symbol _OBJC_IVAR_$_CDVConfigParser.settings in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
duplicate symbol _OBJC_IVAR_$_CDVConfigParser.pluginsDict in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
duplicate symbol _OBJC_IVAR_$_CDVConfigParser.whitelistHosts in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
duplicate symbol _OBJC_IVAR_$_CDVConfigParser.startPage in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
duplicate symbol _OBJC_IVAR_$_CDVConfigParser.startupPluginNames in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
duplicate symbol _OBJC_CLASS_$_CDVConfigParser in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
duplicate symbol _OBJC_METACLASS_$_CDVConfigParser in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVConfigParser.o)
duplicate symbol _OBJC_METACLASS_$_CDVUserAgentUtil in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVUserAgentUtil.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVUserAgentUtil.o)
duplicate symbol _OBJC_CLASS_$_CDVUserAgentUtil in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVUserAgentUtil.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVUserAgentUtil.o)
duplicate symbol _OBJC_IVAR_$_CDVWebViewDelegate._delegate in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWebViewDelegate.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWebViewDelegate.o)
duplicate symbol _OBJC_IVAR_$_CDVWebViewDelegate._loadCount in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWebViewDelegate.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWebViewDelegate.o)
duplicate symbol _OBJC_IVAR_$_CDVWebViewDelegate._state in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWebViewDelegate.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWebViewDelegate.o)
duplicate symbol _OBJC_IVAR_$_CDVWebViewDelegate._curLoadToken in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWebViewDelegate.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWebViewDelegate.o)
duplicate symbol _OBJC_IVAR_$_CDVWebViewDelegate._loadStartPollCount in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWebViewDelegate.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWebViewDelegate.o)
duplicate symbol _OBJC_CLASS_$_CDVWebViewDelegate in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWebViewDelegate.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWebViewDelegate.o)
duplicate symbol _OBJC_METACLASS_$_CDVWebViewDelegate in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWebViewDelegate.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVWebViewDelegate.o)
duplicate symbol _OBJC_IVAR_$_CDVTimerItem._name in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
duplicate symbol _OBJC_IVAR_$_CDVTimerItem._started in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
duplicate symbol _OBJC_IVAR_$_CDVTimerItem._ended in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
duplicate symbol _OBJC_IVAR_$_CDVTimer._items in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
duplicate symbol _OBJC_METACLASS_$_CDVTimerItem in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
duplicate symbol _OBJC_CLASS_$_CDVTimerItem in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
duplicate symbol _OBJC_CLASS_$_CDVTimer in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
duplicate symbol _OBJC_METACLASS_$_CDVTimer in:
    /private/tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
    /tmp/myApp/platforms/ios/build/emulator/libCordova.a(CDVTimer.o)
ld: 114 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **


The following build commands failed:
    Ld /private/tmp/myApp/platforms/ios/build/emulator/HelloCordova.app/HelloCordova normal i386
(1 failure)
Error: /tmp/myApp/platforms/ios/cordova/build: Command failed with exit code 65
    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:743:16)
    at Process.ChildProcess._handle.onexit (child_process.js:810:5)

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

0reactions
YuvarajManickamcommented, Jun 10, 2016

Hi Team,

Today I started to learn Ionic for hybrid mobile application. Am trying to set up the environment on my Mac OS X. I installed Node-js, npm, cordova and created one sidemenu app. But, am not able to build and run the app through Terminal. Am getting the following error while doing build ios,

** BUILD FAILED **

The following build commands failed: CompileC build/myApp.build/Debug-iphonesimulator/myApp.build/Objects-normal/i386/MainViewController.o myApp/Classes/MainViewController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/ym/Documents/Cordova Projets/myApp/platforms/ios/cordova/build-debug.xcconfig,-project,myApp.xcodeproj,ARCHS=i386,-target,myApp,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/ym/Documents/Cordova Projets/myApp/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/ym/Documents/Cordova Projets/myApp/platforms/ios/build/sharedpch

Can anyone please help me to fix this issue? Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"ionic cordova build ios" not working - Stack Overflow
Sometimes ionic/cordova projects get messed up and need to be recreated. Try: ionic platform remove ios ionic platform add ios.
Read more >
Getting error on ios build - Ionic Forum
Running command - failed! [ERROR] An error occurred while running cordova build ios (exit code 1): (truncated) ... ms/ios/build/device ...
Read more >
Getting Started - "ionic build ios" Fails · Issue #1775 - GitHub
I'm trying to follow the Getting Started tutorial but ionic fails on the build ios step. This is the output: Running [1m...
Read more >
Troubleshooting Your Ionic App - Educative.io
Troubleshooting Your Ionic App · Problem 1: Issues with registerNgModuleType · Problem 2: xcodebuild requires Xcode · Problem 3: Cannot read property of...
Read more >
ionic build ios error ionic cordova build ios | Edureka Community
When i run "ionic cordova build ios" get error below in terminal: The following build commands ... ANDROID_HOME : not set Misc: backend ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found