Posted on 05-25-2021 10:40 AM
I have been fighting composer for a couple of days and what's odd, composer works with .dmg files. I can create .dmg files, but if I choose to create a .pkg file, it fails. Further, if I try and take an existing, working .pkg file into composer and attempt to convert it to source, it fails to convert. I have uninstalled and removed all preference files. I have tried this on a VM, my Mac and another Mac. We have tried three different versions of composer. They are all doing this. This makes me believe an OS update could have borked composer. Anyone else having troubles lately?
Posted on 05-25-2021 04:16 PM
Having the same issue here and I've been already frustrated enough trying to deploy AnyConnect with only specific modules, and the OrgInfo.json file for Umbrella. Tried using the ACTransforms.xml file, but Cisco documentation is terrible.
Posted on 05-26-2021 10:15 AM
What OS and platform (Apple Silicon / Intel) are using with Composer?
Have you verified within System Preferences >> Security & Privacy >> Privacy that Composer has been granted Full Disk Access?
Posted on 06-07-2021 02:19 PM
It's been on Intel only and happening across Mojave, Catalina and Big Sur. Tried latest versions of Composer and older ones. Full Disk Access has been granted when needed. I just stopped starting with .pkg's and trying to make a source of that, and using the .dmg. No issue since then.
Posted on 06-09-2021 02:01 AM
Same issue here, Composer 10.29.2 fails on "Creating Directory Structure" on both Intel and Apple Silicon Big Sur 11.4.
Posted on 07-09-2021 10:39 AM
Same problem here with composer 10.30.3 on Big Sur (Intel based machine).
Posted on 01-24-2022 04:23 AM
experiencing this error in Composer now on BigSur, m1 macbook air using both 10.34.2 and 10.35 versions.
”converting to source failed”
Posted on 03-22-2022 08:27 AM
we are also experiencing the same error "converting to source failed": macOS 12.2.1, Composer 10.33, M1 Max
Posted on 04-01-2022 01:50 PM
Does/has anyone found a solution for this. Can't really go back to an older version as I dont have one. I am running Monterey on Intel with Rosetta added for some other apps to function. This issue has been going on for a long time. Can't really resort to a DMG when the vendor is only offering PKG's.
Posted on 04-28-2022 09:58 AM
Adding to the list. I am seeing this with 10.37 on Intel 12.3.1
Posted on 04-28-2022 10:02 AM
Has anyone tried to move the following folder out to see if that helps?
/Library/Application Support/Jamf/Composer
I don't say delete it as it keeps your projects in there and I for one don't like losing the contents.
I had trouble years back, and that seemed to help, but I'm not seeing this issue at the moment...
Posted on 05-04-2022 05:30 AM
I have done this and sometimes it works and sometimes not, but the bigger problem is for something that has been going on for so long, why is there still no permanent fix?
Posted on 05-04-2022 05:34 AM
Go into Composer Preferences and change "Executable Types in PKGs" from "Automatically detect executable types" to "One or more executables require Rosetta"
Posted on 05-17-2022 10:10 AM
Perfect !
It's working now :)
Posted on 09-08-2022 09:09 AM
I just came across this issue. I am trying to convert a package to a source I I get "Converting to Source Failed" I am using Composer 10.41.0, on M1 Mac. I tried changing "Executable Types in PKGs" from "Automatically detect executable types" to "One or more executables require Rosetta" but that doesn't seem to work for me. Also I made sure the application has full disk access via Security and Privacy. Not sure what else to try. Any help would be appreciated.
Posted on 09-08-2022 09:31 AM
I'm still not seeing this issue, but when I've had issues with Composer in the past, I have moved (moved, not nuked as you lose other good things in Composer) the folder:
/Library/Application Support/JAMF/Composer
To the desktop or other place. Quit Composer first, move, then re-launch Composer. See if that helps...
You'll notice that the items in the left column are gone - which is why I say don't delete it yet.
If it works now, you'll know there was something corrupted in that folder...worth a shot.
Posted on 11-08-2023 07:28 AM
To add to the above, in case you're not totally used to the quirks of Jamf - if your Mac that you're using to build packages is enrolled into a Jamf instance, that folder below will go away if you unenroll from Jamf.
/Library/Application Support/JAMF/Composer
Make sure you keep it backed up somewhere if you need to keep the past work for reference. I lost a ton of packages back in the day due to that and was REALLY bummed!
Posted on 03-11-2024 08:50 AM
Mine started to do the same...I've tried with a new Mac, fresh install of the Composer 11.3.0, but with NO luck. As a workaround, I used "Suspicious Package" to see the file structure of the .pkg that I need to "Convert to source" and export them in Downloads...Dragged them into the Composer and started to built the new package. Yeah, not desirable solution - it's annoying to see these things happen out of the blue, with NO fix whatsoever in the near future...*sigh*
Posted on 03-11-2024 09:11 AM
@cc_rider wrote:
Mine started to do the same...I've tried with a new Mac, fresh install of the Composer 11.3.0, but with NO luck. As a workaround, I used "Suspicious Package" to see the file structure of the .pkg that I need to "Convert to source" and export them in Downloads...Dragged them into the Composer and started to built the new package. Yeah, not desirable solution - it's annoying to see these things happen out of the blue, with NO fix whatsoever in the near future...*sigh*
Is the package you're using readily available? ie, something I can download at try here?
Posted on 03-11-2024 09:19 AM
We can take it offline, if you want, and send you in Slack...I've tried a few old packages that I've built in the past and most of them are throwing the same error (ie, Cisco Anyconnect, Zscaler, etc.)
Posted on 03-11-2024 09:40 AM
@cc_rider wrote:
We can take it offline, if you want, and send you in Slack...I've tried a few old packages that I've built in the past and most of them are throwing the same error (ie, Cisco Anyconnect, Zscaler, etc.)
I'm "scott512"...hit me up. I'd like to see if it bugs out on my Mac.
Posted on 03-12-2024 06:30 AM
Thanks, @scottb for checking this for me. All, the root cause in my situation points out to Cyberark - it looks like something is not allowed to complete the "Convert to source" process and I will need to dig deeper in the logs to see which policy is preventing this to happen.
Posted on 03-13-2024 08:02 AM
Happy to assist, @cc_rider ! Glad it's sorted...90% of all our issues usually come back to security/AV software...😩