我在構建包含SQLCipher和OpenSSL的歸檔項目時遇到問題。SQLCipher,Xcode 4和創建IPA
該項目在模擬器建立罰款和我的iPhone,但對於特設分佈層時(使用正確的特設方案),它建立,但在錯誤的結果:
LD「/用戶/ macuser/Library/Developer/Xcode/DerivedData/BlahHealthcare-frojqoeewvysjpcgcdtltizzbdri/ArchiveIntermediates/BlahHealthcare/IntermediateBuildFilesPath/BlahHealthcare.build/Ad Hoc-iphoneos/BlahHealthcare.build/Objects-normal/armv6/BlahHealthcare「normal armv6 cd」/ Users/macuser/Projects/BlahHealthcare「 setenv IPHONEOS_DEPLOYMENT_TARGET 4.3 setenv PATH」/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin 「「/ Users/macuser/Library/Developer/Xcode/DerivedData/BlahHealthcare-frojqoeewvysjpcgcdtltizzbdri/ArchiveIntermediates/BlahHealthcare/BuildProductsPath/Ad Hoc-iphoneos「」-L/Users/macuser/Projects/BlahHealthcare「」-F/Users/macuser/Library/Developer/Xcode/DerivedData/BlahHealthcare-frojqoeewvysjpcgcdtltizzbdri/ArchiveIntermediates/BlahHealthcare/BuildProductsPath/Ad-Hoc-iphoneos「-filelist」/Users/macuser/Library/Developer/Xcode/DerivedData/BlahHealthcare-frojqoeewvysjpcgcdtltizzbdri/ArchiveIntermediates/BlahHealthcare/IntermediateBuildFilesPath/BlahHealthcare.build/AdHoc-iphoneos /BlahHealthcare.build/Objects-normal/armv6/BlahHealthcare.LinkFileList「-dead_strip -lxml2 -miphoneos-version-min = 4.3 -lcrypto -lsqlcipher -framework基礎框架UIKit框架CoreGraphics -licucore.A框架CFNetwork -framework SystemConfiguration -framework MobileCoreServices -lz.1.2.3 -framework Security -o「/Users/macuser/Library/Developer/Xcode/DerivedData/BlahHealthcare-frojqoeewvysjpcgcdtltizzbdri/ArchiveIntermediates/BlahHealthcare/IntermediateBuildFilesPath/BlahHealthcare.build/Ad Hoc-iphoneos/BlahHealthcare.build/Objects-normal/armv6/BlahHealthcare」
LD:庫找不到-lcrypto collect2:LD返回1個退出狀態 命令/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -4.2失敗,退出代碼1
一切似乎配置正確,所以我不知道該從哪裏去。我已經嘗試了其他帖子上的各種答案,並沒有一個似乎有效。
有沒有人有任何想法我要去哪裏錯了?