I'm having some difficulties in running the gbible Xcode Project. More precisely, I get the following error message:
clang: error: no such file or directory:
'/Users/xxxx/Documents/xxxxx/gbible/gbible/PKAppDelegate.m' clang:
error: no input files Command
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
failed with exit code 1
Any ideas/suggestions on that?
Source link
https://github.com/photokandyStudios/gbible
It's says that there is no file named "PKAppDelegate.m", and in repo i see that is missed. Try to donwload repo from another branch "v1.3:
git clone -b v1.3 https://github.com/photokandyStudios/gbible.git
Related
While trying to build my React Native project to test on my phone, I get multiple clang: error: no such file or directory for various files. In total I'm receiving around 11 separate errors which will be listed below.
clang: error: no such file or directory: '/Users/bsoleimany/Library/Developer/Xcode/DerivedData/{projectname}-bgjrrdizntqvulcjdjliktxgrpkw/Build/Products/Debug-iphoneos/libRCTBlob.a'
clang: error: no such file or directory: '/Users/bsoleimany/Library/Developer/Xcode/DerivedData/{projectname}-bgjrrdizntqvulcjdjliktxgrpkw/Build/Products/Debug-iphoneos/libRCTAnimation.a'
clang: error: no such file or directory: '/Users/bsoleimany/Library/Developer/Xcode/DerivedData/{projectname}-bgjrrdizntqvulcjdjliktxgrpkw/Build/Products/Debug-iphoneos/libRCTActionSheet.a'
clang: error: no such file or directory: '/Users/bsoleimany/Library/Developer/Xcode/DerivedData/{projectname}-bgjrrdizntqvulcjdjliktxgrpkw/Build/Products/Debug-iphoneos/libRCTGeolocation.a'
clang: error: no such file or directory: '/Users/bsoleimany/Library/Developer/Xcode/DerivedData/{projectname}-bgjrrdizntqvulcjdjliktxgrpkw/Build/Products/Debug-iphoneos/libRCTImage.a'
clang: error: no such file or directory: '/Users/bsoleimany/Library/Developer/Xcode/DerivedData/{projectname}-bgjrrdizntqvulcjdjliktxgrpkw/Build/Products/Debug-iphoneos/libRCTLinking.a'
clang: error: no such file or directory: '/Users/bsoleimany/Library/Developer/Xcode/DerivedData/{projectname}-bgjrrdizntqvulcjdjliktxgrpkw/Build/Products/Debug-iphoneos/libRCTNetwork.a'
clang: error: no such file or directory: '/Users/bsoleimany/Library/Developer/Xcode/DerivedData/{projectname}-bgjrrdizntqvulcjdjliktxgrpkw/Build/Products/Debug-iphoneos/libRCTSettings.a'
clang: error: no such file or directory: '/Users/bsoleimany/Library/Developer/Xcode/DerivedData/{projectname}-bgjrrdizntqvulcjdjliktxgrpkw/Build/Products/Debug-iphoneos/libRCTText.a'
clang: error: no such file or directory: '/Users/bsoleimany/Library/Developer/Xcode/DerivedData/{projectname}-bgjrrdizntqvulcjdjliktxgrpkw/Build/Products/Debug-iphoneos/libRCTVibration.a'
clang: error: no such file or directory: '/Users/bsoleimany/Library/Developer/Xcode/DerivedData/{projectname}-bgjrrdizntqvulcjdjliktxgrpkw/Build/Products/Debug-iphoneos/libRCTWebSocket.a'
I have already tried switching Build Settings -> Build Active Architecture Only to Yes which gets rid of the errors above but then displays this new error
ld: library not found for -lRNPhotoView
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I looked around for a little but I couldn't find any information about the above error, does anyone know how to get rid of these?
Any suggestions on how to solve this would be greatly appreciated!
Wanted to ask a few clarification is are you trying to archive OR build a release version?
Answering that may help to see whats wrong BUT try unchecking the parallize build.
I encounter that error when i was trying:
1. To archive
2. My case was the build was trying to build at the same time and missed out some library when building. Deactivating that causes the build to run slower BUT making sure the React Library is build first, then the Xcode project. Hope this helps though i had this problem for 1 whole day.
While I'm trying to run the react-native ios application with command react-native run-ios. The Build goes failed and showing me error following:-
ld: warning: directory not found for option
'-L/Users/User/Documents/react-test-app/ios/build/Build/Products/Debug-iphonesimulator/React'
ld: library not found for -lRNSVG clang: error: linker command failed
with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld build/Build/Products/Debug-iphonesimulator/react-test-app.app/react-test-app
normal x86_64 (1 failure)
Installing
build/Build/Products/Debug-iphonesimulator/react-test-app.app An error
was encountered processing the command (domain=NSPOSIXErrorDomain,
code=22): Failed to install the requested application The bundle
identifier of the application could not be determined. Ensure that the
application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier
build/Build/Products/Debug-iphonesimulator/oldapollo.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist.
Please Help Me Out To resolve this problem.
Thank you in advance
Open Melkana.xcworkspace instead of Melkana.xcodeproj in Xcode
Try the solutions here.
https://github.com/facebook/react-native/issues/7308
Possible ones may work
Update React using react-native upgrade
or
Run from the project by opening from your project.xcworkspace
I have created the project, when I am trying to run the project I get the following error and build fails.
ld: file not found: /Users/mohammad/Library/Developer/Xcode/DerivedData/SPA-clncipsgigcqmgaourubdrurgfyz/Build/Products/Debug-iphonesimulator/SPA.app/SPA
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any suggestions.
when i got this type of error , i was removed derived data folder from following path :
/Library/Developer/Xcode/DerivedData
see this link for more help
How can I safely delete in my ~/Library/Developer/Xcode/DerivedData directory?
clang: error: no such file or directory: '/Users/matt/Documents/Xcode/GraphicalSet/GraphicalSet/SetTests/GraphicalSetTests/GraphicalSetTests.m'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
I tried adding a removing the GraphicalSetTests.m file from compile sources in build phases but to no avail.
There are two extra folders in that path: SetTests/GraphicalSetTests
Go to your ProjectTests - > Build Phases -> Compile Sources
Remove this file ProjectTests.m and try to build again.
I'm following the tutorial recommended on the Frank-Cucumber website (http://blog.thepete.net/blog/2012/06/24/writing-your-first-frank-test/), but once executing frank build, the build fails saying:
The following build commands failed:
Ld Frank/frankified_build/2012\ Olympics.app/2012\ Olympics normal i386
(1 failure)
This clang error is present around the previous ld call:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm using XCode 4.6.3, I have the command line tools installed, and I'm running the example application taken from GitHub.
What could be wrong? Any ideas?
Seems like using sudo frank build --arch armv7s fixes it.