Rocket.Chat's Community Open Call 🎤 Dec 15, 2021 Join us!

Failed to build iOS App - yarn iOS

I tried to build iOS App, but I faced so many compilation issues. This time, I am facing the WatermelonDB issue.

Anyone have experienced this before? Appreciate your help.

** BUILD FAILED **

The following build commands failed:
CompileSwift normal x86_64 /Users/xxx/mycodes/Rocket.Chat.ReactNative-single-server/node_modules/@nozbe/watermelondb/native/ios/WatermelonDB/DatabaseDriver.swift
CompileSwift normal x86_64 /Users/xxx/mycodes/Rocket.Chat.ReactNative-single-server/node_modules/@nozbe/watermelondb/native/ios/WatermelonDB/DatabaseBridge.swift
CompileSwift normal x86_64 /Users/xxx/mycodes/Rocket.Chat.ReactNative-single-server/node_modules/@nozbe/watermelondb/native/ios/WatermelonDB/std_ext.swift
CompileSwift normal x86_64 /Users/xxx/mycodes/Rocket.Chat.ReactNative-single-server/node_modules/@nozbe/watermelondb/native/ios/WatermelonDB/Database.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(5 failures)