sentry-react-native: [Build-Fail][iOS][Help] Debug symbol upload failed

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

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

v9.11.1
6.1.0
Quanto@1.0.0-alpha.3 /Users/heitor/QuantoProjects/tiQ
├── bignumber.js@7.2.1
├── debounce@1.1.0
├── global@4.3.2
├── graphql@0.13.2
├── hoist-non-react-statics@2.5.0
├── js-base64@2.4.5
├── js-sha3@0.7.0
├── jssha@2.3.1
├── moment@2.22.2
├── numeral@2.0.6
├── prop-types@15.6.0
├── quanto-commons@1.0.26
├── ramda@0.25.0
├── react@16.3.1
├── UNMET PEER DEPENDENCY react-native@0.55.4
├── react-native-action-button@2.8.4
├── react-native-aes-crypto@1.2.0 invalid
├── react-native-camera@1.0.1 invalid
├── react-native-collapsible@0.9.0
├── react-native-config@0.11.5
├── react-native-device-info@0.15.3
├── react-native-document-picker@3.0.0 invalid
├── react-native-egg@1.0.1
├── react-native-fabric@0.5.1
├── react-native-fcm@14.2.1
├── react-native-fetch-blob@0.10.8
├── react-native-fs@2.9.12
├── react-native-image-picker@0.26.10
├── react-native-image-resizer@1.0.0
├── react-native-interactable@0.1.10
├── react-native-keyboard-accessory@0.0.10
├── react-native-keyboard-aware-scroll-view@0.5.0
├── react-native-keyboard-spacer@0.4.1
├── react-native-keychain@1.2.1
├── react-native-lazy-toast@0.0.2 invalid
├── react-native-material-textfield@0.12.0
├── react-native-mimetype@0.0.7
├── react-native-openpgp@1.0.3 invalid
├── react-native-passcode-auth@1.0.0 invalid
├── react-native-pdf@2.0.7
├── react-native-pgp@0.0.4 invalid
├── UNMET DEPENDENCY react-native-search-list@git+https://github.com/heitorpr/react-native-search-list.git
├── react-native-sentry@0.37.1
├── react-native-touch-id@4.0.1
├── react-native-uuid@1.4.9
├── react-native-vector-icons@4.6.0
├── react-native-video@2.1.1
├── react-navigation@2.2.0
├── react-navigation-redux-helpers@1.1.2
├── react-redux@5.0.7
├── react-relay@1.6.0
├── redux@3.7.2
├── redux-actions@2.4.0
├── redux-logger@3.0.6
├── redux-mock-store@1.5.1
├── redux-persist@4.10.2
└── utf8@3.0.0

npm ERR! peer dep missing: react-native@^0.51.0, required by react-native-fs@2.9.12
npm ERR! missing: react-native-search-list@git+https://github.com/heitorpr/react-native-search-list.git, required by Quanto@1.0.0-alpha.3
npm ERR! invalid: react-native-aes-crypto@1.2.0 /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-aes-crypto
npm ERR! invalid: react-native-camera@1.0.1 /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-camera
npm ERR! extraneous: prop-types@15.6.1 /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-camera/node_modules/prop-types
npm ERR! invalid: react-native-document-picker@3.0.0 /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-document-picker
npm ERR! invalid: react-native-lazy-toast@0.0.2 /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-lazy-toast
npm ERR! extraneous: prop-types@15.6.1 /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-lazy-toast/node_modules/prop-types
npm ERR! invalid: react-native-openpgp@1.0.3 /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-openpgp
npm ERR! extraneous: asmcrypto-lite@1.1.0 /Users/heitor/QuantoProjects/tiQ/node_modules/asmcrypto-lite
npm ERR! extraneous: buffer@4.9.1 /Users/heitor/QuantoProjects/tiQ/node_modules/buffer
npm ERR! extraneous: node-localstorage@1.1.2 /Users/heitor/QuantoProjects/tiQ/node_modules/node-localstorage
npm ERR! extraneous: es6-promise@3.1.2 /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-openpgp/node_modules/es6-promise
npm ERR! extraneous: rusha@0.8.13 /Users/heitor/QuantoProjects/tiQ/node_modules/rusha
npm ERR! invalid: react-native-passcode-auth@1.0.0 /Users/heitor/QuantoProjects/tiQ/node_modules/react-native-passcode-auth
npm ERR! invalid: react-native-pgp@0.0.4 /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

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 4
  • Comments: 17 (8 by maintainers)

Most upvoted comments

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.

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 jan.auer@sentry.io? Thanks!

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

Same here