Xcode - Ld: Library Not Found for -Lpods

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

  1. Project settings, and
  2. Pods settings

iOS Sample Image 42

Or, you can try another solution (also worked for me):

  1. adding arm64 for key Any iOS Simulator SDK on Project settings
  2. 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 ?

  1. Open Project.xcworkspace file in Xcode
  2. Go to project navigator tab
  3. Go to Build Phases tab
  4. 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



Leave a reply



Submit