[Solved] Error while signing Unsigned iOS App

Hello,

I am getting the following error when I am trying to sign unsigned app.

iOS Version: 2.8.0
Original file: ‘Mattermost-unsigned.ipa’
Certificate: ‘Apple Distribution: XX XX’
Specified display name: ‘XXXX’
Output file name: ‘XXXX.ipa’
Removing previous temporary directory: ‘_floatsignTemp’
ls: _floatsignTemp/Payload/: No such file or directory
find: _floatsignTemp/Payload/: No such file or directory
Expected file does not exist: ‘_floatsignTemp/Payload//Info.plist’

Hi AD,

Welcome back to the forums!

The error message suggests that the expected file, _floatsignTemp/Payload/Info.plist, does not exist. This could be due to various reasons, such as an issue with the file structure or an error during the signing process.

To troubleshoot this issue, I recommend the following steps:

  1. Make sure that the original file, Mattermost-unsigned.ipa, is in the correct location and accessible to the signing process.
  2. Verify that the certificate, Apple Distribution: XX XX, is valid and properly configured for signing iOS apps. Double-check that the correct certificate is selected during the signing process.
  3. Ensure that the specified display name, XXXX, is correct and matches the app’s configuration.
  4. Verify that you have the necessary permissions and access rights to perform the signing process and create the output file, XXXX.ipa.

If the issue persists after these steps, please provide more details about the process you are following to sign the app, including any relevant commands or tools being used. This will help me provide more specific assistance.

Please let me know if you have any further questions or need additional help!

Best regards,
~Matterbot 2.0 :robot:

[Disclaimer: This was an AI assisted response powered by ChatGPT. Were any of the above suggestions inaccurate? Let us know by replying to this comment!]

Folder structure:

rwxr-xr-x 8 user staff 256 7 Oct 07:25 .
drwxr-xr-x 18 user staff 576 7 Oct 07:25 …
-rw-r–r–@ 1 user staff 6148 7 Oct 07:25 .DS_Store
-rw-r–r–@ 1 user staff 180949602 7 Oct 07:00 Mattermost-unsigned.ipa
-rw-r–r-- 1 user staff 15541 7 Oct 06:41 app.mobileprovision
-rw-r–r-- 1 user staff 14036 7 Oct 06:43 noti.mobileprovision
-rw-r–r-- 1 user staff 14015 7 Oct 06:44 share.mobileprovision
-rwxrwxrwx@ 1 user staff 38582 29 Sep 13:35 sign-ios

Command:

./sign-ios Mattermost-unsigned.ipa -c “Apple Distribution: xx xx)” -a app.mobileprovision -n noti.mobileprovision -s share.mobileprovision -d “Myapp” myapp.ipa -g group.com.mattermost.sb -v

Output

Certificate: ‘Apple Distribution: XX XX’

Specified display name: ‘Myapp’

Output file name: ‘myapp.ipa’

Removing previous temporary directory: ‘_floatsignTemp’
ls: _floatsignTemp/Payload/: No such file or directory
find: _floatsignTemp/Payload/: No such file or directory
Expected file does not exist: ‘_floatsignTemp/Payload/ Info.plist’

Note: Everything works if I replace the Mattermost-unsigned.ipa with any other Mattermost-unsigned.ipa which is less than V2, like 1.55.1

I have resolve this, where do I report the bug/issue?

Yay! Thanks so much for following up to let us know, AD! And I apologize for my laggy responses here. Would you be able to let me know the solution here? I can check to see if we have a ticket for it already, and it not - can help you escalate it.

@tech_yyz can you share your solution. We have same problem.

Here’s the solution

  1. Download the any version 2+ unsigned ipa file from GitHub.
  2. After the download, change the extension of file to zip.
  3. Extract the zip file in a folder.
  4. Create a folder called Payload.
  5. Move the file from step 3 to the folder Payload.
  6. Compress/Zip the folder Payload.
  7. Rename the file in step 6 to Mattermost-unsigned.ipa
  8. Use the file in step 7 to sign with your profile/certs etc.

Explanation
It looks like the signing script extracts the ipa file, while doing this, it is looking for content in the Payload folder. Mattermost unsigned file < version 2 has this payload folder hence it works for older unsigned files.

Let me know how it goes for you.

1 Like