Pra*_*tha 18 objective-c ios facebook-ios-sdk cocoapods swift
在facebook的文档中:这里:https://developers.facebook.com/docs/ios/getting-started
我们可以使用以下内容编写:
pod \'Facebook-iOS-SDK\'
Run Code Online (Sandbox Code Playgroud)
用于在我们的项目中安装pod.但是我在第10行的pod文件中添加了它并尝试运行pod install,它在终端上显示以下错误:
[!] Oh no, an error occurred.
It appears to have originated from your Podfile at line 10.
Search for existing github issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=%2FUsers%2Fprajeetshrestha%2FDesktop%2FHotRents%2FPodfile%3A10%3A+syntax+error%2C+unexpected+%24undefined%0A++++pod+%5C%27%2FUsers%2Fprajeetshrestha%2FDeskt...%0A+++++++++%5E%0A%2FUsers%2Fprajeetshrestha%2FDesktop%2FHotRents%2FPodfile%3A13%3A+syntax+error%2C+unexpected+tCONSTANT%2C+expecting+keyword_end%0Atarget+%27HotRentsTests%27+do%0A+++++++++++++++++++++%5E%0A%2FUsers%2Fprajeetshrestha%2FDesktop%2FHotRents%2FPodfile%3A13%3A+unterminated+string+meets+end+of+file%0A%2FUsers%2Fprajeetshrestha%2FDesktop%2FHotRents%2FPodfile%3A13%3A+syntax+error%2C+unexpected+end-of-input%2C+expecting+keyword_end&type=Issues
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new
Run Code Online (Sandbox Code Playgroud)
ara*_*sss 49
Facebook-iOS-SDK已被弃用(请参阅cocoapods在您使用时提供的消息pod install).
根据Facebook你应该使用:
pod "FBSDKCoreKit";
pod "FBSDKLoginKit";
pod "FBSDKShareKit";
pod "FBSDKMessengerShareKit";
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
15821 次 |
| 最近记录: |