kewlbear / FFmpeg-iOS-build-script

Shell scripts to build FFmpeg for iOS and tvOS
3.03k stars 899 forks source link

Fix "undefined symbol: _objc_msgSend$X" #168

Open ichordev opened 1 year ago

ichordev commented 1 year ago

Newer versions of XCode export a bunch of _objc_msgSend$<identifier> symbols: https://stackoverflow.com/a/74054943/

kewlbear commented 1 year ago

Apple requires Xcode 14.1 from April 25: https://developer.apple.com/news/?id=jd9wcyov. So if anyone is still using Xcode 13, they better upgrade.

ichordev commented 1 year ago

Apple requires Xcode 14.1 from April 25: https://developer.apple.com/news/?id=jd9wcyov. So if anyone is still using Xcode 13, they better upgrade.

I am using tools from XCode 14.2. I don't really see the relevance of this comment.

kewlbear commented 1 year ago

Thought users of Xcode 13 are experiencing undefined symbol issue. Are you experiencing the issue using Xcode 14?

2023년 3월 29일 (수) 오후 4:43, IchorDev @.***>님이 작성:

Apple requires Xcode 14.1 from April 25: https://developer.apple.com/news/?id=jd9wcyov. So if anyone is still using Xcode 13, they better upgrade.

I am using tools from XCode 14.2. I don't really see the relevance of this comment.

— Reply to this email directly, view it on GitHub https://github.com/kewlbear/FFmpeg-iOS-build-script/pull/168#issuecomment-1488097827, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI5LYXA7NOUZCJAV6OVW7LW6PR37ANCNFSM6AAAAAAWKFKZEI . You are receiving this because you commented.Message ID: @.***>

ichordev commented 1 year ago

Yes I’m using XCode 14.2. When linking to the static libraries built by the script I get a plethora of undefined symbol: _objc_msgSend$<some name > errors from lld. As far as I’m aware these symbols aren’t particularly useful, but they’re to do with Objective C…