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

Viewed 30149

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

Screenshot

4 Answers

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.

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.

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

Related