参照https://github.com/jverkoey/iOS-Framework这个生成了一个framework,当我以dependant的方式加进去没有什么问题, 但是以ThirdParty的方式加进去的却总是报“can not find ~.framework” 的错呢? 各位大神大仙快帮帮小妹我吧
7楼 @sycx 编译的时候报的错,传说中的@sycx 大神出现了。谢谢你 Ld /Users/heyue/Library/Developer/Xcode/DerivedData/ThirdParty-dygwyjkkfplqwfcvikagrdwpyqpz/Build/Products/Debug-iphoneos/ThirdParty.app/ThirdParty normal armv7 cd /Users/heyue/Desktop/ThirdParty setenv IPHONEOSDEPLOYMENTTARGET 6.0 setenv PATH "/Applications/Xcode5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode5.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -L/Users/heyue/Library/Developer/Xcode/DerivedData/ThirdParty-dygwyjkkfplqwfcvikagrdwpyqpz/Build/Products/Debug-iphoneos -L. -LThirdParty -LThirdParty/Images.xcassets -LThirdParty/Images.xcassets/AppIcon.appiconset -LThirdParty/Images.xcassets/LaunchImage.launchimage -F/Users/heyue/Library/Developer/Xcode/DerivedData/ThirdParty-dygwyjkkfplqwfcvikagrdwpyqpz/Build/Products/Debug-iphoneos -F/Users/heyue/Desktop/ThirdParty -F/Users/heyue/Desktop/ThirdParty -filelist /Users/heyue/Library/Developer/Xcode/DerivedData/ThirdParty-dygwyjkkfplqwfcvikagrdwpyqpz/Build/Intermediates/ThirdParty.build/Debug-iphoneos/ThirdParty.build/Objects-normal/armv7/ThirdParty.LinkFileList -deadstrip -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=6.0 -framework UIKit -framework Foundation -framework AugcloudMobileSharedlib -Xlinker -dependencyinfo -Xlinker /Users/heyue/Library/Developer/Xcode/DerivedData/ThirdParty-dygwyjkkfplqwfcvikagrdwpyqpz/Build/Intermediates/ThirdParty.build/Debug-iphoneos/ThirdParty.build/Objects-normal/armv7/ThirdPartydependencyinfo.dat -o /Users/heyue/Library/Developer/Xcode/DerivedData/ThirdParty-dygwyjkkfplqwfcvikagrdwpyqpz/Build/Products/Debug-iphoneos/ThirdParty.app/ThirdParty
ld: framework not found AugcloudMobileSharedlib clang: error: linker command failed with exit code 1 (use -v to see invocation)
Select the Build Settings tab and search for Other Linker Flags. If not already present, add -ObjC 这个是我之前导入一个库搜的方法- -!
14楼 @vikiliu0310 都试过了。。。 估计是https://github.com/jverkoey/iOS-Framework提供的脚本不对,才导致生成的framework找不到,我现在用https://github.com/kstenerud/iOS-Universal-Framework生成了framework可以用了。谢谢 @sycx 谢谢 @vikiliu0310 谢谢 @tinyfool 谢谢 @gb18030 谢谢你们各位