MobClub / ShareSDK3.x-for-iOS

ShareSDK 3.x for iOS
111 stars 26 forks source link

有关制作依赖ShareSDK3的pod库 #13

Open Monkshae opened 8 years ago

Monkshae commented 8 years ago

spec文件如下:

Pod::Spec.new do |s| s.name = 'GMShareKit' s.version = '0.0.1' s.summary = 'xxxxxxx ' s.homepage = 'http://xxxx.com' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'xxx' => 'xxxxxx.com' } s.source = { :git => 'xxxxxx', :tag => s.version.to_s }

s.ios.deployment_target = '8.0' s.dependency 'ShareSDK3' s.dependency 'MOBFoundation' s.dependency 'ShareSDK3/ShareSDKPlatforms/QQ' s.dependency 'ShareSDK3/ShareSDKPlatforms/SinaWeibo' s.dependency 'ShareSDK3/ShareSDKPlatforms/WeChat'

s.sourcefiles = 'GMShareKit/Classes/*/_' s.resource_bundles = { 'GMShareKit' => ['GMShareKit/Assets/*'], } end

忽略author homepage等,执行pod update后

image

大家有遇到这样的问题么,求帮助呀。

Monkshae commented 8 years ago

去掉use_frameworks!就好了。

wly314 commented 7 years ago

Installing ShareSDK3 (3.4.0)

[!] Error installing ShareSDK3 [!] /usr/bin/git clone https://github.com/ShareSDKPlatform/ShareSDK.git /var/folders/8k/f20g3zf929sf9780dyv8whyh0000gn/T/d20160822-9800-1426al6 --template= --single-branch --depth 1 --branch 3.4.0

Cloning into '/var/folders/8k/f20g3zf929sf9780dyv8whyh0000gn/T/d20160822-9800-1426al6'... error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed 一直更新不了,翻墙也不行,等两个多小时都不行。有时候加载几十分钟就报上述错误。

liufangli520 commented 3 years ago

SHareSDK3我们不维护了,https://www.mob.com/wiki/detailed/?wiki=ShareSDK_ios_pod_share_pods&id=14 请参考这个文档用最新的