Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple Mach-O Linker Error When adding framework #196

Open
ozansabrican opened this issue Aug 22, 2014 · 0 comments
Open

Apple Mach-O Linker Error When adding framework #196

ozansabrican opened this issue Aug 22, 2014 · 0 comments

Comments

@ozansabrican
Copy link

Hi I created my custom framework by using yours but when I add my framework to the project it gives me this error when my target is 7.1:

Ld /Users/ozans/Library/Developer/Xcode/DerivedData/BugFixProject-fzjcsjuuscocrogonioflplgfqbq/Build/Products/Debug-iphonesimulator/BugFixProject.app/BugFixProject normal i386
cd /Users/ozans/Documents/xCodeDeneme/Quiz/BugFixProject
export IPHONEOS_DEPLOYMENT_TARGET=7.1
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/ozans/Library/Developer/Xcode/DerivedData/BugFixProject-fzjcsjuuscocrogonioflplgfqbq/Build/Products/Debug-iphonesimulator -F/Users/ozans/Library/Developer/Xcode/DerivedData/BugFixProject-fzjcsjuuscocrogonioflplgfqbq/Build/Products/Debug-iphonesimulator -F/Users/ozans/Documents/xCodeDeneme/Quiz/BugFixProject/MyFrameworks -filelist /Users/ozans/Library/Developer/Xcode/DerivedData/BugFixProject-fzjcsjuuscocrogonioflplgfqbq/Build/Intermediates/BugFixProject.build/Debug-iphonesimulator/BugFixProject.build/Objects-normal/i386/BugFixProject.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -framework CoreData -framework MyFoundation -framework CoreGraphics -framework MyNetwork -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/ozans/Library/Developer/Xcode/DerivedData/BugFixProject-fzjcsjuuscocrogonioflplgfqbq/Build/Intermediates/BugFixProject.build/Debug-iphonesimulator/BugFixProject.build/Objects-normal/i386/BugFixProject_dependency_info.dat -o /Users/ozans/Library/Developer/Xcode/DerivedData/BugFixProject-fzjcsjuuscocrogonioflplgfqbq/Build/Products/Debug-iphonesimulator/BugFixProject.app/BugFixProject

ld: in /Users/ozans/Documents/xCodeDeneme/Quiz/BugFixProject/MyFrameworks/MyFoundation.framework/MyFoundation(MyFoundation), too many compact unwind infos in function anon for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have a workaround that if I use 6.0 for Deployment Target but we want to work with this framework in also 7.1 so do you have any solutions that I can use.

Thanks inadvance.

-so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant