Xcode 4.2 to Xcode 7.2 issues - xcode

I am migrating code I wrote fore Xcode4.2 into Xcode 7.2.
I get the following error:
ld: -pie can only be used when targeting iOS 4.2 or later
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Not sure what this is about... ?

Your deployment target is set to 4.0 but -pie can only be used when targeting iOS 4.2 or later as clearly stated by the above error message. Try setting your deployment target to 6.0. This is the lowest deployment target supported by Xcode 7.2.

Related

Invalid bitcode version for archiving iOS app

When I try to Archive my app in Xcode 11.2.1 it returns the error:
I have previously worked on the app with the beta version of Xcode 13.
I have tried to turn Enable Bitcode to No but that did not fix the problem.
I get an error in the Stripe Cocoapod:
ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1103.0.32.62.0_0' Reader: '1100.0.33.12_0')', using libLTO version 'LLVM version 11.0.0, (clang-1100.0.33.12)' for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
The Stripe CocoaPod was built with Xcode 11.5 or 11.6. Three options:
Upgrade to at least Xcode 11.5.
Ask Stripe to support Xcode 11.2.1
Change the Podfile to use an older version of Stripe.

ld: framework not found MBProgressHUD(Nativescript)

I'm new in using Xcode and I want archive project. It cause this kind of error after I update to Xcode 7.3 and cocopod 1.0.0. And I try downgrade to Xcode 7.1 also same. What setting will cause this error message?
ld: warning: directory not found for option '-F/Users/bae-nb-050/Library/Developer/Xcode/DerivedData/SL-fbodsjqbjvdhcgeemiobyapkoekm/Build/Intermediates/ArchiveIntermediates/SL/BuildProductsPath/Release-iphoneos/MBProgressHUD'
ld: framework not found MBProgressHUD
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If you have upgraded your Xcode or cocoapods to a newer version. I recommend that you do a clean and a rebuild of your project. The same goes for when upgrading natviescript.
tns platform remove ios
tns platform add ios
tns prepare ios

Xcode error ld: framework not found AudioUnit clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am new to Xcode. When I tried to build my app in Xcode it says build error and gives the following error
ld: framework not found AudioUnit
clang: error: linker command failed with exit code 1 (use -v to see invocation)
please help
The AudioUnit.framework is for iOS 9.0 onwards and you are building for iOS 6.0.
You'll need to change your deployment target to iOS 9.0.
See the reference:
Available in iOS 9.0 and later

my first mac os x program, build error. (xcode 6.2, object-c helloworld.m)

ld: warning: ObjC object file (/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/CoreService.framework/CoreService) was compiled for iOS Simulator, but linking for MacOSX
ld: framework not found CoreImage for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I've encountered the same problem. At last I downgrade to xcode 6.1

Unable to deploy Unity3d project on iPhone device because of linking errors

I have created a xcode project using unity3d tool, while building the project for iOS my Player settings are like this:
1. Target Device: iPhone Only
2. Target Platform: Universal armv6+armv7 (OpenGL ES1.1+2.0) & I have tried it with armv6(OpenGL ES1.1)
3. SDK Version: iOS 4.3 & I have tried it with iOS Latest
4. Target iOS Version: 4.0
Api Compatibility Level: .Net 2.0 Subset, when I am trying to run it in iPhone I am getting the below mentioned error:
"__GetLookupStatus", referenced from:
Undefined symbols for architecture armv6: "__GetLookupStatus", referenced from: __Z19RegisterMonoModulesv in RegisterMonoModules.o
ld: symbol(s) not found for architecture armv6 clang: error: linker
command failed with exit code 1 (use -v to see invocation)
& my Unity 3 version is 3.4.2f3 & my Xcode version is 4.2.1.
How can I resolve this issue?
It is working now. I forgot to add my Objevtive-c files into Xcode project.

Resources