Xcode 关于使用cocoapods创建私有库
当我用cocoapods创建我的私有库时,我完成了本地私有规范和相应的本地演示,还将本地演示上传到远程git存储库,并推送标记“0.1.0” 吊舱的验证也很顺利(吊舱规格线头) 但最后当我推动规范时,报告了一个git错误。我对此感到困惑Xcode 关于使用cocoapods创建私有库,xcode,git,cocoapods,Xcode,Git,Cocoapods,当我用cocoapods创建我的私有库时,我完成了本地私有规范和相应的本地演示,还将本地演示上传到远程git存储库,并推送标记“0.1.0” 吊舱的验证也很顺利(吊舱规格线头) 但最后当我推动规范时,报告了一个git错误。我对此感到困惑 -> myBaseDemo (0.1.0) - NOTE | xcodebuild: note: Using new build system - NOTE | [iOS] xcodebuild: note: Planning b
-> myBaseDemo (0.1.0)
- NOTE | xcodebuild: note: Using new build system
- NOTE | [iOS] xcodebuild: note: Planning build
- NOTE | [iOS] xcodebuild: note: Constructing build description
- NOTE | [iOS] xcodebuild: warning: Skipping code signing because the target does not have an Info.plist file and one is not being generated automatically. (in target 'App' from project 'App')
Updating the `myBaseSpecs' repo
[!] /usr/bin/git -C /Users/fenglu/.cocoapods/repos/myBaseSpecs pull
Your configuration specifies to merge with the ref 'refs/heads/master'
from the remote, but no such ref was fetched.
我在podspec的远程存储库中添加了一个文件,解决了这个问题。我在podspec的远程存储库中添加了一个文件。
-> myBaseDemo (0.1.0)
- NOTE | xcodebuild: note: Using new build system
- NOTE | [iOS] xcodebuild: note: Planning build
- NOTE | [iOS] xcodebuild: note: Constructing build description
- NOTE | [iOS] xcodebuild: warning: Skipping code signing because the target does not have an Info.plist file and one is not being generated automatically. (in target 'App' from project 'App')
Updating the `myBaseSpecs' repo
[!] /usr/bin/git -C /Users/fenglu/.cocoapods/repos/myBaseSpecs pull
Your configuration specifies to merge with the ref 'refs/heads/master'
from the remote, but no such ref was fetched.