stat() unavailable in ios simulator?

前端 未结 2 437
心在旅途
心在旅途 2021-01-27 10:13

I\'ve compiled and linked ios app that uses lib (libclang) that uses stat() with no errors. But i\'m having runtime error:

2014-07-07 16:55:14.138 LibClan

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-27 10:50

    The issue is that you built libclang for OSX and linked it into an iOS executable. You need to build libclang for the correct platform.

    stat certainly is supported on iOS.

提交回复
热议问题