Library not found for -lAFNetworking Xcode issues
I had same issue on Xcode 12.4, only on simulators (on device works well).
Solved by adding arm64
for key Any iOS Simulator SDK
on Build Settings < Excluded Archicetures
. Add on
- Project settings, and
- Pods settings
Or, you can try another solution (also worked for me):
- adding
arm64
for keyAny iOS Simulator SDK
on Project settings - add
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
on Pod file
ld: library not found for -lRCTAnimation
Can you try to remove all the linked React Native library in Xcode ?
- Open Project.xcworkspace file in Xcode
- Go to project navigator tab
- Go to Build Phases tab
- Then under Link Binary With Libraries section: Remove all binaries -libRCT*
With RN 60+ there are now included in the Pods project.
ld: library not found for -lstdc++.6
The quick solution is to copy all libstdc++.* file from old Xcode(9.4) to new Xcode(10.x)
For device :
cp /Applications/Xcode9.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
/usr/lib/libstdc++.* /Applications/Xcode10.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
/usr/lib/
For Simulator :
cp /Applications/Xcode9.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhone
Simulator.sdk/usr/lib/libstdc++.* /Applications/Xcode10.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhone
Simulator.sdk/usr/lib/
Related Topics
Core Data Background Context Best Practice
Facebook Sdk 3.1 - Error Validating Access Token
Exhaustive Condition of Switch Case in Swift
iOS 7 App Icons, Launch Images and Naming Convention While Keeping iOS 6 Icons
How to Release a Cgimageref in iOS
How to Reset the Privacy Settings in iOS
iOS - Calling App Delegate Method from Viewcontroller
How to Push and Present to Uiviewcontroller Programmatically Without Segue in iOS Swift 3
How to Change Uinavigationbar Background Color from the Appdelegate
iOS 9 Facebook Login Simulator -Canopenurl: Failed for Url: "Fbauth2:///" - Error: "(Null)"
How to Create a Uiview Bounce Animation
Callback Method If User Declines Push Notification Prompt
Uilabel Layer Cornerradius Negatively Impacting Performance
Method Overloading in Objective-C
How to Opt Your iPad App Out of Multitasking on iOS 9
Add Bottom Border Line to UI Textfield View in Swiftui/Swift/Objective-C/Xamarin