beeware / briefcase

Tools to support converting a Python project into a standalone native application.

Home Page:https://briefcase.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

briefcase build not working even after checking XCode and iCloud Drive

nidhikamath2102 opened this issue · comments

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

  • Operating System: MacOS Sonoma (Apple M3 Pro), Version 14.4.1
  • Python version: 3.12.2
  • Software versions:
    • Briefcase: 0.3.18
    • Toga: 0.4.4

Logs


Additional context

No response

This has been fixed and can be checked here

@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)