mobile-messaging-react-native-plugin icon indicating copy to clipboard operation
mobile-messaging-react-native-plugin copied to clipboard

Compilation error in iOS for version 14.1.0

Open RushikeshFIS opened this issue 3 months ago • 1 comments

Hi Team,

I was trying latest version 14.1.0 in my application and getting following error.

Image

Since this is compilation error, I am unable to run the application on iOS.

Following in the output react-native info

info Fetching system and libraries information... System: OS: macOS 15.6.1 CPU: (8) arm64 Apple M2 Memory: 230.25 MB / 24.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 24.8.0 path: /opt/homebrew/bin/node Yarn: version: 1.22.22 path: /opt/homebrew/bin/yarn npm: version: 10.9.4 path: /Users/e5660664/Projects/pkg_upgrade_mobile_banking_ui/node_modules/.bin/npm Watchman: version: 2025.09.15.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.16.2 path: /Users/e5660664/.gem/3.4.0/bin/pod SDKs: iOS SDK: Platforms: - DriverKit 24.2 - iOS 18.2 - macOS 15.2 - tvOS 18.2 - visionOS 2.2 - watchOS 11.2 Android SDK: API Levels: - "28" - "33" - "34" - "35" - "36" Build Tools: - 30.0.3 - 35.0.0 - 36.1.0 System Images: - android-35 | Google Play ARM 64 v8a - android-36.1 | Google Play ARM 64 v8a Android NDK: Not Found IDEs: Android Studio: 2025.2 AI-252.25557.131.2521.14344949 Xcode: version: 16.2/16C5032a path: /usr/bin/xcodebuild Languages: Java: version: 17.0.16 path: /usr/bin/javac Ruby: version: 3.4.6 path: /opt/homebrew/opt/[email protected]/bin/ruby npmPackages: "@react-native-community/cli": installed: 15.0.0-alpha.2 wanted: 15.0.0-alpha.2 react: installed: 18.3.1 wanted: 18.3.1 react-native: installed: 0.76.0 wanted: 0.76.0 react-native-macos: Not Found npmGlobalPackages: "react-native": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: false newArchEnabled: false

RushikeshFIS avatar Nov 06 '25 13:11 RushikeshFIS

Hi @RushikeshFIS ,

is the Swift version in your project defined to be at least Swift 5? If not, that would explain the error you are facing. If you still reproduce it with a proper Swift version, does it also happen in the Example project included within the SDK?

fortesdev avatar Nov 06 '25 15:11 fortesdev

Closing as there was no reply for two weeks. Please feel free to create another issue if assistance is needed.

fortesdev avatar Nov 18 '25 11:11 fortesdev