Frameworks Added to cocoapod getiing import issue “Framework not found”

若如初见. 提交于 2019-12-12 02:34:32

问题


This is my podfile:

`target 'ROC' do
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
pod 'AFNetworking', '~> 2.5'
pod 'INTULocationManager'
pod 'Fabric'
pod 'Crashlytics'
pod 'FSMediaPicker'
pod 'IQDropDownTextField'
pod 'Google/Analytics'
pod 'Google/SignIn'
pod 'Appboy-iOS-SDK', '~>2.22'

end

`

Now I open podfile and added pod 'GoogleMaps' pod 'GooglePlaces' then update pod. I can see googleMaps framework in project nevigator but cant import because of error Googlemap not found.same with APPboy. What to do help please.


回答1:


Try the following workaround:

  1. Click on your project (targets)
  2. Click on Build Settings
  3. Under Framework search paths (set your framework path)

Following information for getting framework search paths

  1. Right click on your framework folder (for ex: GoogleMaps.framework)
  2. select Get info
  3. copy the path from General->where and paste this path in your framework search path (path should contain in single line)

You can also try to reinstall the SDK. Just make sure you followed the tutorial properly.



来源:https://stackoverflow.com/questions/39573184/frameworks-added-to-cocoapod-getiing-import-issue-framework-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!