ld: framework not found Base64 - xcode

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

Related

Library not found for -lAliyunOSSiOS when build in Xcode 13

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 :

React Native IOS build failed, linker command failed with exit code 1

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

clang: error: linker command failed with exit code 1 After XCode 12 update

I recently updated XCode version to XCode 12 and started to encounter this error
ld: in /project_path/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a(cryptlib.o),
building for iOS Simulator, but linking in object file built for iOS,
file '/project_path/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am unable to run or archive the project
I have tried the following to fix this error with no success
deleted pods folder and reinstalled
updated pods
Excluded arm64 architecture for debug
I am not sure what is causing the error.
Please help

ld: framework not found ModelIO for architecture x86_64 when compiling my app

I was moving a small number of Cocoapods dependencies' source files into the project, and when I tried to compile my project I got the error:
ld: framework not found ModelIO for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What does this mean? ModelIO is not mentioned anywhere in my project, and my linked frameworks do not mention it either.
I got this error message after adding SupportKit to my Podfile. Per the SupportKit release notes, they require Xcode 7 as of 2.10.1 and trying to use it while still on 6.x can produce this error: https://github.com/radialpoint/SupportKit/issues/54.

xcode 4.5 phonegap clang: error

i am trying to develop an app in phonegap for iphone, when deploy to real phone i am keep getting this error:
ld: library not found for -lCordova
clang: error: linker command failed with exit code 1 (use -v to see invocation)
In the Xcode project build settings, select the Summary tag and add the library libCordova.a to the target. You will probably have to use "Add Other" if it's not in the predefined list.

Resources