适用于iOS的Google地方信息框架上的架构x86_64的未定义符号

时间:2017-03-06 06:37:26

标签: ios google-maps-sdk-ios google-places

我尝试将谷歌地方框架添加到已经使用谷歌地图框架的项目中。我已添加GooglePlaces.bundle,并从其资源中拖出Undefined symbols for architecture x86_64: "_GMSAllSDKCheckForUpdates", referenced from: -[GMSPlacesClient init] in GooglePlaces "_GMSSDKVersion", referenced from: -[GMSClearcutRequestGenerator logEventWithPlacesEvent:] in GooglePlaces +[GMSPlacesClient SDKVersion] in GooglePlaces _GMSPlacesServerUserAgent in GooglePlaces ..................... "_OBJC_METACLASS_$_GMSBaseResources", referenced from: _OBJC_METACLASS_$_GMSPlacesResources in GooglePlaces ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ,但在构建应用时出现此错误。

Link Binary with Libraries

我在其class S3demo extends CI_Controller { public function index() { //Var Declaration $data['bucketName'] = "demacrtest"; // Load Library $this->load->helper('url'); $this->load->helper('form'); $this->load->library('s3'); // Get all required Data $data['bucket_list'] = $this->s3->listBuckets(); $header_data['title'] = "CI and S3 Demo"; $data['object_list'] = $this->s3->getBucket($data['bucketName']); // Load Views $this->load->view('common/header', $header_data); $this->load->view('s3_demo', $data); $this->load->view('common/footer'); } public function doUploadtoS3(){ echo "in"; //Var Declaration $data['bucketName'] = "demacrtest"; $uri = "dms/"; // Load Library $this->load->helper('url'); $this->load->helper('form'); $this->load->library('s3'); // GET DATA POST FROM FORM $data = array( 'files' => $this->input->post('uploadedfiles') ); // DISPLAY DATA echo "<pre>"; print_r($data); // PUT with custom headers: $put = S3::putObject( S3::inputFile($data), $data['bucketName'], $uri, S3::ACL_PUBLIC_READ, array(), array( // Custom $requestHeaders "Cache-Control" => "max-age=315360000", "Expires" => gmdate("D, d M Y H:i:s T", strtotime("+5 years")) ) ); } } 中添加了所有框架要求,并且双重交叉检查了它们,没有人丢失。

我在这里错过了什么步骤吗?任何帮助,将不胜感激。谢谢!

0 个答案:

没有答案