CycloneDX / cyclonedx-cocoapods

Creates CycloneDX Software Bill-of-Materials (SBOM) from Objective-C and Swift projects that use CocoaPods.
Apache License 2.0
21 stars 12 forks source link

String contains null byte #14

Closed jonathanp-avio closed 3 years ago

jonathanp-avio commented 3 years ago

Hello,

Installed the gem from source and ran the command against our Podfile. The command ends with an error claiming that the string (assuming the gathered information ?) is empty. The debug information is not helping me any further. I'd at least expect the command to not fail on this or am I missing something?

[~/Developer/iOS/__redacted__(develop) » cyclonedx-cocoapods --output ~/Desktop/sbom.xml --version 6 --verbose
D, [2021-06-04T12:00:20.098051 #2818] DEBUG -- : Running cyclonedx-cocoapods with options: {:bom_file_path=>"/Users/__redacted__/Desktop/sbom.xml", :version=>"6", :verbose=>true}
D, [2021-06-04T12:00:20.129243 #2818] DEBUG -- : Parsing pods from /Users/__redacted__/Developer/iOS/__redacted__/Podfile
D, [2021-06-04T12:00:20.130990 #2818] DEBUG -- : Parsing sources from /Users/__redacted__/Developer/iOS/__redacted__/Podfile
D, [2021-06-04T12:00:20.131015 #2818] DEBUG -- : Ensuring ssh://git@__redacted__.com/ci/ios-podspecs.git is available for searches
D, [2021-06-04T12:00:20.145778 #2818] DEBUG -- : Ensuring https://cdn.cocoapods.org/ is available for searches
D, [2021-06-04T12:00:20.157155 #2818] DEBUG -- : Source manager successfully created with all needed sources
D, [2021-06-04T12:00:20.159103 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:20.159153 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:20.159169 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:20.159181 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:20.159190 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:20.159199 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:20.159210 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:20.968949 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769228 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769270 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769284 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769294 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769304 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769313 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769321 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769330 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769339 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769349 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769358 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769415 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769425 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769433 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769442 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769451 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769459 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769468 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769477 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769486 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769494 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769503 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769577 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769617 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769630 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769654 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769682 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769691 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769714 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769723 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769733 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769742 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769752 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769761 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769769 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769778 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769786 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769795 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769804 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:21.769814 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:22.564058 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:23.377236 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:24.165368 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:24.970466 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:24.970509 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:24.970522 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:24.970532 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:24.970542 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:24.970551 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:24.970561 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:24.970570 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:25.788437 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:26.607824 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:27.402107 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:28.196569 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.009122 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851528 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851572 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851586 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851598 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851607 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851617 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851625 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851634 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851644 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851654 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851663 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851673 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851682 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851692 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851701 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851710 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:29.851739 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:30.752827 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:30.752872 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:30.752885 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:30.752896 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:30.752906 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:30.752915 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:30.752924 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:30.752934 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:31.625014 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:32.466079 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:32.466124 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:32.466138 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:32.466148 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:33.307836 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:34.133026 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:34.982654 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:34.982697 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:34.982711 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:34.982722 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:35.855545 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:36.722789 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:37.539859 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:38.352666 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:39.183909 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:40.062747 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:40.917725 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:41.750894 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:42.567512 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:42.567553 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:42.567566 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:42.567576 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:42.567585 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:42.567595 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:43.371611 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:44.158346 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:44.954720 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:45.746193 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:45.746234 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:45.746247 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:45.746257 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:46.526634 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:47.302412 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:48.085324 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:48.880122 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:49.667318 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:50.444545 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:51.281905 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:52.101963 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:52.898107 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:53.702590 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:54.510911 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:54.510951 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:55.311839 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:56.101243 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:56.883488 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:57.665924 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:58.444985 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:59.241089 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:59.241128 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:59.241141 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:59.241151 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:59.241161 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:59.241169 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:59.241179 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:59.241188 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:59.241198 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:59.241208 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:00:59.241217 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:00.064505 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:00.914531 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:01.740640 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:02.543301 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:03.392991 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:04.221063 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:04.221103 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:05.110176 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:05.110220 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:05.110233 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:05.110244 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:05.110253 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:05.110263 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:05.110273 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:05.952391 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:05.952429 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:05.952442 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:05.952452 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:05.952461 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:06.739860 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:07.538798 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:08.366389 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:09.222626 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:10.013712 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:10.823147 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:10.823188 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:10.823202 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:10.823212 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:10.823222 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:10.823232 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:11.641751 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:11.641790 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:11.641803 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:11.641814 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:12.435691 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:12.435730 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:12.435744 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:12.435754 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:12.435764 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:13.280043 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:13.280084 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:13.280098 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:14.075914 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:14.075955 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:14.887470 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:15.708232 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:16.535753 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:16.535796 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:16.535809 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:16.535820 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:17.353114 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:18.161127 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:18.972516 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:19.762288 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:20.560377 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:21.415953 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:22.311584 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:23.122326 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:23.975540 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:24.801319 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:25.614612 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:26.489350 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:27.332639 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:28.226355 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:29.066521 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:29.066560 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:29.885714 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:30.696139 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:31.493590 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:32.271903 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:33.063362 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:33.899812 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:34.778222 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:34.778262 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:34.778275 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:34.778286 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:34.778295 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:34.778304 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:34.778313 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:34.778323 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:34.778332 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:34.778341 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:34.778351 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:34.778359 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:34.778369 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:35.562116 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:35.562157 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:35.562170 #2818] DEBUG -- : Completing information for __redacted__
D, [2021-06-04T12:01:35.562180 #2818] DEBUG -- : Completing information for __redacted__
E, [2021-06-04T12:01:36.355879 #2818] ERROR -- : string contains null byte
coderpatros commented 3 years ago

Can you share your podfile at all?

jgongo commented 3 years ago

@jonathanp-avio in addition to providing a minimal test case or the pod file causing the error, is this the whole output? Don't you get a stack trace or a line number where the error happened?

jonathanp-avio commented 3 years ago

Thanks for your reply.

@coderpatros Here's the podfile, redacted sensitive information. @jgongo This is the entire output (only replaced sensitive information with "__redacted__").

# Settings
platform :ios, '13.7'
use_frameworks!

# Specs repositories
source '__redacted__/ios-podspecs.git'
source 'https://cdn.cocoapods.org/'
project '__redacted__.xcodeproj'

def common_components
  pod '__V__Engine', :git => '__redacted__/component-__V__.git', :tag => '2.0.1'
  pod '__W__Engine', :git => '__redacted__/component-__W__.git', :tag => '3.0.9'
  pod '__redacted__dataCore', :path => './Components/__redacted__dataCore'
  pod '__redacted__UI', :path => './Components/__redacted__UI'
  pod '__redacted__CoreServiceLayer', :path => './__redacted__Pods/__redacted__CoreServiceLayer'
end

def shared_dependencies
  pod 'DeviceKit', '=1.13'
  pod 'Realm', '=3.21.0'
  pod 'RxSwift', '=5.1.0'
  pod 'RxCocoa'
  pod 'Swinject', '=2.6.2'
  pod 'SwiftyDraw', '~> 2.4.1'
  pod 'EasyPeasy', '1.8.0'
  pod 'Firebase/Crashlytics', '6.31.1'
  pod 'Firebase/Analytics', '6.31.1'
  pod 'RealmSwift', '~> 3.21.0'
  pod 'RxGesture', '~> 3.0.1'
  pod 'SwinjectAutoregistration', '2.6.1'
  pod 'SWXMLHash', '5.0.1'
  pod 'SwiftSocket', :git => '__redacted__/ios-pod-__redacted__-swift-socket.git'
  pod 'PSPDFKit', podspec: '__redacted__/9.5.1.podspec'
end

def test_dependencies
  pod "__U__Component", :path => "./Components/__U__Component"
  pod "__U__Component/CabinView", :path => "./Components/__U__Component"
  pod "__U__Component/EFBView", :path => "./Components/__U__Component"
  pod '__redacted__dataCore', :path => './Components/__redacted__dataCore'
  pod '__redacted__CoreServiceLayer', :path => './__redacted__Pods/__redacted__CoreServiceLayer'
  pod '__redacted__Network', :path => './Components/__redacted__Network'
  pod '__redacted__Utility/Tests', :path => './Components/__redacted__Utility'
  pod 'Quick', '3.0.0'
  pod 'Nimble', '~> 9.0'
  pod 'OHHTTPStubs/Swift', '~> 7.0.0'
  pod 'SwiftFormat/CLI', '~> 0.45.1'
  pod 'RxTest'
  pod 'RxBlocking'
  pod 'Stencil'
  pod 'SwiftyMocky', '~> 4.0'
  pod 'SnapshotTesting', '~> 1.8'
end

def components
  pod '__redacted__DocumentViewer', :path => './Components/__redacted__DocumentViewer'
  pod '__redacted__Keyboard', :path => './Components/__redacted__Keyboard'
  pod '__redacted__Network', :path => './Components/__redacted__Network'
  pod '__redacted__UIEFB', :path => './Components/__redacted__UIEFB'
  pod '__redacted__Utility', :path => './Components/__redacted__Utility'
  pod '__redacted__UserPermission', :path => './__redacted__Pods/__redacted__UserPermission'
  pod '__redacted__Logger'
  common_components

  # Core
  pod 'ClientCore', :path => './Components/ClientCore'
  pod 'ComponentCore', :path => './Components/ComponentCore'

  # Components
  pod '__A__Component', :path => './Components/__A__Component'
  pod '__B__Component', :path => './Components/__B__Component'
  pod '__C__Component', :path => './Components/__C__Component'
  pod '__D__Component', :path => './Components/__D__Component'
  pod '__E__Component', :path => './Components/__E__Component'
  pod '__F__Component', :path => './Components/__F__Component'
  pod '__G__Component', :path => './Components/__G__Component'
  pod '__H__Component', :path => './Components/__H__Component'
  pod '__I__Component', :path => './Components/__I__Component'
  pod '__J__Component', :path => './Components/__J__Component'
  pod '__K__Component', :path => './Components/__K__Component'
  pod '__L__Component', :path => './Components/__L__Component'
  pod '__M__/SeatMap', :path => 'Components/__M__'
  pod '__N__Component', :path => './Components/__N__Component'
  pod '__O__Component', :path => './Components/__O__Component'
  pod '__P__Component', :path => './Components/__P__Component'
  pod '__Q__Component', :path => './Components/__Q__Component'
  pod '__R__Component', :path => './Components/__R__Component'
  pod '__S__Component', :path => './Components/__S__Component'
  pod '__T__Component', :path => './Components/__T__Component'
end

target '__redacted__Cabin' do
  # Pods for __redacted__Cabin
  components
  pod '__U__Component/CabinView', :path => './Components/__U__Component'
  shared_dependencies

  pod 'SBTUITestTunnelServer'

  target '__redacted__CabinFunctionalTests' do
      inherit! :search_paths
      pod 'OHHTTPStubs/Swift', '~> 7.0.0'
      pod 'Stencil'
      pod 'EarlGrey', :git => '__redacted__/ios-pod-earlgrey.git', :branch => 'precise-swipe'
      pod 'QuizTrain', :git => '__redacted__/ios-pod-quiztrain.git'
      pod '__I__Component/Accessibility', :path => './Components/__I__Component'
  end
end

target '__redacted__CabinUITests' do
    pod 'QuizTrain', :git => '__redacted__/ios-pod-quiztrain.git'
    pod 'SBTUITestTunnelClient'
    pod '__I__Component/Accessibility', :path => './Components/__I__Component'
    pod '__S__Component/Accessibility', :path => './Components/__S__Component'
    pod '__E__Component/Accessibility', :path => './Components/__E__Component'
    pod 'ComponentCore/Accessibility', :path => './Components/ComponentCore'
    pod '__U__Component/Accessibility', :path => './Components/__U__Component'
    pod '__G__Component/Accessibility', :path => './Components/__G__Component'
    pod '__O__Component/Accessibility', :path => './Components/__O__Component'
    pod '__redacted__Network/Accessibility', :path => './Components/__redacted__Network'
    pod '__Q__Component/Accessibility', :path => './Components/__Q__Component'
    pod 'ClientCore', :path => './Components/ClientCore'
end
# Pods for __redacted__
target '__redacted__' do
  components
  pod '__U__Component/EFBView', :path => './Components/__U__Component'

  shared_dependencies
  # Vendor

  pod '__X__Wrapper', :git => '__redacted__/__X__.git', :tag => '0.23.6'
  pod 'PocketSVG'
  pod 'SwiftyJSON'
  pod '__Y__Library', :git => '__redacted__/component-__Y__.git', :tag => '5.0.3'
  pod '__redacted__Z__', :git => '__redacted__/ios-pod-__Z__.git', :tag => '0.1.10'

  target '__redacted__FunctionalTests' do
    inherit! :search_paths
    pod '__U__Component', :path => './Components/__U__Component'
    pod 'EarlGrey', :git => '__redacted__/ios-pod-earlgrey.git', :branch => 'precise-swipe'
    pod '__I__Component/Accessibility', :path => './Components/__I__Component'
    pod 'OHHTTPStubs/Swift', '~> 7.0.0'
    pod 'QuizTrain', :git => '__redacted__/ios-pod-quiztrain.git'
    pod 'Stencil'
    pod '__Q__Component/Accessibility', :path => './Components/__Q__Component'
  end
end

# Pods for __redacted__Lite
target '__redacted__Lite' do
  # Core
  pod '__redacted__Keyboard', :path => './Components/__redacted__Keyboard'
  pod 'ClientCore', :path => './Components/ClientCore'
  pod 'ComponentCore', :path => './Components/ComponentCore'

  # Components
  pod '__U__Component', :path => './Components/__U__Component'
  pod '__U__Component/EFBView', :path => './Components/__U__Component'
  pod '__E__Component', :path => './Components/__E__Component'
  pod '__G__Component', :path => './Components/__G__Component'
  pod '__I__Component', :path => './Components/__I__Component'
  pod '__O__Component', :path => './Components/__O__Component'
  pod '__P__Component', :path => './Components/__P__Component'
  pod '__S__Component', :path => './Components/__S__Component'

  # Vendor
  shared_dependencies
end

# Pods for UI Tests
target '__redacted__Host' do
    # Core
    pod '__redacted__Keyboard', :path => './Components/__redacted__Keyboard'
    pod 'ClientCore', :path => './Components/ClientCore'
    pod 'ComponentCore', :path => './Components/ComponentCore'

    # Components
    pod '__I__Component', :path => './Components/__I__Component'
    pod '__E__Component', :path => './Components/__E__Component'
    pod '__O__Component', :path => './Components/__O__Component'
    pod '__S__Component', :path => './Components/__S__Component'
    pod '__R__Component', :path => './Components/__R__Component'
    pod '__L__Component', :path => './Components/__L__Component'

    # EarlGrey
    pod 'EarlGreyApp', :path => 'EarlGreyApp'

    # Vendor
    shared_dependencies
end

target '__redacted__HostUITests' do
    # EarlGrey
    pod 'EarlGreyTest', :path => 'EarlGreyTest'

    # Component accessibility
    pod '__I__Component', :path => './Components/__I__Component'
    pod '__E__Component', :path => './Components/__E__Component'
    pod 'ClientCore', :path => './Components/ClientCore'
    pod '__L__Component', :path => './Components/__L__Component'

    # Vendor
    pod 'Embassy'
    pod 'Stencil'
end

target '__redacted__Tech' do
  # Pods for __redacted__Tech

  components
  shared_dependencies

  target :__redacted__TechTests do
    inherit! :search_paths
    test_dependencies
    pod '__S__Component/Accessibility', :path => './Components/__S__Component'
    pod '__O__Component/Accessibility', :path => './Components/__O__Component'
    pod '__G__Component/Accessibility', :path => './Components/__G__Component'
    pod '__I__Component/Accessibility', :path => './Components/__I__Component'
    pod '__Q__Component/Accessibility', :path => './Components/__Q__Component'
    pod 'EarlGrey', :git => '__redacted__/ios-pod-earlgrey.git', :branch => 'precise-swipe'
    pod 'QuizTrain', :git => '__redacted__/ios-pod-quiztrain.git'
    # Pods for testing
  end
end

def component_dependencies
  common_components
  shared_dependencies
  test_dependencies
end

target 'AllTests' do
    components
    component_dependencies
end

[
  "__A__Component",
  "__B__Component",
  "__redacted__DocumentViewer",
  "__redacted__Network",
  "__redacted__UI",
  "__redacted__Utility",
  "__redacted__dataCore",
  "__C__Component",
  "ClientCore",
  "ComponentCore",
  "__D__Component",
  "__E__Component",
  "__F__Component",
  "__G__Component",
  "__H__Component",
  "__I__Component",
  "__J__Component",
  "__K__Component",
  "__L__Component",
  "__N__Component",
  "__O__Component",
  "__P__Component",
  "__Q__Component",
  "__R__Component",
  "__S__Component",
  "__T__Component"
].each do |component|
    target "#{component}Tests" do
      pod "#{component}", :path => "./Components/#{component}"
      component_dependencies
    end
  end

target '__redacted__CoreServiceLayerTests' do
  test_dependencies
end

target "__M__ComponentTests" do
  pod "__M__Component/SeatMap", :path => "Components/__M__Component"
  test_dependencies
end

target "__U__ComponentTests" do
  pod "__U__Component", :path => "./Components/__U__Component"
  pod "__U__Component/CabinView", :path => "./Components/__U__Component"
  pod "__U__Component/EFBView", :path => "./Components/__U__Component"
  test_dependencies
end

# Post install
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['ARCHS'] = '$(ARCHS_STANDARD_64_BIT)'
      config.build_settings['ENABLE_BITCODE'] = 'NO'
      config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Osize'
      if !(['__redacted__Keyboard', 'SBTUITestTunnelCommon'].include? target.name)
        config.build_settings['SWIFT_INSTALL_OBJC_HEADER'] = 'NO'
      end
      if config.name == 'Debug'
        config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Onone'
        config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf'
      end
    end
  end

end

# Post integrate
post_integrate do |installer|
  scheme = Xcodeproj::XCScheme.new("__redacted__.xcodeproj/xcshareddata/xcschemes/__redacted__.xcscheme")
  scheme.launch_action.xml_element.attributes['enableGPUValidationMode'] = "1"
  scheme.save!
end
pavshr commented 3 years ago

Confirming the issue, I get this error also on a relatevly small Podfile.

nghuiqin commented 3 years ago

@pavshr could u share your smaller Podfile information? I've same issue but trying to reproduce it with smaller Podfile.

jgongo commented 3 years ago

Sorry for the late reply. @pavshr if you are kind enough to share your small Podfile I can try to diagnose the issue. Can you, please? @nghuiqin same to you, if you manage to reproduce it with a relatively small Podfile, can you please share it?

nghuiqin commented 3 years ago

@jgongo I found out if I install RxSwift this issue will be reproduced!

as same as @jonathanp-avio project does have RxSwift installed.

platform :tvos, '11.0'
inhibit_all_warnings!

target 'Testing' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Private Pods
  pod 'AppCenter/Crashes'
  pod 'AppCenter/Analytics'
  pod 'FBSDKCoreKit'
  pod 'RxSwift'
end
jgongo commented 3 years ago

Thanks a lot, @nghuiqin ! I'll take a look and report back as soon as possible.

jgongo commented 3 years ago

@jonathanp-avio @pavshr @nghuiqin This has been solved in master. The description of the RxSwift pod seemed to contain a null byte character, which is perfectly legal, but seems to be forbidden in an XML string. The description is now always enclosed in a CDATA section, so these problems are avoided, and we also avoid problems would the description contain any markup-like string.