What is causing this Crashlytics compile warning? (Auto-Linking supplied '…' framework linker option at '…' is not a dylib)

前端 未结 6 1296
你的背包
你的背包 2020-12-03 04:05

Compiling my main target (not a test target like here) yields this error:

ld: warning: Auto-Linking supplied 
   \'~/Documents/my_app/MyApp/Crashlytics.frame         


        
6条回答
  •  鱼传尺愫
    2020-12-03 04:42

    Conversely to what I'L'I and user3517250 mention, the problem might also be that you have #import statements that shouldn't be there.

    Xcode does infer the frameworks to link against from the #import statements. If you import a framework that you don't link against, then you get this warning.

提交回复
热议问题