I have migrated my old working iOS project from Swift 2.3 to Swift 4, I am getting build failed with the error below:
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
and the warning below:
missing required architecture x86_64 in file ISHPullUp.framework/ISHPullUp
Note that:
I have updated the project's carthage to the latest versions of frameworks.
the framework I'm using and mentioned is ISHPullUp
I am getting this warning and error only when building for iPhone simulator unlike using iPhone physical device.
Am I missing something?
thanks in advance
Related
I want to integrate JitsiMeetSDK framework for iOS project. but it gives me error:
ld: framework not found JitsiMeetSDK.xcframework
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have set all the info as per link : https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-ios-sdk
I have used cocoapods, Xcode 12.4, Swift project. Any suggestions?
I am building an application for IOS using the IONIC framework. It was working fine, that is, until I added this plugin cordova-plugin-firebase-analyticsHowever. Now, I keep getting the following error:
ld: 89 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have read the similar questions posted here but none of solutions worked.
Any help will be appreciated. Thanks
I just got this interesting error by upgrading to Xcode 8. It worked fine in Xcode 7. However, in Xcode 8 it gives me a linker error:
ld: 2562 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Frameworks I'm using:
Frameworks search path:
$(PROJECT_DIR)/My\ App
Linker Flags: (Obj-C)
$(inherited)
I'm not using pods. I've just copied over the frameworks to the project directory.
Xcode recommended to use warning flags and set GCC_NO_COMMON_BLOCKS to YES.
Setting it back to NO solved the problem!
I have updated the xcode 5.0 to 5.1 today. I run the existed project but getting the error now. I had no issues while running that project on 5.0 version. The error is below :
ld: library not found for -lIOKit
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please someone help.
I re-added the frameworks but now I get another error which is below
ld: 62 duplicate symbols for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Try going to your project configuration -> Build Settings -> Architechtures -> Valid architectures
Check if you've got the armv7s label duplicated.
You can also try to set to YES the Build Architechtures Only.
Please Check:- goto build setting, writing in search bar "GCC", check weather compiler is setup or not (LLMV 5.xx).
I updated Xcode and I ran into a project error:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
and
ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/joe/Desktop/AdMob/libGoogleAdMobAds.a for architecture armv7s
This worked fine in the older version of Xcode, but not now. I know it has something to do with the file named: libGoogleAdMobAds.a
Which is used for AdMob ads...
Here is a screenshot:
UPDATE:
Check that you are using the latest AdMob SDK for iOS as that error implies the library doesn't have the iOS 6 added architecture (armv7s).
You can select
project settings->Build-settings->Compiler for C/C++/Objective C
select Apple LLVM Compiler 4.1
and build the projects