|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
yeahh of course it's the RUN SCRIPT not Copy phase... just correcting myself. that's what i also meant in my earlier post - to use a script to copy whatever John needs from wherever during a build
yeahh of course it's the RUN SCRIPT not Copy phase... just correcting myself. that's what i also meant in my earlier post - to use a script to copy whatever John needs from wherever during a build
|
By
Leo
·
#1047
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
R.I.F. ;) Thanks!
Sandor
By
Sandor Szatmari
·
#1046
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
There’s also a checkbox in every Run Script build phase that does exactly that. It dumps out to the build console. Show environment variables in build log.
There’s also a checkbox in every Run Script build phase that does exactly that. It dumps out to the build console. Show environment variables in build log.
|
By
Alex Zavatone
·
#1045
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
When I need to see all the build environment variables Xcode can see I just add a run script with the command ‘printenv’ in it. Then I find what I need in the results shown in Xcode.
Sandor
When I need to see all the build environment variables Xcode can see I just add a run script with the command ‘printenv’ in it. Then I find what I need in the results shown in Xcode.
Sandor
|
By
Sandor Szatmari
·
#1044
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
Jack, it might help John if you posted one of those scripts if you’re able to. Getting used to all the build environment variables and logging the results to a good place can take a bit of time to
Jack, it might help John if you posted one of those scripts if you’re able to. Getting used to all the build environment variables and logging the results to a good place can take a bit of time to
|
By
Alex Zavatone
·
#1043
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
Just add a shell script that does it for you. The build environment variables are exposed so you will know where to copy to and you can copy from anywhere on your Mac’s drive.
Just add a shell script that does it for you. The build environment variables are exposed so you will know where to copy to and you can copy from anywhere on your Mac’s drive.
|
By
Alex Zavatone
·
#1042
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
John;
There may be another way. Create a shell script to copy the binary into the application, then call it from a script phase in the target build. Be sure to use the ditto command for the copy so
John;
There may be another way. Create a shell script to copy the binary into the application, then call it from a script phase in the target build. Be sure to use the ditto command for the copy so
|
By
Jack Brindle
·
#1041
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
You can notarise with a 32-bit binary as part of the bundle, at least on Mojave. It looks as though Apple want us to drop support for older systems and special cases like mine. I'll be pursuing
You can notarise with a 32-bit binary as part of the bundle, at least on Mojave. It looks as though Apple want us to drop support for older systems and special cases like mine. I'll be pursuing
|
By
John Brownie
·
#1040
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
frankly, i don't know if you can notarize an app with any kind of 32-bit code inside of it. i suspect you can't.
but once again, i don't know. fortunately, that's at least one aspect of the whole
frankly, i don't know if you can notarize an app with any kind of 32-bit code inside of it. i suspect you can't.
but once again, i don't know. fortunately, that's at least one aspect of the whole
|
By
Leo
·
#1039
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
Yes, it's a binary that I get from a third party that goes into the executables folder. Is there a way to copy it there in a way that allows me to build the app and go through the whole notarisation
Yes, it's a binary that I get from a third party that goes into the executables folder. Is there a way to copy it there in a way that allows me to build the app and go through the whole notarisation
|
By
John Brownie
·
#1038
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
ok if you need to build that binary then Xcode won't do it on Catalina. i thought it might be something already compiled that you just need to include in the app package.
Leo
ok if you need to build that binary then Xcode won't do it on Catalina. i thought it might be something already compiled that you just need to include in the app package.
Leo
|
By
Leo
·
#1037
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
It is part of a copy files phase, but it seems that Xcode sees a 32-bit binary and refuses to start actually building it.
John
--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland
It is part of a copy files phase, but it seems that Xcode sees a 32-bit binary and refuses to start actually building it.
John
--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland
|
By
John Brownie
·
#1036
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
Do you need that binary to actually build the app? Because if not then you can just add a Copy build phase to copy it into the app package after build is done (unless I'm missing something).
Leo
Do you need that binary to actually build the app? Because if not then you can just add a Copy build phase to copy it into the app package after build is done (unless I'm missing something).
Leo
|
By
Leo
·
#1035
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
Sounds like a plan. I'll check out the possibilities next week.
John
--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland
Sounds like a plan. I'll check out the possibilities next week.
John
--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland
|
By
John Brownie
·
#1034
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
Here’s a suggestion. Keep a VM of your Mojave build system in case you need to spool it up under VMWare Fusion.
Here’s a suggestion. Keep a VM of your Mojave build system in case you need to spool it up under VMWare Fusion.
|
By
Alex Zavatone
·
#1033
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
It looks like building on Mojave is the best option. I don't want to lipo them into a single file, because there are bugs in the 64-bit version. I did see that there's a new version, so I'll see if
It looks like building on Mojave is the best option. I don't want to lipo them into a single file, because there are bugs in the 64-bit version. I did see that there's a new version, so I'll see if
|
By
John Brownie
·
#1032
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
Well, crap. Can you build on a system that does support it and either merge the binary or offer a specific version that is only built for pre Catalina systems?
Iipo wouild let you combine the
Well, crap. Can you build on a system that does support it and either merge the binary or offer a specific version that is only built for pre Catalina systems?
Iipo wouild let you combine the
|
By
Alex Zavatone
·
#1031
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
Well, from my experience, you’ll have to do that on Mojave.
Peter
Well, from my experience, you’ll have to do that on Mojave.
Peter
|
By
Peter Hudson
·
#1030
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
Don't you love progress? A good thing I still have some Mojave boot volumes, if that's the way it's going to be. But all I need to do is copy the binary, nothing else.
John
--
John Brownie,
Don't you love progress? A good thing I still have some Mojave boot volumes, if that's the way it's going to be. But all I need to do is copy the binary, nothing else.
John
--
John Brownie,
|
By
John Brownie
·
#1029
·
|
|
Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
I had a similar problem - i never found a way to build the 32 bit version of our app on Catalina. As I understand it, there is no 32 bit build support in Catalina.
I support people who still need 32
I had a similar problem - i never found a way to build the 32 bit version of our app on Catalina. As I understand it, there is no 32 bit build support in Catalina.
I support people who still need 32
|
By
Peter Hudson
·
#1028
·
|