0
我嘗試在iPhone模擬器上構建PJSip項目。我的工作環境是Xcode 5.1.1,ios SDK是7.1。正如我遵循這個指南:http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone, 我下載最新的代碼和配置構建系統的iPhone模擬器:無法運行iPhone模擬器關於PJSip
export DEVPATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer
ARCH="-arch i386" CFLAGS="-O2 -m32 -mios-simulator-version-min=5.0" LDFLAGS="-O2 -m32 -mios-simulator-version-min=5.0" ./configure-iphone
make dep && make clean && make
這一切都完成後,發生在編譯過程中沒有錯誤。但是,當我打開使用Xcode中ipjsua.xcodeproj在pjproject/PJSIP-應用/ src目錄/ pjsua/IOS,運行程序後,發生了錯誤,並這樣說:
ld: library not found for -lmilenage-arm-apple-darwin9
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我對此很困惑。任何意見將不勝感激。
此鏈接可能會有所幫助:https://trac.pjsip.org/repos/ticket/1728 – Ashutosh
我遵循這個鏈接並手動構建了庫,所以它工作!非常感謝 ! – samuelmk2