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.

ionic cordova build ios ERROR

See original GitHub issue

wifiwizard2 2.1.0 “WifiWizard2”

ld: warning: directory not found for option '-L/Users/bhumin/Library/Developer/Xcode/DerivedData/RTI-aqtvytpqvcxbkaepcfkfyqitbgqv/Build/Products/Debug-iphonesimulator/nanopb'
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_NEHotspotConfigurationManager", referenced from:
      objc-class-ref in WifiWizard2.o
  "_OBJC_CLASS_$_NEHotspotConfiguration", referenced from:
      objc-class-ref in WifiWizard2.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

also remove command Not working

cordova plugin remove wifiwizard2 --save
(node:79689) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Cannot find module '../node_modules/xml2js'
(node:79689) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
saoroncommented, Mar 17, 2018

Connect your iPhone to your mac and try again, This helped me overcome this issue.

0reactions
bhandaribhumincommented, Aug 23, 2018

@saoron thanks sorry for late reply we must have a physical ios device connected to machine before building app and it works 😃 i’ll close this tomorrow 👍

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 >
How to Resolve Native Errors on Ionic Apps
This error is an error code from Xcode that can be caused by provisioning issues or outdated cordova dependencies. To fix this error...
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 failed: Ld build/emulator/Posify\ ...
Read more >
Ionic cordova run ios -l --external not working with angular ...
Description: I tried to run my ionic app using ionic cordova run ios -l --external on my iphone. After selecting the IP, the...
Read more >
Troubleshooting Your Ionic App - Educative.io
When attempting to perform an Ionic Cordova build for iOS, we might run into the following error warning: xcode-select: error: tool 'xcodebuild' requires ......
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