Is it possible to generate an unsigned Xcode archive with Titanium?

We’ve build a Titanium application for a client, but the client wants to be able to sign the application themselves. To do this they requested an unsigned Xcode archive. We’re unable to generate a valid archive using Titanium.

We’ve tried running the xcodebuild command on Xcode project that’s generated by Titanium. Something like:

xcodebuild -workspace <projectName>.xcworkspace -scheme <projectName> -configuration Release clean archive -archivePath buildArchive/<projectName>.xcarchive CODE_SIGNING_ALLOWED=NO 

But that generates an invalid archive, so we suspect that Titanium is doing something extra to generate a valid archive.

We’ve also tried building the app for distribution and editing the generated archive manually. But we’re unable to fully remove the signing from the archive. The entitlements still exist with wrong id after removing the _codeSigning directory and embedded.mobileprovision profile.

Is it maybe possible to write a cli hook to add the CODE_SIGNING_ALLOWED=NO variable during the app build?

dpkg: error processing archive udev_237-3ubuntu10.23_amd64.deb (–install)

Ubuntu 18.04.2 LTS. After regular apt update/upgrade I have the following error:

apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies:  udev : Depends: libudev1 (= 237-3ubuntu10.22) but 237-3ubuntu10.23 is installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). 

I tried apt --fix-broken install:

Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required:   linux-headers-4.15.0-50 linux-headers-4.15.0-50-generic linux-image-4.15.0-50-generic linux-modules-4.15.0-50-generic linux-modules-extra-4.15.0-50-generic Use 'apt autoremove' to remove them. The following additional packages will be installed:   udev The following packages will be upgraded:   udev 1 upgraded, 0 newly installed, 0 to remove and 22 not upgraded. 6 not fully installed or removed. Need to get 0 B/1,102 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 169148 files and directories currently installed.) Preparing to unpack .../udev_237-3ubuntu10.23_amd64.deb ... Unpacking udev (237-3ubuntu10.23) over (237-3ubuntu10.22) ... dpkg: error processing archive /var/cache/apt/archives/udev_237-3ubuntu10.23_amd64.deb (--unpack):  unable to stat './etc/udev/hwdb.d' (which I was about to install): Bad message dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing:  /var/cache/apt/archives/udev_237-3ubuntu10.23_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 

As well as dpkg -i --force-overwrite udev_237-3ubuntu10.23_amd64.deb:

(Reading database ... 169148 files and directories currently installed.) Preparing to unpack udev_237-3ubuntu10.23_amd64.deb ... Unpacking udev (237-3ubuntu10.23) over (237-3ubuntu10.22) ... dpkg: error processing archive udev_237-3ubuntu10.23_amd64.deb (--install):  unable to stat './etc/udev/hwdb.d' (which I was about to install): Bad message dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Processing triggers for ureadahead (0.100.0-21) ... Errors were encountered while processing:  udev_237-3ubuntu10.23_amd64.deb 

Please help, how to solve it…

Archive source folder contents not the folder in azure build pipeline

i am using azure-pipelines to create a build of my react app and then to deploy it to azure app-service now when i build the app all the required contents go it “/build” folder which then i archive and publish to build artifacts with the corresponding tasks. but the issue is in the archive the structure is “/build/{required files}” but i need the structure as “/{required files}” is there any way to achieve it on azure-pipelines.

i have already looked in azure documentation there they show a variable named “includeRootFolder” but even in the link it does not have a description and in the Archive task i am not able to see any option which will set this variable to false.

The archive “Xcode_11_Beta.xip” can’t be expanded because the selected volume doesn’t have enough free space

I’m downloading the new Xcode 11 Beta.

After the file is downloaded when I double click to open it I get this error

The archive "Xcode_11_Beta.xip" can't be expanded because the selected volume doesn't have enough free space 

The Xcode 11 Beta takes up 7.66 GB and I have 18.27 GB available on my disk. I’ve tried downloading it twice and get this same issue. I am running macOS Mojave 10.14.5 on a MacBook Air (13-inch, Early 2015).

Updating a single file in a CPIO archive

I have a CPIO archive with the Linux image on it. With binwalk I can see that there are the following chunks:

DECIMAL       HEXADECIMAL     DESCRIPTION -------------------------------------------------------------------------------- 0             0x0             ASCII cpio archive (SVR4 with no CRC), file name: "kernel", file name length: "0x00000007", file size: "0x00000000" 120           0x78            ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86", file name length: "0x0000000B", file size: "0x00000000" 244           0xF4            ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode", file name length: "0x00000015", file size: "0x00000000" 376           0x178           ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode/.enuineIntel.align.0123456789abc", file name length: "0x00000036", file size: "0x00000000" 540           0x21C           ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode/GenuineIntel.bin", file name length: "0x00000026", file size: "0x001A3800" 1718960       0x1A3AB0        ASCII cpio archive (SVR4 with no CRC), file name: "TRAILER!!!", file name length: "0x0000000B", file size: "0x00000000" 1719296       0x1A3C00        gzip compressed data, NULL date (1970-01-01 00:00:00) 32277012      0x1EC8214       Zlib compressed data, default compression 70217888      0x42F70A0       Unix path: /usr/local/go/src/runtime/runtime-gdb.py 85577309      0x519CE5D       MySQL MISAM compressed data file Version 3 96044561      0x5B98611       Unix path: /usr/local/go/src/runtime/runtime-gdb.py 100702073     0x6009779       Zlib compressed data, default compression 106454594     0x6585E42       MySQL MISAM compressed data file Version 7 110250207     0x69248DF       Unix path: /usr/local/go/src/runtime/runtime-gdb.py 115809787     0x6E71DFB       Unix path: /usr/local/go/src/runtime/runtime-gdb.py 

I need to extract the the gzipped one:

1719296       0x1A3C00        gzip compressed data, NULL date (1970-01-01 00:00:00) 

and replace a single binary file within it, then repack the image.

That gzipped content is another CPIO image.

What is the best/easiest way of doing that?

“Prefix found” error while extracting RAR file with Archive Manager

I have a RAR archive file, and I get this “Prefix found” error message when I try to extract its contents using the built-in Archive Manager (file-roller 3.28.0) in Ubuntu 18.04:

An error occurred while extracting files. Prefix found

I would assume that if it can read the archive’s file list, then it could also extract the files. I was able to extract the file using the unrar command in the terminal, but I would still like to know what’s wrong with Archive Manager, and if there’s a way to fix it so that it can extract RAR files.