Open oashour opened 1 year ago
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.
--bundled-file
which seems to be related to this PR: https://github.com/sveinbjornt/Platypus/pull/180#issue-700663907
I've tried updating xcode, and which ibtool returns /usr/bin/ibtool (although I have no idea if that's what platypus is using).
which ibtool
/usr/bin/ibtool
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
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:
breaks with the following error
Removing
--bundled-file
fixes it.which seems to be related to this PR: https://github.com/sveinbjornt/Platypus/pull/180#issue-700663907
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