Skip to content

Sharpie tool does not create bindings on latest iOS SDK #22622

Open
@Leo506

Description

@Leo506

Apple platform

iOS

Framework version

net9.0-*

Affected platform version

.NET 9.0.100

Description

When I'm trying to use sharpie tools for generating ApiDefinications and StructsAndEnums I'm getting a lot of errors:

Parsing 1 header files...
While building module 'Lottie' imported from /private/var/folders/cq/s08_xkrn06bdj5qls0ytdbzc0000gn/T/com.xamarin.ObjectiveSharpie/ad35dc27c1f745cfa59dd2aa9091133e.h:1:
While building module 'Foundation' imported from /Users/arbusbiz/Library/Developer/Xcode/DerivedData/Lottie-cnzddmjaatpbkchkmdixmnubilje/Build/Products/Lottie.iOS.xcframework/ios-arm64/Lottie.framework/Headers/Lottie-Swift.h:28:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'sys_types' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
While building module 'DarwinFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/types.h:72:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/module.modulemap:45:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/c_standard_library.modulemap:313:8: error: module '_stddef' requires feature 'found_incompatible_headers__check_search_paths'
  313 | module _stddef [system] {
      |        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/_types/_ptrdiff_t.h:41:10: note: submodule of top-level module '_stddef' implicitly imported here
   41 | #include <stddef.h>
      |          ^
While building module 'Lottie' imported from /private/var/folders/cq/s08_xkrn06bdj5qls0ytdbzc0000gn/T/com.xamarin.ObjectiveSharpie/ad35dc27c1f745cfa59dd2aa9091133e.h:1:
While building module 'Foundation' imported from /Users/arbusbiz/Library/Developer/Xcode/DerivedData/Lottie-cnzddmjaatpbkchkmdixmnubilje/Build/Products/Lottie.iOS.xcframework/ios-arm64/Lottie.framework/Headers/Lottie-Swift.h:28:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'sys_types' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
While building module 'DarwinFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/types.h:72:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/module.modulemap:45:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/c_standard_library.modulemap:313:8: error: module '_stddef' requires feature 'found_incompatible_headers__check_search_paths'
  313 | module _stddef [system] {
      |        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/_types/_size_t.h:40:10: note: submodule of top-level module '_stddef' implicitly imported here
   40 | #include <stddef.h>
      |          ^
While building module 'Lottie' imported from /private/var/folders/cq/s08_xkrn06bdj5qls0ytdbzc0000gn/T/com.xamarin.ObjectiveSharpie/ad35dc27c1f745cfa59dd2aa9091133e.h:1:
While building module 'Foundation' imported from /Users/arbusbiz/Library/Developer/Xcode/DerivedData/Lottie-cnzddmjaatpbkchkmdixmnubilje/Build/Products/Lottie.iOS.xcframework/ios-arm64/Lottie.framework/Headers/Lottie-Swift.h:28:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'sys_types' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
While building module 'DarwinFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/types.h:72:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/module.modulemap:45:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/c_standard_library.modulemap:313:8: error: module '_stddef' requires feature 'found_incompatible_headers__check_search_paths'
  313 | module _stddef [system] {
      |        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/_types/_wchar_t.h:41:10: note: submodule of top-level module '_stddef' implicitly imported here
   41 | #include <stddef.h>
      |          ^
While building module 'Lottie' imported from /private/var/folders/cq/s08_xkrn06bdj5qls0ytdbzc0000gn/T/com.xamarin.ObjectiveSharpie/ad35dc27c1f745cfa59dd2aa9091133e.h:1:
While building module 'Foundation' imported from /Users/arbusbiz/Library/Developer/Xcode/DerivedData/Lottie-cnzddmjaatpbkchkmdixmnubilje/Build/Products/Lottie.iOS.xcframework/ios-arm64/Lottie.framework/Headers/Lottie-Swift.h:28:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'sys_types' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
While building module 'DarwinFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/types.h:72:
In file included from <module-includes>:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/machine/endian.h:35:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/arm/endian.h:61:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/_endian.h:131:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/libkern/_OSByteOrder.h:32:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/_types.h:33:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/machine/_types.h:32:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/arm/_types.h:75:9: error: unknown type name 'ptrdiff_t'
   75 | typedef ptrdiff_t               __darwin_ptrdiff_t;     /* ptr1 - ptr2 */
      |         ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/arm/_types.h:85:9: error: unknown type name 'size_t'
   85 | typedef size_t                  __darwin_size_t;        /* sizeof() */
      |         ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/arm/_types.h:101:9: error: unknown type name 'wchar_t'
  101 | typedef wchar_t                 __darwin_wchar_t;       /* wchar_t */
      |         ^
While building module 'Lottie' imported from /private/var/folders/cq/s08_xkrn06bdj5qls0ytdbzc0000gn/T/com.xamarin.ObjectiveSharpie/ad35dc27c1f745cfa59dd2aa9091133e.h:1:
While building module 'Foundation' imported from /Users/arbusbiz/Library/Developer/Xcode/DerivedData/Lottie-cnzddmjaatpbkchkmdixmnubilje/Build/Products/Lottie.iOS.xcframework/ios-arm64/Lottie.framework/Headers/Lottie-Swift.h:28:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'sys_types' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
While building module 'DarwinFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/types.h:72:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/module.modulemap:45:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/c_standard_library.modulemap:313:8: error: module '_stddef' requires feature 'found_incompatible_headers__check_search_paths'
  313 | module _stddef [system] {
      |        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/_types/_null.h:40:10: note: submodule of top-level module '_stddef' implicitly imported here
   40 | #include <stddef.h>
      |          ^
While building module 'Lottie' imported from /private/var/folders/cq/s08_xkrn06bdj5qls0ytdbzc0000gn/T/com.xamarin.ObjectiveSharpie/ad35dc27c1f745cfa59dd2aa9091133e.h:1:
While building module 'Foundation' imported from /Users/arbusbiz/Library/Developer/Xcode/DerivedData/Lottie-cnzddmjaatpbkchkmdixmnubilje/Build/Products/Lottie.iOS.xcframework/ios-arm64/Lottie.framework/Headers/Lottie-Swift.h:28:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'sys_types' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
While building module 'DarwinFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/types.h:72:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/module.modulemap:45:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/c_standard_library.modulemap:313:8: error: module '_stddef' requires feature 'found_incompatible_headers__check_search_paths'
  313 | module _stddef [system] {
      |        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/_types/_offsetof.h:40:10: note: submodule of top-level module '_stddef' implicitly imported here
   40 | #include <stddef.h>
      |          ^
While building module 'Lottie' imported from /private/var/folders/cq/s08_xkrn06bdj5qls0ytdbzc0000gn/T/com.xamarin.ObjectiveSharpie/ad35dc27c1f745cfa59dd2aa9091133e.h:1:
While building module 'Foundation' imported from /Users/arbusbiz/Library/Developer/Xcode/DerivedData/Lottie-cnzddmjaatpbkchkmdixmnubilje/Build/Products/Lottie.iOS.xcframework/ios-arm64/Lottie.framework/Headers/Lottie-Swift.h:28:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'sys_types' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
While building module 'DarwinFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/types.h:72:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/module.modulemap:45:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/c_standard_library.modulemap:313:8: error: module '_stddef' requires feature 'found_incompatible_headers__check_search_paths'
  313 | module _stddef [system] {
      |        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/_types/_rsize_t.h:40:10: note: submodule of top-level module '_stddef' implicitly imported here
   40 | #include <stddef.h>
      |          ^
While building module 'Lottie' imported from /private/var/folders/cq/s08_xkrn06bdj5qls0ytdbzc0000gn/T/com.xamarin.ObjectiveSharpie/ad35dc27c1f745cfa59dd2aa9091133e.h:1:
While building module 'Foundation' imported from /Users/arbusbiz/Library/Developer/Xcode/DerivedData/Lottie-cnzddmjaatpbkchkmdixmnubilje/Build/Products/Lottie.iOS.xcframework/ios-arm64/Lottie.framework/Headers/Lottie-Swift.h:28:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'sys_types' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/types.h:72:10: fatal error: could not build module 'DarwinFoundation'
   72 | #include <sys/appleapiopts.h>
      |  ~~~~~~~~^
While building module 'Lottie' imported from /private/var/folders/cq/s08_xkrn06bdj5qls0ytdbzc0000gn/T/com.xamarin.ObjectiveSharpie/ad35dc27c1f745cfa59dd2aa9091133e.h:1:
While building module 'Foundation' imported from /Users/arbusbiz/Library/Developer/Xcode/DerivedData/Lottie-cnzddmjaatpbkchkmdixmnubilje/Build/Products/Lottie.iOS.xcframework/ios-arm64/Lottie.framework/Headers/Lottie-Swift.h:28:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'sys_types' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
While building module 'netinet_in' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/types.h:113:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/_types/_in_addr_t.h:30:10: fatal error: could not build module 'DarwinFoundation'
   30 | #include <machine/types.h> /* __uint32_t */
      |  ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/_types/_useconds_t.h:30:10: fatal error: could not build module 'DarwinFoundation'
   30 | #include <sys/_types.h> /* __darwin_useconds_t */
      |  ~~~~~~~~^
While building module 'Lottie' imported from /private/var/folders/cq/s08_xkrn06bdj5qls0ytdbzc0000gn/T/com.xamarin.ObjectiveSharpie/ad35dc27c1f745cfa59dd2aa9091133e.h:1:
While building module 'Foundation' imported from /Users/arbusbiz/Library/Developer/Xcode/DerivedData/Lottie-cnzddmjaatpbkchkmdixmnubilje/Build/Products/Lottie.iOS.xcframework/ios-arm64/Lottie.framework/Headers/Lottie-Swift.h:28:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'sys_types' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
While building module '_errno' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/types.h:178:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/errno.h:23:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/errno.h:72:10: fatal error: could not build module 'DarwinFoundation'
   72 | #include <sys/cdefs.h>
      |  ~~~~~~~~^
While building module 'Lottie' imported from /private/var/folders/cq/s08_xkrn06bdj5qls0ytdbzc0000gn/T/com.xamarin.ObjectiveSharpie/ad35dc27c1f745cfa59dd2aa9091133e.h:1:
While building module 'Foundation' imported from /Users/arbusbiz/Library/Developer/Xcode/DerivedData/Lottie-cnzddmjaatpbkchkmdixmnubilje/Build/Products/Lottie.iOS.xcframework/ios-arm64/Lottie.framework/Headers/Lottie-Swift.h:28:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'sys_types' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
While building module '_sys_select' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/types.h:187:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/sys/_types/_fd_def.h:31:10: fatal error: could not build module 'DarwinFoundation'
   31 | #include <machine/types.h> /* __int32_t and uintptr_t */
      |  ~~~~~~~~^
While building module 'Lottie' imported from /private/var/folders/cq/s08_xkrn06bdj5qls0ytdbzc0000gn/T/com.xamarin.ObjectiveSharpie/ad35dc27c1f745cfa59dd2aa9091133e.h:1:
While building module 'Foundation' imported from /Users/arbusbiz/Library/Developer/Xcode/DerivedData/Lottie-cnzddmjaatpbkchkmdixmnubilje/Build/Products/Lottie.iOS.xcframework/ios-arm64/Lottie.framework/Headers/Lottie-Swift.h:28:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:10: fatal error: could not build module 'sys_types'
   18 | #include <sys/types.h>
      |  ~~~~~~~~^
While building module 'Lottie' imported from /private/var/folders/cq/s08_xkrn06bdj5qls0ytdbzc0000gn/T/com.xamarin.ObjectiveSharpie/ad35dc27c1f745cfa59dd2aa9091133e.h:1:
While building module 'Foundation' imported from /Users/arbusbiz/Library/Developer/Xcode/DerivedData/Lottie-cnzddmjaatpbkchkmdixmnubilje/Build/Products/Lottie.iOS.xcframework/ios-arm64/Lottie.framework/Headers/Lottie-Swift.h:28:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module '_assert' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/assert.h:58:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/_assert.h:45:10: fatal error: could not build module 'DarwinFoundation'
   45 | #include <sys/cdefs.h>
      |  ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/_ctype.h:70:10: fatal error: could not build module 'DarwinFoundation'
   70 | #include <sys/cdefs.h>
      |  ~~~~~~~~^

Binding...
74 errors generated.
Error while processing /private/var/folders/cq/s08_xkrn06bdj5qls0ytdbzc0000gn/T/com.xamarin.ObjectiveSharpie/ad35dc27c1f745cfa59dd2aa9091133e.h.

Done. Exiting with error code 1.
error: Clang failed to parse input and exited with code 1

Steps to Reproduce

  1. Build framework with iphoneos18.4 SDK (Xcode 16.3)
  2. Run sharpie (3.5.116) command:
sharpie bind \
-sdk iphoneos18.4 \
-framework ./Lottie.iOS.xcframework/ios-arm64/Lottie.framework

Did you find any workaround?

No response

Build logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    binding-projectsIssue or PR that affects binding projectsbugIf an issue is a bug or a pull request a bug fixexternal-objective-sharpieIssues affecting the Objective Sharpie and are not specific to Xamarin.iOS or Xamarin.Mac

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions