I am trying to compile and run the following application (Swift Chat App using Alamofire).
https://github.com/huyouare/SwiftParseChat
I am using ruby-2.0.0 , cocoapods 0.37.1, xcode 6.3, Alamofire 1.2.0
I am installing it using the normal <pod install> command. No errors or warnings during the process.
However, when compiling, I get:
No such Module 'Alamofire'
If I install Alamofire manually, however, when compiling I get an Apple Match-O Linker Error :
ld: warning: directory not found for option '-F/Users/cristian/Library/Developer/Xcode/DerivedData/SwiftParseChat-btvjczpwjlekftetblbfrbposakh/Build/Products/Debug-iphoneos/Pods'
ld: framework not found Pods
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What is behind this??
Thanks !
If everything is setup correctly, errors such as
No such Module 'Alamofire'
occur when you build your project from .xcodeproj.
By default you need to build project integrating CocoaPods from .xcworkspace.
Related
In 02/08/2022
I am trying to make an IPA file in my React Native project.
I can build it and test in a ios simulator, or build on my external device, but when I try to archive, I am getting this error:
ld: framework not found Base64
clang: error: linker command failed with exit code 1
My configuration is:
"react": "16.9.0"
"react-native": "0.61.3"
Xcode version: 13.4.1
In 04/08/2022
I understood that this lib is used with my react-native-code-push library and testing, I removed the code push from package.json and pod install on my iOS. Result? The error changed to:
ld: framework not found FBLPromises
clang: error: linker command failed with exit code 1
I think this is related to the pods not installing properly the node_modules library
The React Native 0.66.3 app on macOS Big Sur started to throw below when build in Xcode 13 yesterday without change I am aware of. The package is in app's package.json. Tried to yarn add and pod install a few times and the error remains.
Here is the module in package.json:
"aliyun-oss-react-native": "^1.0.0-alpha.7",
The module is under project's node-modules. Here is the build error in Xcode:
ld: library not found for -lAliyunOSSiOS
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Here is the module files listed under iOS of aliyun-oss-react-native :
I'm using Xcode 12.4 on Catalina 10.15.7 intel based chip. I created a sample react native project with this 'https://reactnative.dev/docs/environment-setup' and it build and ran perfectly.
Now after further working on the project I installed react native navigation and stack navigator and styled components and vector icon dependencies. Now I run into this issue. Plz help me to resolve this. Thanks.
error on Xcode build
ld: warning: directory not found for option '-L-L/Users/ahyanawaz/Library/Developer/Xcode/DerivedData/Store-bekhqxqflgsqtyheijdxkrbwrksk/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket'
ld: library not found for -lCocoaAsyncSocket
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Maybe try npm install or yarn then cd ios && pod install
I am getting this error after installing a CocoaPod and I don't understand why:
Apple Mach-O Linker Error Group
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can somebody give me an answer?
My guess is that you are using the Xcode Project (.xcodeproj) that you where using before.
When you install a pod, you need to use the Xcode Workspace (.xcworkspace) that CocoaPods automatically creates for you:
I'm new in using Xcode and I want archive project. It cause this kind of error after I update to Xcode 7.3 and cocopod 1.0.0. And I try downgrade to Xcode 7.1 also same. What setting will cause this error message?
ld: warning: directory not found for option '-F/Users/bae-nb-050/Library/Developer/Xcode/DerivedData/SL-fbodsjqbjvdhcgeemiobyapkoekm/Build/Intermediates/ArchiveIntermediates/SL/BuildProductsPath/Release-iphoneos/MBProgressHUD'
ld: framework not found MBProgressHUD
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If you have upgraded your Xcode or cocoapods to a newer version. I recommend that you do a clean and a rebuild of your project. The same goes for when upgrading natviescript.
tns platform remove ios
tns platform add ios
tns prepare ios