owt-client-native icon indicating copy to clipboard operation
owt-client-native copied to clipboard

Build ios failed after upgrading to Xcode 15.3

Open Ronalyao opened this issue 1 year ago • 4 comments

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>

Ronalyao avatar Mar 21 '24 08:03 Ronalyao

Same issue

obentoumi avatar Mar 23 '24 09:03 obentoumi

Same issue

Have you found a solution?

Ronalyao avatar Apr 01 '24 11:04 Ronalyao

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

obentoumi avatar Apr 01 '24 17:04 obentoumi

you can try

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

good luck

quanxinglong avatar Apr 22 '24 06:04 quanxinglong