duguyihou / react-native-turbo-image

Performant image component for React Native
https://www.npmjs.com/package/react-native-turbo-image
MIT License
132 stars 6 forks source link

bug: Could not build Objective-C module 'react_native_turbo_image' #359

Open kbjoshi0388 opened 2 days ago

kbjoshi0388 commented 2 days ago

What's happening?

I am trying to run my project in IOS simulator but it does not compile and throws error.

Reproduceable Code

My project is running on react native version 0.75.2. I have added this package 'react-native-turbo-image' in package.json file and then performed yarn install. Then go to ios folder and perform pod install.

Opened the project in xcode and just compile the project and it gives error.

Relevant log output

1) ../node_modules/react-native-turbo-image/ios/Extensions/String+Extensions.swift Could not build Objective-C module 'react_native_turbo_image'

2) ../ios/NukeUI.xcframework/ios-arm64/NukeUI.framework/Headers/NukeUI-Swift.h:335:2 Unsupported Swift architecture

Device

iPhone 15 Pro Max (iOS 17.5)

TurboImage Version

1.19.0

Can you reproduce this issue in the TurboImage Example app?

No, I cannot reproduce the issue in the Example app

duguyihou commented 2 days ago

Can you provide a reproducer? I did a quick test, no compile issue on my side.

image image
duguyihou commented 1 day ago

@kbjoshi0388 Can you create a public repository? Then you can just send the url here.