Cocopods_Expected identifier or "(" ,Expected a type
问题
Parse Issue:Expected identifier or "(" ,Expected a type

分析与参考
参考: http://www.egeek.me/2013/01/26/note-about-building-cocoapods-powered-ios-projects/
参考以上windows 和OSX系统不同,因 rsa.h文件未正常引入导致,还和cocopods有关系
解决方法
cd到项目目录 执行pod update操作
youbaobaodeMac-mini:~ youbaobao$ pod --version
1.0.1
youbaobaodeMac-mini:~ youbaobao$ cd ......
youbaobaodeMac-mini:sourceCode youbaobao$ pod update
Update all pods
Re-creating CocoaPods due to major version update.
Setting up CocoaPods master repo
[!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master-1`.
You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.
youbaobaodeMac-mini:sourceCode youbaobao$
网友评论