Apple Mach-O linker (id) warning : building for MacOSX, but linking against dylib built for iOS

后端 未结 4 1943
Happy的楠姐
Happy的楠姐 2020-12-05 23:28

Starting from some point in the past xCode 4 in complaining about linker problems:

ld: warning: building for MacOSX, but linking against dylib built f

4条回答
  •  不思量自难忘°
    2020-12-06 00:16

    If you're using Carthage and compiling a Mac app, search on your project's Framework Search Paths you might find something like $(PROJECT_DIR)/Carthage/Build/iOS.

    Removing that fixed my issue.

提交回复
热议问题