open-webrtc-toolkit / owt-client-native

Open WebRTC Toolkit client SDK for native Windows/Linux/iOS applications.
https://01.org/open-webrtc-toolkit
Apache License 2.0
384 stars 180 forks source link

Build ios failed after upgrading to Xcode 15.3 #747

Open XJYao opened 3 months ago

XJYao commented 3 months ago

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:9: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:615:74: error: unknown type name 'NSUInteger' FOUNDATION_EXPORT const char NSGetSizeAndAlignment(const char typePtr, NSUInteger _Nullable sizep, NSUInteger _Nullable alignp);

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:15: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:25:10: fatal error: 'CoreVideo/CVDisplayLink.h' file not found

include <CoreVideo/CVDisplayLink.h>

obentoumi commented 3 months ago

Same issue

XJYao commented 3 months ago

Same issue

Have you found a solution?

obentoumi commented 3 months ago

No way. I spent many hours to figure out what was wrong, but without success.

quanxinglong commented 2 months ago

you can try

defines += [ "WEBRTC_MAC", "WEBRTC_IOS", "TARGET_OS_IPHONE", "TARGET_OS_IOS", ]

good luck