1

I am getting a build error when trying to run my iOS project on a real iPhone device. I don't get this issue when running it on the Simulator though.

I am using Cocoapods for all my libraries.

Why is this happening? And how do I fix this?

Ld /Users/cyrano/Library/Developer/Xcode/DerivedData/LovelUp-asynlucucstznmdioyjinbxcqwba/Build/Products/Debug-iphoneos/Pods/DeployGateSDK.framework/DeployGateSDK normal armv7
    cd /Users/cyrano/Documents/coding_workspace/lfdate/ios/LovelUp/Pods
    export IPHONEOS_DEPLOYMENT_TARGET=8.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -L/Users/cyrano/Library/Developer/Xcode/DerivedData/LovelUp-asynlucucstznmdioyjinbxcqwba/Build/Products/Debug-iphoneos/Pods -F/Users/cyrano/Library/Developer/Xcode/DerivedData/LovelUp-asynlucucstznmdioyjinbxcqwba/Build/Products/Debug-iphoneos/Pods -F/Users/cyrano/Documents/coding_workspace/lfdate/ios/LovelUp/Pods/DeployGateSDK/DeployGateSDK1.0.4.embeddedframework -filelist /Users/cyrano/Library/Developer/Xcode/DerivedData/LovelUp-asynlucucstznmdioyjinbxcqwba/Build/Intermediates/Pods.build/Debug-iphoneos/Pods-DeployGateSDK.build/Objects-normal/armv7/DeployGateSDK.LinkFileList -install_name @rpath/DeployGateSDK.framework/DeployGateSDK -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -framework DeployGateSDK -framework SystemConfiguration -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=8.0 -framework Foundation -framework SystemConfiguration -single_module -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/cyrano/Library/Developer/Xcode/DerivedData/LovelUp-asynlucucstznmdioyjinbxcqwba/Build/Intermediates/Pods.build/Debug-iphoneos/Pods-DeployGateSDK.build/Objects-normal/armv7/DeployGateSDK_dependency_info.dat -o /Users/cyrano/Library/Developer/Xcode/DerivedData/LovelUp-asynlucucstznmdioyjinbxcqwba/Build/Products/Debug-iphoneos/Pods/DeployGateSDK.framework/DeployGateSDK

Undefined symbols for architecture armv7:
  "__mh_execute_header", referenced from:
      l001 in DeployGateSDK(DGSApplicationUtil.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The Nomad
  • 7,155
  • 14
  • 65
  • 100

0 Answers0