{{theTime}}

Search This Blog

Total Pageviews

How to resolve linker command failed with exit code 1 (use -v to see invocation)

ld: warning: directory not found for option '-F/Users/tonymeng/Downloads'

ld: warning: directory not found for option '-F/Users/tonymeng/Documents/FacebookSDK'

ld: '/Users/sk/Downloads/ios-location-example-master/FacebookSDK.framework/FacebookSDK(FBLikeButtonBackgroundSelectedPNG.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7

ld: warning: ignoring file , file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x0A 0x61 0x72 0x63 0x68 0x73 0x3A 0x20 0x20 0x20 0x20 0x20 0x20 ) which is not the architecture being linked (armv7): 

ld: warning: ignoring file _OBJC_METACLASS_$_NSNetService, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x0A 0x61 0x72 0x63 0x68 0x73 0x3A 0x20 0x20 0x20 0x20 0x20 0x20 ) which is not the architecture being linked (armv7): _OBJC_METACLASS_$_NSNetService

0  0x10d25a342  __assert_rtn + 144

1  0x10d2ad174  ld::tool::InputFiles::parseWorkerThread() + 684

2  0x7fff900999b1  _pthread_body + 131

3  0x7fff9009992e  _pthread_body + 0

A linker snapshot was created at:

/tmp/location-demo-2016-01-06-221707.ld-snapshot

ld: Assertion failed: (slot < (int)files.size()), function parseWorkerThread, file /Library/Caches/com.apple.xbs/Sources/ld64/ld64-253.9/src/ld/InputFiles.cpp, line 948.

clang: error: linker command failed with exit code 1 (use -v to see invocation)

No comments:

Mysql - java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed

Add allowPublicKeyRetrieval=true to the JDBC URL. jdbc:mysql://localhost:3306/db?allowPublicKeyRetrieval=true&useSSL=false