pod-template
pod-template copied to clipboard
pod lib create without demo project fails to create workspace
Hello,
I am using CocoaPods 1.12.1
After running the following command on the master branch of an empty repository:
pod lib create TempLib
And selecting no for demo project, there is no workspace to open so the script fails. Below is an output of the action:
pod lib create TestLib
Cloning `https://github.com/CocoaPods/pod-template.git` into `TestLib`.
Configuring TestLib template.
------------------------------
To get you started we need to ask a few questions, this should only take a minute.
If this is your first time we recommend running through with the guide:
- https://guides.cocoapods.org/making/using-pod-lib-create.html
( hold cmd and click links to open in a browser. )
What platform do you want to use?? [ iOS / macOS ]
>
ios
What language do you want to use?? [ Swift / ObjC ]
>
swift
Would you like to include a demo application with your library? [ Yes / No ]
> No
Which testing frameworks will you use? [ Quick / None ]
> None
Would you like to do view based testing? [ Yes / No ]
> No
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Running pod install on your new library.
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "TestLib":
In Podfile:
TestLib (from `../`)
Specs satisfying the `TestLib (from `../`)` dependency were found, but they required a higher minimum deployment target.
[!] Automatically assigning platform `iOS` with version `9.3` on target `TestLib_Tests` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
Ace! you're ready to go!
We will start you off by opening your project in Xcode
open 'TestLib/Example/TestLib.xcworkspace'
The file /.../TestLib/Example/TestLib.xcworkspace does not exist.
To learn more about the template see `https://github.com/CocoaPods/pod-template.git`.
To learn more about creating a new pod, see `https://guides.cocoapods.org/making/making-a-cocoapod`.
I also encountered the same problem.
pod lib create rz-testplugin
Cloning https://github.com/CocoaPods/pod-template.git
into rz-testplugin
.
Configuring rz-testplugin template.
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
To get you started we need to ask a few questions, this should only take a minute.
If this is your first time we recommend running through with the guide:
- https://guides.cocoapods.org/making/using-pod-lib-create.html ( hold cmd and double click links to open in a browser. )
What platform do you want to use?? [ iOS / macOS ]
ios
What language do you want to use?? [ Swift / ObjC ]
objc
Would you like to include a demo application with your library? [ Yes / No ]
no
Which testing frameworks will you use? [ Specta / Kiwi / None ]
none
Would you like to do view based testing? [ Yes / No ]
no
What is your class prefix?
rz security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain. security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain. security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain. security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain. security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain. security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain. hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch
hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m
Running pod install on your new library.
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "rz-testplugin":
In Podfile:
rz-testplugin (from ../
)
Specs satisfying the rz-testplugin (from
../)
dependency were found, but they required a higher minimum deployment target.
[!] Automatically assigning platform iOS
with version 9.3
on target rz-testplugin_Tests
because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform
.
Ace! you're ready to go! We will start you off by opening your project in Xcode open 'rz-testplugin/Example/rz-testplugin.xcworkspace' The file /Users/wangjianwei/HbuildexProject/3.8.7/SDK/HBuilder-uniPluginDemo/custom-plugins/rz-testplugin/Example/rz-testplugin.xcworkspace does not exist.
To learn more about the template see https://github.com/CocoaPods/pod-template.git
.
To learn more about creating a new pod, see https://guides.cocoapods.org/making/making-a-cocoapod
.
wangjianwei@wangjianweideMacBook-Pro custom-plugins % >....
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "rz-testplugin":
In Podfile:
rz-testplugin (from ../
)
Specs satisfying the rz-testplugin (from
../)
dependency were found, but they required a higher minimum deployment target.
[!] Automatically assigning platform iOS
with version 9.3
on target rz-testplugin_Tests
because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform
.
Ace! you're ready to go! We will start you off by opening your project in Xcode open 'rz-testplugin/Example/rz-testplugin.xcworkspace' The file /Users/wangjianwei/HbuildexProject/3.8.7/SDK/HBuilder-uniPluginDemo/custom-plugins/rz-testplugin/Example/rz-testplugin.xcworkspace does not exist.
To learn more about the template see https://github.com/CocoaPods/pod-template.git
.
To learn more about creating a new pod, see https://guides.cocoapods.org/making/making-a-cocoapod
.