Capacitor doesn't work with xcode 15

Is there any capacitor compatibility problem with xcode 15? After updating to xcode 15 I cannot archive the application.
Building failed with error:

mkdir -p /Users/acount_name/Library/Developer/Xcode/DerivedData/App-bqwafiqaeikydudczzavfvtwepdy/Build/Intermediates.noindex/ArchiveIntermediates/App/BuildProductsPath/Release-iphoneos/
rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Capacitor.framework" "/Users/acount_name/Library/Developer/Xcode/DerivedData/App-bqwafiqaeikydudczzavfvtwepdy/Build/Intermediates.noindex/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/"
building file list ... rsync: link_stat "/path_to_app/ios/App/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Capacitor.framework" failed: No such file or directory (2)

CocoaPods have some problems with Xcode 15.
Try updating to 1.13.0, it fixes some of the issues, but the error you mention doesn’t sound familiar.

  • try to clean the build folder.
    exit Xcode.

  • upgrade your capacitor core libraries

  • update cocoapods to 1.13.0

  • do “pod install --repo-udpdate”

after that:

  • ionic build --prod
  • npx cap update
  • npx cap sync
  • npx cap open ios

Updating CocoaPods solved the problem. Thanks

1 Like