Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building with profile from GUI, CLI breaks with profile, works without #258

Open
oashour opened this issue Jul 19, 2023 · 0 comments
Open

Comments

@oashour
Copy link

oashour commented Jul 19, 2023

I'm facing a weird issue where trying to build with the attached profile (and bundling a file) works fine. Using the shell command form actions -> show shell command works as well. But using the command line like this:

platypus \
  --load-profile "myprofile.platypus" \
  --bundled-file "nuitka/mydist.dist" \
  "dmg/myapp.app"

breaks with the following error

2023-07-19 04:14:22.438 platypus[10007:97718] -[__NSArray0 addObject:]: unrecognized selector sent to instance 0x1f67b2800
2023-07-19 04:14:22.439 platypus[10007:97718] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArray0 addObject:]: unrecognized selector sent to instance 0x1f67b2800'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000019a5cf19c __exceptionPreprocess + 176
	1   libobjc.A.dylib                     0x000000019a0ee4d4 objc_exception_throw + 60
	2   CoreFoundation                      0x000000019a676178 -[NSObject(NSObject) __retain_OA] + 0
	3   CoreFoundation                      0x000000019a537150 ___forwarding___ + 1600
	4   CoreFoundation                      0x000000019a536a50 _CF_forwarding_prep_0 + 96
	5   platypus                            0x000000010028e0e4 platypus + 24804
	6   dyld                                0x000000019a11ff28 start + 2236
)
libc++abi: terminating due to uncaught exception of type NSException

Removing --bundled-file fixes it.

which seems to be related to this PR: #180 (comment)

I've tried updating xcode, and which ibtool returns /usr/bin/ibtool (although I have no idea if that's what platypus is using).

System:
macOS Ventura 13.3.1 arm64
Platypus 5.4.1, tried it installed from both homebrew and the website.

Weirdly enough, it works fine on my other computer, which is virtually identical (they were cloned from each other, actually) but it runs 13.4.

myprofile.platypus.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant