Skip to content

Codesigndoc should never look into the .swiftpm folder #132

Open
@mackoj

Description

@mackoj

This is what it does on the first launch.

 => Creating a temporary directory for codesigndoc ...
 => Downloading version: 2.4.1
 => Downloading codesigndoc from (https://github.com/bitrise-io/codesigndoc/releases/download/2.4.1/codesigndoc-Darwin-x86_64) to (/var/folders/6g/cglr8tv56ndf1r_nphz4yf3w0000gn/T/codesigndocXXXXXX.kxOJaRo4/codesigndoc) ...
####################################################################################################################################################################################################################################### 100,0%
 => Making it executable ...
 => codesigndoc version: 2.4.1
 => Running codesigndoc scan ...

Scan the directory for project files
You can specify the Xcode project/workscape file to scan with the --file flag.
Found multiple project file: ..
Select the project file you want to scan
Please select from the list:
[1] : /Users/jeffreymacko/code/jayandjay/BitBot/BitBotWebservice/.swiftpm/xcode/package.xcworkspace
[2] : /Users/jeffreymacko/code/jayandjay/BitBot/BitriseClient/.swiftpm/xcode/package.xcworkspace
[3] : /Users/jeffreymacko/code/jayandjay/BitBot/BitbotClient/.swiftpm/xcode/package.xcworkspace
[4] : /Users/jeffreymacko/code/jayandjay/BitBot/APISharedModels/.swiftpm/xcode/package.xcworkspace

After removing the .swiftpm folder it did find the project.

$> rm -rf /Users/jeffreymacko/code/jayandjay/BitBot/BitBotWebservice/.swiftpm/xcode/package.xcworkspace
$> rm -rf /Users/jeffreymacko/code/jayandjay/BitBot/BitriseClient/.swiftpm/xcode/package.xcworkspace
$> rm -rf  /Users/jeffreymacko/code/jayandjay/BitBot/BitbotClient/.swiftpm/xcode/package.xcworkspace
$> rm -rf /Users/jeffreymacko/code/jayandjay/BitBot/APISharedModels/.swiftpm/xcode/package.xcworkspace
$> bash -l -c "$(curl -sfL https://raw.githubusercontent.com/bitrise-tools/codesigndoc/master/_scripts/install_wrap.sh)"

 => Creating a temporary directory for codesigndoc ...
 => Downloading version: 2.4.1
 => Downloading codesigndoc from (https://github.com/bitrise-io/codesigndoc/releases/download/2.4.1/codesigndoc-Darwin-x86_64) to (/var/folders/6g/cglr8tv56ndf1r_nphz4yf3w0000gn/T/codesigndocXXXXXX.VITKqXAb/codesigndoc) ...
####################################################################################################################################################################################################################################### 100,0%
 => Making it executable ...
 => codesigndoc version: 2.4.1
 => Running codesigndoc scan ...

Scan the directory for project files
You can specify the Xcode project/workscape file to scan with the --file flag.
Found one project file: BitBot.xcodeproj.

🔦  Scanning Schemes ...
$ xcodebuild "-project" "/Users/jeffreymacko/code/jayandjay/BitBot/BitBot.xcodeproj" "-list"

Select the Scheme you usually use in Xcode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions