'CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'Pageboy' from project 'Pods')

I am getting the below error when I build my iOS project in Xcode 13.0 for Simulator 15 with Swift 5.5

Screenshot



Solution 1:[1]

Issue related to your's dependencies: You must have to wait for those dependencies to update to Swift 5.5, otherwise, you have to stay on Xcode 12. In my case, I updated to 13 during development.

Solution 2:[2]

For Example:

The following build commands failed:
    CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ExpoModulesCore' from project 'Pods')

The outdated pod here seems to be ExpoModulesCore

and if it does not work, like it did not for me lol:

follow this: https://stackoverflow.com/a/69384358/15421728

For anyone looking for an answer.

run

cd ios
pod update ExpoModulesCore

and repeat the previous step for every outdated pod, if there are more outdated.

Solution 3:[3]

For me it helped to downgrade XCode. I got back from 13.3 to 13.2.
You can get previous versions this way:
https://stackoverflow.com/a/7047804/7405518

Getting back to version 13.3 caused same problems again.

Solution 4:[4]

I got this as well, but I just had to add my package again yarn add ... so it autolinked correctly with react-native

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Shahroz Ijaz
Solution 2
Solution 3
Solution 4 Conor Lamb