我正在嘗試使用預生成靜態庫的libssh2。我下面的說明在本頁面:靜態庫的XCode庫搜索路徑設置(libssh2)
http://code.google.com/p/ios-static-libraries/
這個網站介紹我應該配置我生成設置爲這樣:
HEADER_SEARCH_PATHS[sdk=iphoneos4.2][arch=*] = $(inherited) "/path/to/iPhoneOS-4.2/include" HEADER_SEARCH_PATHS[sdk=iphonesimulator4.2][arch=*] = $(inherited) "/path/to/iPhoneSimulator-4.2/include" LIBRARY_SEARCH_PATHS[sdk=iphoneos4.2][arch=*] = $(inherited) "/path/to/iPhoneOS-4.2/lib" LIBRARY_SEARCH_PATHS[sdk=iphonesimulator4.2][arch=*] = $(inherited) "/path/to/iPhoneSimulator-4.2/lib" OTHER_LDFLAGS = -Wl,-search_paths_first -lz -lcrypto -liconv -lssl -lsasl2 -letpan -lgcrypt -lgpg-error -lssh2 -lcurl
凡在XCode中我可以設置這些選項?我是否需要手動編輯文件?或者我可能需要使用XCode用戶界面來設置這些選項?