Xcode Errors
Step-by-step fixes for Xcode build errors, signing issues, simulator problems and archive/upload failures.
-

Fix: CocoaPods `Init_ffi_c` Symbol Not Found on Apple Silicon
Fix the CocoaPods dlsym Init_ffi_c LoadError on Apple Silicon: match the ffi gem to your Ruby’s architecture, or switch to Homebrew CocoaPods…
-

How to Remove CocoaPods From an Xcode Project (Keep One .xcodeproj)
Remove CocoaPods the safe way: run pod deintegrate, delete Podfile and Pods, then verify no Pods references remain in Build Settings or…
-

Fix: SPM Target Does Not Support Provisioning Profiles in Azure DevOps Xcode Archive
Resolve the ‘SPM target does not support provisioning profiles’ error when archiving Flutter iOS apps in Azure DevOps pipelines after migrating from…
-

How to Check the Installed Version of a CocoaPods Pod
Find which version of a pod CocoaPods actually installed: read Podfile.lock, run pod outdated, and separate the CocoaPods gem version from the…
-

Fix: Mach-O Linker Error ‘No such file or directory’ for .a on Device
Why Xcode’s linker can’t find your static library .a file when building for a device, and how to fix architecture and dependency…
-

Fix: ‘No connected devices’ When Flutter Won’t See the iOS Simulator
flutter run says No connected devices on macOS? Boot a simulator, point xcode-select at Xcode, install a runtime, and target the device…
-

Fix: Undefined symbols for architecture arm64 in Xcode
Solve the Xcode linker error Undefined symbols for architecture arm64 by restoring $(inherited) linker flags, checking the library’s arm64 slice, and reinstalling…
-

Fix: Cannot find ‘functionName’ in scope in an Xcode Playground
Why an Xcode project playground can’t see your app’s public functions, and how to fix “Cannot find in scope” with Playground Settings,…
-

Fix: xcodebuild requires Xcode but active developer directory
The xcode-select error means your developer directory points at CommandLineTools. Point it back at Xcode.app and fix npm, node-gyp and brew builds.
-

How to Update CocoaPods When the Version Requirement Fails
Fix the CocoaPods version requirement error with gem, Homebrew or Bundler, clear stale pod installs, and stop the hundreds of compiler errors…