BlueSkyInwind

Results 8 comments of BlueSkyInwind

你好,我最近准备接入cocoapods-imy-bin ,但是在本地配置的demo工程时 一直提示 Failed to connect to 192.168.50.150 port 20480 的错误,请问能帮助看下这是怎么导致的吗?

> cocoapods-imy-bin组件会默认添加两个私有cocoapods源[[email protected]](mailto:[email protected]):su350380433/example_spec_source.git [[email protected]](mailto:[email protected]):su350380433/example_spec_bin_dev.git, example_spec_bin_dev这个是二进制私有源,该源配置的默认二进制静态资源url是192.168.50.150: 20480, 你需要修改成你自己搭建的node.js静态资源地址,如果上面这些不明白的话,你可能需要去看看cocoapods原理。 你好,下午的时候我找到了这个配置,所以现在我建立了自己的私有 repo ,解决了这个问题。pod bin auto --all-make 成功执行,但是在pod bin update 时 一直报错 如下: `Update all pods Updating local specs repositories /Users/xin/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-core-1.9.3/lib/cocoapods-core/cdn_source.rb:342: warning: URI.escape is obsolete...

> > cocoapods-imy-bin组件会默认添加两个私有cocoapods源[[email protected]](mailto:[email protected]):su350380433/example_spec_source.git [[email protected]](mailto:[email protected]):su350380433/example_spec_bin_dev.git, example_spec_bin_dev这个是二进制私有源,该源配置的默认二进制静态资源url是192.168.50.150: 20480, 你需要修改成你自己搭建的node.js静态资源地址,如果上面这些不明白的话,你可能需要去看看cocoapods原理。 > > 你好,下午的时候我找到了这个配置,所以现在我建立了自己的私有 repo ,解决了这个问题。pod bin auto --all-make 成功执行,但是在pod bin update 时 一直报错 如下: > > `Update all pods Updating local specs repositories...

> %s是占位符,第一个是占位符是表示版本名称,第二个是版本号,这样可以请求接口获取到zip静态库,nodejs的接口是这样定义的 哦,学到了...

配置通了以后,在尝试混编时,配置 swift 库 SnapKit.framework,编译时 报错如下: `Ld /Users/xin/Library/Developer/Xcode/DerivedData/PodBinTest-dosoexqsgavciratatrkeubcngsw/Build/Products/Debug-iphoneos/PodBinTest.app/PodBinTest normal (in target 'PodBinTest' from project 'PodBinTest') cd /Users/xin/Desktop/pod-bin-test/PodBinTest /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios13.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk -L/Users/xin/Library/Developer/Xcode/DerivedData/PodBinTest-dosoexqsgavciratatrkeubcngsw/Build/Products/Debug-iphoneos -L/Users/xin/Desktop/pod-bin-test/PodBinTest/Pods/AFNetworking/bin_AFNetworking_4.0.1 -L/Users/xin/Desktop/pod-bin-test/PodBinTest/Pods/FMDB/bin_FMDB_2.7.5 -L/Users/xin/Desktop/pod-bin-test/PodBinTest/Pods/LKDBHelper/bin_LKDBHelper_2.5.7 -L/Users/xin/Desktop/pod-bin-test/PodBinTest/Pods/YYCache/bin_YYCache_1.0.4 -L/Users/xin/Desktop/pod-bin-test/PodBinTest/Pods/YYModel/bin_YYModel_1.0.4 -F/Users/xin/Library/Developer/Xcode/DerivedData/PodBinTest-dosoexqsgavciratatrkeubcngsw/Build/Products/Debug-iphoneos -F/Users/xin/Desktop/pod-bin-test/PodBinTest/Pods/SnapKit -filelist...

> 提供下Podspec、Podfile等配置 `Pod::Spec.new do |s| s.name = 'PodBinTest' s.version = '1' s.description = '我只是一个测试的,主要是想要 s.dependency' s.license = 'MIT' s.summary = 'Seeyou' s.homepage = 'https://github.com/meiyoudev/IMYPublic' s.authors = { 'suliangjin' => '[email protected]'...

> 提供下Podspec、Podfile等配置 hello, 目前我这边 被这个报错卡着 了,Podspec、Podfile 配置如上,麻烦帮忙看下 ,或者还需要其他什么信息?

> ``` > NoMethodError - undefined method `each' for nil:NilClass > /Library/Ruby/Gems/2.6.0/gems/cocoapods-imy-bin-0.3.1.4/lib/cocoapods-imy-bin/native/podfile_generator.rb:134:in `block (3 levels) in podfile_for_spec' > /Library/Ruby/Gems/2.6.0/gems/cocoapods-imy-bin-0.3.1.4/lib/cocoapods-imy-bin/native/podfile_generator.rb:133:in `each' > /Library/Ruby/Gems/2.6.0/gems/cocoapods-imy-bin-0.3.1.4/lib/cocoapods-imy-bin/native/podfile_generator.rb:133:in `block (2 levels) in podfile_for_spec' > /Library/Ruby/Gems/2.6.0/gems/cocoapods-imy-bin-0.3.1.4/lib/cocoapods-imy-bin/native/podfile_generator.rb:123:in `instance_exec'...