Telegram-iOS
Telegram-iOS copied to clipboard
'OSSpinLock' is deprecated: first deprecated in iOS 10.0
Xcode building for iOS Simulator show this error 'OSSpinLock' is deprecated: first deprecated in iOS 10.0
I changed ASRecursiveUnfairLock.h:14 (Telegram-iOS/submodules/AsyncDisplayKit/Source/PublicHeaders/AsyncDisplayKit) from #if defined(aarch64) to #if defined(aarch64) || __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
I changed ASRecursiveUnfairLock.h:14 (Telegram-iOS/submodules/AsyncDisplayKit/Source/PublicHeaders/AsyncDisplayKit) from #if defined(aarch64) to #if defined(aarch64) || __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
Did that work for you?
I commented two lines line 18 "-Werror", in submodules/AsyncDisplayKit/BUILD line 10 "-warnings-as-errors", in submodules/Display/BUILD This error become warning and I builded successfully
Same issue
Xcode building for iOS Simulator show this error 'OSSpinLock' is deprecated: first deprecated in iOS 10.0
I changed ASRecursiveUnfairLock.h:14 (Telegram-iOS/submodules/AsyncDisplayKit/Source/PublicHeaders/AsyncDisplayKit) from #if defined(aarch64) to #if defined(aarch64) || __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
same issue, it works for me, thank you
Not me. Please. What i can do? Vào Th 2, 10 thg 4, 2023 lúc 09:33 Livy Yao @.***> đã viết:
Xcode building for iOS Simulator show this error 'OSSpinLock' is deprecated: first deprecated in iOS 10.0
I changed ASRecursiveUnfairLock.h:14 (Telegram-iOS/submodules/AsyncDisplayKit/Source/PublicHeaders/AsyncDisplayKit) from #if defined(aarch64) to #if defined(aarch64) || __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
same issue, it works for me, thank you
— Reply to this email directly, view it on GitHub https://github.com/TelegramMessenger/Telegram-iOS/issues/949#issuecomment-1501316160, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6FMFH322XEU5FP5BRYDCY3XANWPXANCNFSM6AAAAAATQGHUCA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
just like @jalalimehdi said, change ASRecursiveUnfairLock.h:14
from
#if defined(aarch64)
to
#if defined(aarch64) || __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
I commented two lines line 18 "-Werror", in submodules/AsyncDisplayKit/BUILD line 10 "-warnings-as-errors", in submodules/Display/BUILD This error become warning and I builded successfully
Funny enough, year later this still works :D :D