tanersener / react-native-ffmpeg

FFmpeg for react-native. Not maintained anymore. Superseded by FFmpegKit.
GNU General Public License v3.0
401 stars 52 forks source link

Xcode 12, building for iOS Simulator, but linking in object file built for iOS, for architecture x86_64 #219

Closed ronaldocpontes closed 3 years ago

ronaldocpontes commented 3 years ago

Description Cant build a project for simulator running on Macbook Pro - Intel Processor: 2.2 GHz 6-Core Intel Core i7 Memory: 16 GB 2400 MHz DDR4 Graphics: Intel UHD Graphics 630 1536 MB

XCode Version 12.3 (12C33) https://stackoverflow.com/questions/64003107/xcode-12-building-for-ios-simulator-but-linking-in-object-file-built-for-ios

Expected behavior The app to be built and run on the iPhone 12 simulator.

Current behavior ld: in '..../ios/Pods/mobile-ffmpeg-https/libavcodec.framework/libavcodec(aacencdsp.o), building for iOS Simulator, but linking in object file built for free standing, file '..../ios/Pods/mobile-ffmpeg-https/libavcodec.framework/libavcodec' for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Environment

tanersener commented 3 years ago

Xcode 12 changed some settings about simulator architectures. Can you please have a look at the settings of the test application, https://github.com/tanersener/react-native-ffmpeg-test and update your settings accordingly?

ronaldocpontes commented 3 years ago

Hi,

The settings application is running OK. image

How do I compare with the settings from my project so I can make the necessary changes?

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

SMKH-PRO commented 3 years ago

Hi,

The settings application is running OK. image

How do I compare with the settings from my project so I can make the necessary changes?

Hello, did you find any solution? I am having the same problem.