Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build-Fail][iOS][Help] Debug symbol upload failed #420

Closed
2 of 5 tasks
heitorpr opened this issue Jun 7, 2018 · 17 comments
Closed
2 of 5 tasks

[Build-Fail][iOS][Help] Debug symbol upload failed #420

heitorpr opened this issue Jun 7, 2018 · 17 comments
Assignees

Comments

@heitorpr
Copy link

heitorpr commented Jun 7, 2018

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

Output of node -v && npm -v && npm ls --prod --depth=0

v9.11.1
6.1.0
[email protected] /Users/heitor/QuantoProjects/tiQ
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── UNMET PEER DEPENDENCY [email protected]
├── [email protected]
├── [email protected] invalid
├── [email protected] invalid
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] invalid
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] invalid
├── [email protected]
├── [email protected]
├── [email protected] invalid
├── [email protected] invalid
├── [email protected]
├── [email protected] invalid
├── UNMET DEPENDENCY react-native-search-list@git+https://github.com/heitorpr/react-native-search-list.git
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

npm ERR! peer dep missing: react-native@^0.51.0, required by [email protected]
npm ERR! missing: react-native-search-list@git+https://github.com/heitorpr/react-native-search-list.git, required by [email protected]
npm ERR! invalid: [email protected] /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-aes-crypto
npm ERR! invalid: [email protected] /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-camera
npm ERR! extraneous: [email protected] /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-camera/node_modules/prop-types
npm ERR! invalid: [email protected] /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-document-picker
npm ERR! invalid: [email protected] /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-lazy-toast
npm ERR! extraneous: [email protected] /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-lazy-toast/node_modules/prop-types
npm ERR! invalid: [email protected] /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-openpgp
npm ERR! extraneous: [email protected] /Users/heitor/QuantoProjects/tiQ/node_modules/asmcrypto-lite
npm ERR! extraneous: [email protected] /Users/heitor/QuantoProjects/tiQ/node_modules/buffer
npm ERR! extraneous: [email protected] /Users/heitor/QuantoProjects/tiQ/node_modules/node-localstorage
npm ERR! extraneous: [email protected] /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-openpgp/node_modules/es6-promise
npm ERR! extraneous: [email protected] /Users/heitor/QuantoProjects/tiQ/node_modules/rusha
npm ERR! invalid: [email protected] /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-passcode-auth
npm ERR! invalid: [email protected] /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-pgp

I have following issue:

Problem building ios: error: Invalid Zip archive: Could not find central directory end. I get this warning:

Debug symbol upload failed

The Sentry build step failed while running in the background. You can ignore this error or view details to attempt to resolve it. Ignoring it might cause your crashes not to be handled properly.

When I click in show details with (output of sentry-cli --log-level=debug upload-dsym)

[INFO] sentry_cli::api request GET https://sentry.io/api/0/organizations/quanto/chunk-upload/
[INFO] sentry_cli::api using token authentication
[INFO] sentry_cli::api > GET /api/0/organizations/quanto/chunk-upload/ HTTP/1.1
[INFO] sentry_cli::api > Host: sentry.io
[INFO] sentry_cli::api > Accept: */*
[INFO] sentry_cli::api > Connection: TE
[INFO] sentry_cli::api > TE: gzip
[INFO] sentry_cli::api > User-Agent: sentry-cli/1.32.2
[INFO] sentry_cli::api > Authorization: Bearer d67505b7***
[INFO] sentry_cli::api < HTTP/1.1 200 OK
[INFO] sentry_cli::api < Server: nginx
[INFO] sentry_cli::api < Date: Thu, 07 Jun 2018 14:24:22 GMT
[INFO] sentry_cli::api < Content-Type: application/json
[INFO] sentry_cli::api < Content-Length: 211
[INFO] sentry_cli::api < Connection: keep-alive
[INFO] sentry_cli::api < X-XSS-Protection: 1; mode=block
[INFO] sentry_cli::api < Content-Language: en
[INFO] sentry_cli::api < X-Content-Type-Options: nosniff
[INFO] sentry_cli::api < Vary: Accept-Language, Cookie
[INFO] sentry_cli::api < Allow: GET, POST, HEAD, OPTIONS
[INFO] sentry_cli::api < X-Frame-Options: deny
[INFO] sentry_cli::api < X-Served-By: web-17b74f97
[INFO] sentry_cli::api < Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
[INFO] sentry_cli::api response: 200
[INFO] sentry_cli::api body: {"hashAlgorithm": "sha1", "chunkSize": 1048576, "url": "https://sentry.io/api/0/organizations/quanto/chunk-upload/", "maxRequestSize": 33554432, "concurrency": 4, "chunksPerRequest": 64, "compression": ["gzip"]}
[DEBUG] sentry_cli::utils::dif_upload trying to parse dif Quanto-develop.app/Quanto-develop
[DEBUG] goblin::mach Ctx: Ctx { container: Big, le: Little }
[DEBUG] goblin::mach Mach-o header: 0xfeedfacf 16777223 0x3 EXECUTE 53 6384 0x218085 0x0
[DEBUG] goblin::mach 0 - LoadCommand { offset: 32, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 80, 65, 71, 69, 90, 69, 82, 79, 0, 0, 0, 0, 0, 0], vmaddr: 0, vmsize: 4294967296, fileoff: 0, filesize: 0, maxprot: 0, initprot: 0, nsects: 0, flags: 0 }) }
[DEBUG] goblin::mach 1 - LoadCommand { offset: 104, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 1112, segname: [95, 95, 84, 69, 88, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 6619136, fileoff: 0, filesize: 6619136, maxprot: 7, initprot: 5, nsects: 13, flags: 0 }) }
[DEBUG] goblin::mach 2 - LoadCommand { offset: 1216, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 1832, segname: [95, 95, 68, 65, 84, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4301586432, vmsize: 1351680, fileoff: 6619136, filesize: 1257472, maxprot: 7, initprot: 3, nsects: 22, flags: 0 }) }
[DEBUG] goblin::mach 3 - LoadCommand { offset: 3048, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 76, 73, 78, 75, 69, 68, 73, 84, 0, 0, 0, 0, 0, 0], vmaddr: 4302938112, vmsize: 5033984, fileoff: 7876608, filesize: 5032672, maxprot: 7, initprot: 1, nsects: 0, flags: 0 }) }
[DEBUG] goblin::mach 4 - LoadCommand { offset: 3120, command: DyldInfoOnly(DyldInfoCommand { cmd: 2147483682, cmdsize: 48, rebase_off: 7876608, rebase_size: 37312, bind_off: 7913920, bind_size: 27552, weak_bind_off: 7941472, weak_bind_size: 225880, lazy_bind_off: 8167352, lazy_bind_size: 21240, export_off: 8188592, export_size: 286688 }) }
[DEBUG] goblin::mach 5 - LoadCommand { offset: 3168, command: Symtab(SymtabCommand { cmd: 2, cmdsize: 24, symoff: 8507640, nsyms: 96164, stroff: 10066908, strsize: 2670840 }) }
[DEBUG] goblin::mach 6 - LoadCommand { offset: 3192, command: Dysymtab(DysymtabCommand { cmd: 11, cmdsize: 80, ilocalsym: 0, nlocalsym: 88663, iextdefsym: 88663, nextdefsym: 6128, iundefsym: 94791, nundefsym: 1373, tocoff: 0, ntoc: 0, modtaboff: 0, nmodtab: 0, extrefsymoff: 0, nextrefsyms: 0, indirectsymoff: 10046264, nindirectsyms: 5161, extreloff: 0, nextrel: 0, locreloff: 0, nlocrel: 0 }) }
[DEBUG] goblin::mach 7 - LoadCommand { offset: 3272, command: LoadDylinker(DylinkerCommand { cmd: 14, cmdsize: 32, name: 12 }) }
[DEBUG] goblin::mach 8 - LoadCommand { offset: 3304, command: Uuid(UuidCommand { cmd: 27, cmdsize: 24, uuid: [204, 172, 42, 191, 212, 28, 62, 39, 165, 211, 192, 200, 204, 145, 200, 55] }) }
[DEBUG] goblin::mach 9 - LoadCommand { offset: 3328, command: VersionMinIphoneos(VersionMinCommand { cmd: 37, cmdsize: 16, version: 524288, sdk: 721920 }) }
[DEBUG] goblin::mach 10 - LoadCommand { offset: 3344, command: SourceVersion(SourceVersionCommand { cmd: 42, cmdsize: 16, version: 0 }) }
[DEBUG] goblin::mach 11 - LoadCommand { offset: 3360, command: Main(EntryPointCommand { cmd: 2147483688, cmdsize: 24, entryoff: 13904, stacksize: 0 }) }
[DEBUG] goblin::mach 12 - LoadCommand { offset: 3384, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 56, dylib: Dylib { name: 24, timestamp: 2, current_version: 65541, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 13 - LoadCommand { offset: 3440, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 48, dylib: Dylib { name: 24, timestamp: 2, current_version: 66059, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 14 - LoadCommand { offset: 3488, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 72, dylib: Dylib { name: 24, timestamp: 2, current_version: 65536, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 15 - LoadCommand { offset: 3560, command: LoadWeakDylib(DylibCommand { cmd: 2147483672, cmdsize: 80, dylib: Dylib { name: 24, timestamp: 2, current_version: 3819846684, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 16 - LoadCommand { offset: 3640, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 48, dylib: Dylib { name: 24, timestamp: 2, current_version: 26216705, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 17 - LoadCommand { offset: 3688, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 88, dylib: Dylib { name: 24, timestamp: 2, current_version: 65536, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 18 - LoadCommand { offset: 3776, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 88, dylib: Dylib { name: 24, timestamp: 2, current_version: 95164160, compatibility_version: 19660800 } }) }
[DEBUG] goblin::mach 19 - LoadCommand { offset: 3864, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 56, dylib: Dylib { name: 24, timestamp: 2, current_version: 14942208, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 20 - LoadCommand { offset: 3920, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 56, dylib: Dylib { name: 24, timestamp: 2, current_version: 82063876, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 21 - LoadCommand { offset: 3976, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 88, dylib: Dylib { name: 24, timestamp: 2, current_version: 131072, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 22 - LoadCommand { offset: 4064, command: LoadWeakDylib(DylibCommand { cmd: 2147483672, cmdsize: 80, dylib: Dylib { name: 24, timestamp: 2, current_version: 65536, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 23 - LoadCommand { offset: 4144, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 88, dylib: Dylib { name: 24, timestamp: 2, current_version: 262144, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 24 - LoadCommand { offset: 4232, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 96, dylib: Dylib { name: 24, timestamp: 2, current_version: 65536, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 25 - LoadCommand { offset: 4328, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 88, dylib: Dylib { name: 24, timestamp: 2, current_version: 32243712, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 26 - LoadCommand { offset: 4416, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 88, dylib: Dylib { name: 24, timestamp: 2, current_version: 59048192, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 27 - LoadCommand { offset: 4504, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 96, dylib: Dylib { name: 24, timestamp: 2, current_version: 95164160, compatibility_version: 9830400 } }) }
[DEBUG] goblin::mach 28 - LoadCommand { offset: 4600, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 88, dylib: Dylib { name: 24, timestamp: 2, current_version: 76092672, compatibility_version: 4194304 } }) }
[DEBUG] goblin::mach 29 - LoadCommand { offset: 4688, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 88, dylib: Dylib { name: 24, timestamp: 2, current_version: 147128361, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 30 - LoadCommand { offset: 4776, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 88, dylib: Dylib { name: 24, timestamp: 2, current_version: 65536, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 31 - LoadCommand { offset: 4864, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 88, dylib: Dylib { name: 24, timestamp: 2, current_version: 147128361, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 32 - LoadCommand { offset: 4952, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 96, dylib: Dylib { name: 24, timestamp: 2, current_version: 0, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 33 - LoadCommand { offset: 5048, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 80, dylib: Dylib { name: 24, timestamp: 2, current_version: 65536, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 34 - LoadCommand { offset: 5128, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 80, dylib: Dylib { name: 24, timestamp: 2, current_version: 0, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 35 - LoadCommand { offset: 5208, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 96, dylib: Dylib { name: 24, timestamp: 2, current_version: 39649800, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 36 - LoadCommand { offset: 5304, command: LoadWeakDylib(DylibCommand { cmd: 2147483672, cmdsize: 104, dylib: Dylib { name: 24, timestamp: 2, current_version: 27868162, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 37 - LoadCommand { offset: 5408, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 88, dylib: Dylib { name: 24, timestamp: 2, current_version: 225773571, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 38 - LoadCommand { offset: 5496, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 104, dylib: Dylib { name: 24, timestamp: 2, current_version: 53878016, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 39 - LoadCommand { offset: 5600, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 80, dylib: Dylib { name: 24, timestamp: 2, current_version: 65536, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 40 - LoadCommand { offset: 5680, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 88, dylib: Dylib { name: 24, timestamp: 2, current_version: 68352, compatibility_version: 66048 } }) }
[DEBUG] goblin::mach 41 - LoadCommand { offset: 5768, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 80, dylib: Dylib { name: 24, timestamp: 2, current_version: 65536, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 42 - LoadCommand { offset: 5848, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 104, dylib: Dylib { name: 24, timestamp: 2, current_version: 63123976, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 43 - LoadCommand { offset: 5952, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 80, dylib: Dylib { name: 24, timestamp: 2, current_version: 242365956, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 44 - LoadCommand { offset: 6032, command: LoadWeakDylib(DylibCommand { cmd: 2147483672, cmdsize: 104, dylib: Dylib { name: 24, timestamp: 2, current_version: 65536, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 45 - LoadCommand { offset: 6136, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 56, dylib: Dylib { name: 24, timestamp: 2, current_version: 26216450, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 46 - LoadCommand { offset: 6192, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 56, dylib: Dylib { name: 24, timestamp: 2, current_version: 17958913, compatibility_version: 589824 } }) }
[DEBUG] goblin::mach 47 - LoadCommand { offset: 6248, command: Rpath(RpathCommand { cmd: 2147483676, cmdsize: 40, path: 12 }) }
[DEBUG] goblin::mach 48 - LoadCommand { offset: 6288, command: Rpath(RpathCommand { cmd: 2147483676, cmdsize: 40, path: 12 }) }
[DEBUG] goblin::mach 49 - LoadCommand { offset: 6328, command: Rpath(RpathCommand { cmd: 2147483676, cmdsize: 40, path: 12 }) }
[DEBUG] goblin::mach 50 - LoadCommand { offset: 6368, command: FunctionStarts(LinkeditDataCommand { cmd: 38, cmdsize: 16, dataoff: 8475280, datasize: 31120 }) }
[DEBUG] goblin::mach 51 - LoadCommand { offset: 6384, command: DataInCode(LinkeditDataCommand { cmd: 41, cmdsize: 16, dataoff: 8506400, datasize: 1240 }) }
[DEBUG] goblin::mach 52 - LoadCommand { offset: 6400, command: CodeSignature(LinkeditDataCommand { cmd: 29, cmdsize: 16, dataoff: 12737760, datasize: 171520 }) }
[DEBUG] sentry_cli::utils::dif_upload trying to parse dif Quanto-develop.app/Frameworks/ObjectivePGP.framework/ObjectivePGP
[DEBUG] goblin::mach Ctx: Ctx { container: Big, le: Little }
[DEBUG] goblin::mach Mach-o header: 0xfeedfacf 16777223 0x3 DYLIB 22 3584 0x2100085 0x0
[DEBUG] goblin::mach 0 - LoadCommand { offset: 32, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 872, segname: [95, 95, 84, 69, 88, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 0, vmsize: 1392640, fileoff: 0, filesize: 1392640, maxprot: 7, initprot: 5, nsects: 10, flags: 0 }) }
[DEBUG] goblin::mach 1 - LoadCommand { offset: 904, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 1752, segname: [95, 95, 68, 65, 84, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 1392640, vmsize: 196608, fileoff: 1392640, filesize: 184320, maxprot: 7, initprot: 3, nsects: 21, flags: 0 }) }
[DEBUG] goblin::mach 2 - LoadCommand { offset: 2656, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 76, 73, 78, 75, 69, 68, 73, 84, 0, 0, 0, 0, 0, 0], vmaddr: 1589248, vmsize: 69632, fileoff: 1576960, filesize: 65680, maxprot: 7, initprot: 1, nsects: 0, flags: 0 }) }
[DEBUG] goblin::mach 3 - LoadCommand { offset: 2728, command: IdDylib(DylibCommand { cmd: 13, cmdsize: 72, dylib: Dylib { name: 24, timestamp: 1, current_version: 65536, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 4 - LoadCommand { offset: 2800, command: DyldInfoOnly(DyldInfoCommand { cmd: 2147483682, cmdsize: 48, rebase_off: 1576960, rebase_size: 8056, bind_off: 1585016, bind_size: 1880, weak_bind_off: 0, weak_bind_size: 0, lazy_bind_off: 1586896, lazy_bind_size: 3496, export_off: 1590392, export_size: 2232 }) }
[DEBUG] goblin::mach 5 - LoadCommand { offset: 2848, command: Symtab(SymtabCommand { cmd: 2, cmdsize: 24, symoff: 1599376, nsyms: 322, stroff: 1605988, strsize: 6696 }) }
[DEBUG] goblin::mach 6 - LoadCommand { offset: 2872, command: Dysymtab(DysymtabCommand { cmd: 11, cmdsize: 80, ilocalsym: 0, nlocalsym: 1, iextdefsym: 1, nextdefsym: 107, iundefsym: 108, nundefsym: 214, tocoff: 0, ntoc: 0, modtaboff: 0, nmodtab: 0, extrefsymoff: 0, nextrefsyms: 0, indirectsymoff: 1604528, nindirectsyms: 365, extreloff: 0, nextrel: 0, locreloff: 0, nlocrel: 0 }) }
[DEBUG] goblin::mach 7 - LoadCommand { offset: 2952, command: Uuid(UuidCommand { cmd: 27, cmdsize: 24, uuid: [224, 155, 239, 15, 181, 131, 55, 199, 181, 153, 16, 203, 18, 9, 205, 205] }) }
[DEBUG] goblin::mach 8 - LoadCommand { offset: 2976, command: VersionMinIphoneos(VersionMinCommand { cmd: 37, cmdsize: 16, version: 524288, sdk: 720896 }) }
[DEBUG] goblin::mach 9 - LoadCommand { offset: 2992, command: SourceVersion(SourceVersionCommand { cmd: 42, cmdsize: 16, version: 0 }) }
[DEBUG] goblin::mach 10 - LoadCommand { offset: 3008, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 56, dylib: Dylib { name: 24, timestamp: 2, current_version: 65541, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 11 - LoadCommand { offset: 3064, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 48, dylib: Dylib { name: 24, timestamp: 2, current_version: 66059, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 12 - LoadCommand { offset: 3112, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 88, dylib: Dylib { name: 24, timestamp: 2, current_version: 94637056, compatibility_version: 19660800 } }) }
[DEBUG] goblin::mach 13 - LoadCommand { offset: 3200, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 56, dylib: Dylib { name: 24, timestamp: 2, current_version: 14942208, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 14 - LoadCommand { offset: 3256, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 56, dylib: Dylib { name: 24, timestamp: 2, current_version: 82051072, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 15 - LoadCommand { offset: 3312, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 96, dylib: Dylib { name: 24, timestamp: 2, current_version: 94568448, compatibility_version: 9830400 } }) }
[DEBUG] goblin::mach 16 - LoadCommand { offset: 3408, command: LoadDylib(DylibCommand { cmd: 12, cmdsize: 80, dylib: Dylib { name: 24, timestamp: 2, current_version: 0, compatibility_version: 65536 } }) }
[DEBUG] goblin::mach 17 - LoadCommand { offset: 3488, command: Rpath(RpathCommand { cmd: 2147483676, cmdsize: 40, path: 12 }) }
[DEBUG] goblin::mach 18 - LoadCommand { offset: 3528, command: Rpath(RpathCommand { cmd: 2147483676, cmdsize: 40, path: 12 }) }
[DEBUG] goblin::mach 19 - LoadCommand { offset: 3568, command: FunctionStarts(LinkeditDataCommand { cmd: 38, cmdsize: 16, dataoff: 1592624, datasize: 6000 }) }
[DEBUG] goblin::mach 20 - LoadCommand { offset: 3584, command: DataInCode(LinkeditDataCommand { cmd: 41, cmdsize: 16, dataoff: 1598624, datasize: 752 }) }
[DEBUG] goblin::mach 21 - LoadCommand { offset: 3600, command: CodeSignature(LinkeditDataCommand { cmd: 29, cmdsize: 16, dataoff: 1612688, datasize: 29952 }) }
[DEBUG] sentry_cli::utils::dif_upload trying to parse dif ObjectivePGP.framework.dSYM/Contents/Resources/DWARF/ObjectivePGP
[DEBUG] goblin::mach Ctx: Ctx { container: Little, le: Little }
[DEBUG] goblin::mach Mach-o header: 0xfeedface 12 0x9 DSYM 6 3060 0x0 0x0
[DEBUG] goblin::mach 0 - LoadCommand { offset: 28, command: Uuid(UuidCommand { cmd: 27, cmdsize: 24, uuid: [238, 16, 80, 178, 158, 66, 62, 17, 160, 62, 66, 145, 73, 89, 210, 73] }) }
[DEBUG] goblin::mach 1 - LoadCommand { offset: 52, command: Symtab(SymtabCommand { cmd: 2, cmdsize: 24, symoff: 4096, nsyms: 1613, stroff: 23452, strsize: 48923 }) }
[DEBUG] goblin::mach 2 - LoadCommand { offset: 76, command: Segment32(SegmentCommand32 { cmd: 1, cmdsize: 668, segname: [95, 95, 84, 69, 88, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 0, vmsize: 425984, fileoff: 0, filesize: 0, maxprot: 5, initprot: 5, nsects: 9, flags: 0 }) }
[DEBUG] goblin::mach 3 - LoadCommand { offset: 744, command: Segment32(SegmentCommand32 { cmd: 1, cmdsize: 1348, segname: [95, 95, 68, 65, 84, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 425984, vmsize: 81920, fileoff: 0, filesize: 0, maxprot: 3, initprot: 3, nsects: 19, flags: 0 }) }
[DEBUG] goblin::mach 4 - LoadCommand { offset: 2092, command: Segment32(SegmentCommand32 { cmd: 1, cmdsize: 56, segname: [95, 95, 76, 73, 78, 75, 69, 68, 73, 84, 0, 0, 0, 0, 0, 0], vmaddr: 507904, vmsize: 69632, fileoff: 4096, filesize: 68279, maxprot: 1, initprot: 1, nsects: 0, flags: 0 }) }
[DEBUG] goblin::mach 5 - LoadCommand { offset: 2148, command: Segment32(SegmentCommand32 { cmd: 1, cmdsize: 940, segname: [95, 95, 68, 87, 65, 82, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 577536, vmsize: 77824, fileoff: 73728, filesize: 77376, maxprot: 7, initprot: 3, nsects: 13, flags: 0 }) }
[DEBUG] goblin::mach Ctx: Ctx { container: Big, le: Little }
[DEBUG] goblin::mach Mach-o header: 0xfeedfacf 16777228 0x0 DSYM 6 3696 0x0 0x0
[DEBUG] goblin::mach 0 - LoadCommand { offset: 32, command: Uuid(UuidCommand { cmd: 27, cmdsize: 24, uuid: [237, 173, 106, 227, 55, 227, 60, 124, 145, 226, 130, 52, 71, 249, 18, 97] }) }
[DEBUG] goblin::mach 1 - LoadCommand { offset: 56, command: Symtab(SymtabCommand { cmd: 2, cmdsize: 24, symoff: 4096, nsyms: 1536, stroff: 28672, strsize: 46030 }) }
[DEBUG] goblin::mach 2 - LoadCommand { offset: 80, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 872, segname: [95, 95, 84, 69, 88, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 0, vmsize: 475136, fileoff: 0, filesize: 0, maxprot: 5, initprot: 5, nsects: 10, flags: 0 }) }
[DEBUG] goblin::mach 3 - LoadCommand { offset: 952, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 1592, segname: [95, 95, 68, 65, 84, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 475136, vmsize: 131072, fileoff: 0, filesize: 0, maxprot: 3, initprot: 3, nsects: 19, flags: 0 }) }
[DEBUG] goblin::mach 4 - LoadCommand { offset: 2544, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 76, 73, 78, 75, 69, 68, 73, 84, 0, 0, 0, 0, 0, 0], vmaddr: 606208, vmsize: 73728, fileoff: 4096, filesize: 70606, maxprot: 1, initprot: 1, nsects: 0, flags: 0 }) }
[DEBUG] goblin::mach 5 - LoadCommand { offset: 2616, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 1112, segname: [95, 95, 68, 87, 65, 82, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 679936, vmsize: 65536, fileoff: 77824, filesize: 63050, maxprot: 7, initprot: 3, nsects: 13, flags: 0 }) }
[DEBUG] sentry_cli::utils::dif_upload trying to parse dif Quanto.app.dSYM/Contents/Resources/DWARF/Quanto
[DEBUG] goblin::mach Ctx: Ctx { container: Big, le: Little }
[DEBUG] goblin::mach Mach-o header: 0xfeedfacf 16777223 0x3 DSYM 7 4248 0x0 0x0
[DEBUG] goblin::mach 0 - LoadCommand { offset: 32, command: Uuid(UuidCommand { cmd: 27, cmdsize: 24, uuid: [65, 214, 72, 202, 144, 210, 60, 103, 135, 223, 198, 197, 108, 19, 47, 150] }) }
[DEBUG] goblin::mach 1 - LoadCommand { offset: 56, command: Symtab(SymtabCommand { cmd: 2, cmdsize: 24, symoff: 8192, nsyms: 31618, stroff: 514080, strsize: 1403480 }) }
[DEBUG] goblin::mach 2 - LoadCommand { offset: 80, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 80, 65, 71, 69, 90, 69, 82, 79, 0, 0, 0, 0, 0, 0], vmaddr: 0, vmsize: 4294967296, fileoff: 0, filesize: 0, maxprot: 0, initprot: 0, nsects: 0, flags: 0 }) }
[DEBUG] goblin::mach 3 - LoadCommand { offset: 152, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 1112, segname: [95, 95, 84, 69, 88, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 6533120, fileoff: 0, filesize: 0, maxprot: 7, initprot: 5, nsects: 13, flags: 0 }) }
[DEBUG] goblin::mach 4 - LoadCommand { offset: 1264, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 1832, segname: [95, 95, 68, 65, 84, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4301500416, vmsize: 1335296, fileoff: 0, filesize: 0, maxprot: 7, initprot: 3, nsects: 22, flags: 0 }) }
[DEBUG] goblin::mach 5 - LoadCommand { offset: 3096, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 76, 73, 78, 75, 69, 68, 73, 84, 0, 0, 0, 0, 0, 0], vmaddr: 4302835712, vmsize: 1912832, fileoff: 8192, filesize: 1909368, maxprot: 7, initprot: 1, nsects: 0, flags: 0 }) }
[DEBUG] goblin::mach 6 - LoadCommand { offset: 3168, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 1112, segname: [95, 95, 68, 87, 65, 82, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4304748544, vmsize: 20836352, fileoff: 1921024, filesize: 20832820, maxprot: 7, initprot: 3, nsects: 13, flags: 0 }) }
[DEBUG] sentry_cli::utils::dif_upload trying to parse dif Quanto-develop.app.dSYM/Contents/Resources/DWARF/Quanto-develop
[DEBUG] goblin::mach Ctx: Ctx { container: Big, le: Little }
[DEBUG] goblin::mach Mach-o header: 0xfeedfacf 16777223 0x3 DSYM 7 4248 0x0 0x0
[DEBUG] goblin::mach 0 - LoadCommand { offset: 32, command: Uuid(UuidCommand { cmd: 27, cmdsize: 24, uuid: [204, 172, 42, 191, 212, 28, 62, 39, 165, 211, 192, 200, 204, 145, 200, 55] }) }
[DEBUG] goblin::mach 1 - LoadCommand { offset: 56, command: Symtab(SymtabCommand { cmd: 2, cmdsize: 24, symoff: 8192, nsyms: 31932, stroff: 519104, strsize: 1413828 }) }
[DEBUG] goblin::mach 2 - LoadCommand { offset: 80, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 80, 65, 71, 69, 90, 69, 82, 79, 0, 0, 0, 0, 0, 0], vmaddr: 0, vmsize: 4294967296, fileoff: 0, filesize: 0, maxprot: 0, initprot: 0, nsects: 0, flags: 0 }) }
[DEBUG] goblin::mach 3 - LoadCommand { offset: 152, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 1112, segname: [95, 95, 84, 69, 88, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 6619136, fileoff: 0, filesize: 0, maxprot: 7, initprot: 5, nsects: 13, flags: 0 }) }
[DEBUG] goblin::mach 4 - LoadCommand { offset: 1264, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 1832, segname: [95, 95, 68, 65, 84, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4301586432, vmsize: 1351680, fileoff: 0, filesize: 0, maxprot: 7, initprot: 3, nsects: 22, flags: 0 }) }
[DEBUG] goblin::mach 5 - LoadCommand { offset: 3096, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 76, 73, 78, 75, 69, 68, 73, 84, 0, 0, 0, 0, 0, 0], vmaddr: 4302938112, vmsize: 1925120, fileoff: 8192, filesize: 1924740, maxprot: 7, initprot: 1, nsects: 0, flags: 0 }) }
[DEBUG] goblin::mach 6 - LoadCommand { offset: 3168, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 1112, segname: [95, 95, 68, 87, 65, 82, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4304863232, vmsize: 20967424, fileoff: 1933312, filesize: 20967154, maxprot: 7, initprot: 3, nsects: 13, flags: 0 }) }
error: Invalid Zip archive: Could not find central directory end

Steps to reproduce:

  • Just try to build ios again

Actual result:

  • Warning with the error: could not find central directory end

Expected result:

  • Build successfully
@devladinci
Copy link

Same here

@HazAT
Copy link
Member

HazAT commented Jun 11, 2018

Thanks for this detailed and helpful bug report, we are looking into this.

@HazAT
Copy link
Member

HazAT commented Jun 11, 2018

As a workaround, can you check if you may have any zip files lying around (from the project root) that may not belong here and run again?
Also if it's not sensitive can you send it to [email protected] so we can debug what's going on?!

@heitorpr
Copy link
Author

@HazAT i will check!thx for your feedback!

@kyryloz
Copy link

kyryloz commented Jun 11, 2018

Have the same issue. Sometimes it fails to upload when I run it like "react-native run-ios --configuration Release". At first time it's failed, I run it second time – it worked.

Now it fails constantly when I run build through "xcodebuild" tool on Jenkins. The same error as author mentioned.

@jan-auer
Copy link
Member

Without test files this will be kind of hard to debug. I assume that sentry-cli is not able to parse a ZIP archive located in the symbol folder. I've created getsentry/sentry-cli#320 to get more detailed logging and skip over such files.

Is anyone able to quickly patch their sentry-cli executable to test this with a development build? Please let me know which platform and architecture you need, so I can link you to an updated binary.

I hope that these errors were just produced by false positives (i.e. we tried to open a non-zip). If not, we'll have to figure out what's wrong with these files and why our ZIP library can't process them.

@kyryloz
Copy link

kyryloz commented Jun 11, 2018

I'm able to test this. Just point me out how to properly patch sentry-cli. macOS High Sierra.

@jan-auer
Copy link
Member

@kyryloz Thanks! Here's how you can test it:

  • download this binary
  • place it at node_modules/@sentry/cli/sentry-cli in your project (overwriting the existing binary)
  • run your build with the environment variable SENTRY_LOG_LEVEL=debug
  • the log will likely contain "skipping zip archive" -- I'd be interested in those sections of the log (approx +- 10 lines)

@mitsuhiko We should consider logging such errors to sentry. I'm split about this case in particular, though.

@kyryloz
Copy link

kyryloz commented Jun 11, 2018

It was a bit tricky since I needed to sudo chown -R $USER:$GROUP sentry-cli.
Here are the logs. I've replaced some project specific names. Hope, there are no any leaks. :)

https://gist.github.com/kyryloz/dd3e2be9ea216452e4572adb64a12b31

@jan-auer
Copy link
Member

jan-auer commented Jun 11, 2018

Alright, thanks a bunch! Seems like the ZIP is not important and we can release a fix with this tomorrow. According to that log, you should be able to use sentry-cli now.

Apart from that, I'm still curious why that ZIP cannot be read by sentry-cli. @kyryloz, mind sending it over to [email protected]? Thanks!

@kyryloz
Copy link

kyryloz commented Jun 12, 2018

Thanks a lot @jan-auer. Yeah, I'm able to use sentry until the next yarn I guess. So, I better disable upload symbols task for iOS build until the fix will be available. Or do it manually.

I don't mind to send the ZIP, but I didn't manage to find any ZIP in the directory after build is done.

@jan-auer
Copy link
Member

@kyryloz we'll run a patch release with this some time today.

After thinking about this, I assume that this ZIP file is still incomplete and XCode is writing to it at the moment we're trying to read it. So I'd say we just ignore it for now and come back to this if it occurs in a different context, too.

Thanks for sharing all the information and taking time to try out the nightly build. You're the best 🌟

@brycedbjork
Copy link

@jan-auer has this been fixed? I am facing the same error

@kyryloz
Copy link

kyryloz commented Jun 13, 2018

@jan-auer thank you, guys, for such a quick reaction. Waiting for the next version of sentry then.

@jan-auer
Copy link
Member

The fix has been released with version 1.32.3 moments ago. Sorry for the delay, we're currently making changes to our release pipeline.

If you still run into issues with ZIP files, let me know and we will reopen this.

@alexfoxy
Copy link

alexfoxy commented Jun 18, 2018

@jan-auer Can this be merged into a new release of this repo? Or how do I update the CLI myself?

@HazAT
Copy link
Member

HazAT commented Jun 18, 2018

@alexfoxy If you update your npm dependencies it should also update sentry-cli to the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants