简体   繁体   中英

Could not install the app into iPhone because of Mach-O linker error

I'm trying to install an app into iPhone and i'm getting a Mach-O-linker error as one of the framework missing. Project runs successfully in simulator but not on device even after adding the missing framework.

ld: warning: directory not found for option '-F/Users/vinayakgh/Desktop/Splunk'
ld: warning: directory not found for option '-FMint'
ld: library not found for -lAFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)

And there is no problem WRT to AFNetworking but with another framework(SpluntMint).

Can anyone help me out in solving this?

Thanks in advance...

Go to Target Then Build Phase Then Find Link Binary with library and you will get that Which File or Framework is Misplaced or Remove...

Then Delete that from then and add it again manually.

This is one of temporary Solution that worked for me.

红色文件丢失文件。但此处没有文件丢失。

Please check for Framework Search path or Library Search paths in Build settings under Project settings. See if the path specified there are correct or not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM