beeware / briefcase

Tools to support converting a Python project into a standalone native application.
https://briefcase.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
2.48k stars 352 forks source link

briefcase build not working even after checking XCode and iCloud Drive #1831

Closed nidhikamath2102 closed 1 month ago

nidhikamath2102 commented 1 month ago

Describe the bug

Getting the following error on MacOS Sonoma (Apple M3 Pro), Version 14.4.1

Unable to code sign /Users/nidhikamath/temp/helloworld/build/helloworld/macos/app/Hello World.app/Contents/Resources/support/python-stdlib/lib-dynload/readline.cpython-312-darwin.so.

Log saved to /Users/nidhikamath/temp/helloworld/logs/briefcase.2024_05_21-15_07_49.build.log

Steps to reproduce

  1. Go to BeeWare Tutorial 3
  2. Run briefcase create
  3. Run briefcase build
  4. The error described above can be seen on the console

Expected behavior

Build should be successful without any error!

Screenshots

Screenshot 2024-05-21 at 9 30 47 PM

Environment

Logs

Additional context

No response

nidhikamath2102 commented 1 month ago

This has been fixed and can be checked here

freakboy3742 commented 1 month ago

@nidhikamath2102 To clarify - the issue you were seeing (CRLF handling) is a different way to manifest the same error message. The PyCon sprints have revealed at least 3 ways that signing can fail:

  1. The project drive is being mirrored on iCloud (this is #1831)
  2. Git has core.autocrlf enabled (this ticket)
  3. Running on an x86_64 machine with an older version of Xcode. (No ticket so far AFAIK; but someone was looking into this at the PyCon US sprints)