Build failed on ios
See original GitHub issueHi Pepperoni team,
I might look dumb but i can’t get the starter kit to build on an iPhone. Everything works great into the simulator, but here’s logs when I try to build it on a real device :
ld: warning: directory not found for option '-L/Users/wt/Library/Developer/Xcode/DerivedData/test-gifqqwfpbaeomfhauvvrnvrqarmi/Build/Products/Debug-iphoneos/AFNetworking'
ld: warning: directory not found for option '-L/Users/wt/Library/Developer/Xcode/DerivedData/test-gifqqwfpbaeomfhauvvrnvrqarmi/Build/Products/Debug-iphoneos/CocoaLumberjack'
ld: warning: directory not found for option '-L/Users/wt/Library/Developer/Xcode/DerivedData/test-gifqqwfpbaeomfhauvvrnvrqarmi/Build/Products/Debug-iphoneos/Lock'
ld: warning: directory not found for option '-L/Users/wt/Library/Developer/Xcode/DerivedData/test-gifqqwfpbaeomfhauvvrnvrqarmi/Build/Products/Debug-iphoneos/Masonry'
ld: warning: directory not found for option '-L/Users/wt/Library/Developer/Xcode/DerivedData/test-gifqqwfpbaeomfhauvvrnvrqarmi/Build/Products/Debug-iphoneos/SimpleKeychain'
ld: warning: directory not found for option '-L/Users/wt/Library/Developer/Xcode/DerivedData/test-gifqqwfpbaeomfhauvvrnvrqarmi/Build/Products/Debug-iphoneos/TouchIDAuth'
ld: library not found for -lAFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What am I missing ? I tried to re-run pod install, re-init project, nothing… Any ideas ?
Thanks for your help and your work on this kit !
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
Build Failed — but no reason! | Apple Developer Forums
Hi, I'm experiencing weird Xcode behavior. I'm getting "build failed" after some alterations to the code, but Xcode will NOT give me the...
Read more >Xcode 4: Build Failed, No Issues - ios - Stack Overflow
I've been getting 'Build Failed' with no errors in the Issue navigator(only warnings). Report navigator, though, displayed errors correctly.
Read more >Build failed on iOS device · Issue #9823 - GitHub
When I'm trying to build project for real device or open xcode project I get error. Reproduction. ns create app --react; cd app;...
Read more >Oh dear! Build errors? - LoopDocs - GitHub Pages
Solution: Plug your iPhone into the computer and start Xcode . On your watch, look for a prompt that says "Trust this computer"....
Read more >iOS build fail - KonyLogger.Framework error
Just proper clean your environment and enable native bindings for iOS.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok I figured it out. I was incorrectly opening the
.xcodeproj
file. Instead, I should be opening the.xcworkspace
file. All is good.@WheelyWonka thanks. I’ve added the ios/Pods directory to the “Linked frameworks and libraries” section. However, build is failing:
Am I doing something wrong? Feels like I’ve missed something. Thanks for the help.