0
我正在開發具有Mobilefirst後端的本機iOS swift應用程序,因此已將Mobilefirst API集成到Xcode項目中。Xcode 7.3更新錯誤:「使用未解析的標識符WLHttpMethodGet」
由於最新更新的XCode 7.3和2.2迅疾我得到了錯誤:「使用未解決的標識符WLHttpMethodGet」調用雖然WLHttpMethodGet方法適配器在此代碼時:
let request = WLResourceRequest(URL: NSURL(string: "/adapters/SampleAdapter/adapterMethod"), method: WLHttpMethodGet)
request.setQueryParameterValue("...", forName: "..")
request.sendWithCompletionHandler { (response: WLResponse, error: NSError) -> Void in
if(error != nil){
...
}
else if(response != nil){
...
}
}
具體如下:
let request = WLResourceRequest(URL: NSURL(string: "/adapters/SampleAdapter/adapterMethod"), method: WLHttpMethodGet)
是否存在針對此問題的任何現有解決方案?
請提及基本的詳細信息,例如您的MobileFirst版本以及您是如何創建此本機應用程序的 - SDK是使用CocoaPods還是通過CLI/Studio中的項目添加的? –
其IBM MobileFirst Platform Studio \t 7.0.0.00-20151020-1831 \t我們通過CLI/Studio中的項目創建了本機應用程序 –