I am having issues running my application on different devices via XCode. If I test with my iPhone, which is running iOS 9.0.2, it runs fine. However, when I run on iPads running anything between 7.0.4 and 8.4, I get the error:
Apple Mach-O Linker Error
ld: can't link with a main executable file '/Users/ttseng/Library/Developer/Xcode/DerivedData/spin-alycjhujfjocfeaggybdmvitcjxx/Build/Products/Debug-iphoneos/spin.app/spin' for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
My iOS Deployment Target is iOS 7.0.
How do I resolve this issue?
Things I've tried based on other posts I've seen on StackOverflow:
- Ensured there are no duplicate implementation files listed under Build Phases > Compile Sources
- Ensure there are no missing implementation files from Build Phases > Compile Sources
- Clean Project