I cant create a framework that work in xcode 4 [duplicate]
I have this library https://github.com/ararog/Unrar4iOS for unrar in IOS device and i build, like the creator of the project say, but one files is missing and dont work when i importing to my project but if i use the framework that cames with the example work fine. I need to compile but my self because the framework has a important leak of memory and i want to fix this issue.
I am using xcode version 4.1 for snow leopard
Regards
Edit the error is:
Ld /Users/pacoflaco/Library/Developer/Xcode/DerivedData/prueba-dvzvrihnyniqghgnyjzjdvqvnvne/Build/Products/Debug-iphonesimulator/prueba.app/prueba normal i386
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-g++-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/pacoflaco/Library/Developer/Xcode/DerivedData/prueba-dvzvrihnyniqghgnyjzjdvqvnvne/Build/Products/Debug-iphonesimulator -F/Users/pacoflaco/Library/Developer/Xcode/DerivedData/prueba-dvzvrihnyniqghgnyjzjdvqvnvne/Build/Products/Debug-iphonesimulator -F/Users/pacoflaco/Proyectos/prueba -f开发者_StackOverflow中文版ilelist /Users/pacoflaco/Library/Developer/Xcode/DerivedData/prueba-dvzvrihnyniqghgnyjzjdvqvnvne/Build/Intermediates/prueba.build/Debug-iphonesimulator/prueba.build/Objects-normal/i386/prueba.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -framework QuartzCore -framework UIKit -framework Foundation -framework CoreGraphics -framework CoreData -framework Unrar4iOS -o /Users/pacoflaco/Library/Developer/Xcode/DerivedData/prueba-dvzvrihnyniqghgnyjzjdvqvnvne/Build/Products/Debug-iphonesimulator/prueba.app/prueba
ld: framework not found Unrar4iOS
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-g++-4.2 failed with exit code 1
The file missing is Unrar4iOS
You need to include the folder that contains the Unrar4iOS framework among your Framework Search Paths, which is one of the build settings you can edit while editing the project object.
精彩评论