Date   

Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?

Leo
 

But all I need to do is copy the binary, nothing else.

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


Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?

John Brownie
 

Sounds like a plan. I'll check out the possibilities next week.

John 

On Fri, 17 Apr 2020 at 17:05, Alex Zavatone via groups.io <zav=mac.com@groups.io> wrote:
Here’s a suggestion.  Keep a VM of your Mojave build system in case you need to spool it up under VMWare Fusion.



On Apr 17, 2020, at 8:44 AM, John Brownie <john_brownie@...> wrote:

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 the critical bugs are fixed.

John 

On Fri, 17 Apr 2020 at 16:35, Alex Zavatone via groups.io <zav=mac.com@groups.io> wrote:
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 binaries into one file.

DESCRIPTION
       The  lipo  command  creates  or  operates on ``universal'' (multi-architecture) files.  It only ever produces one output file, and never alters the input
       file.  The operations that lipo performs are: listing the architecture types in a universal file; creating a single universal file from one or more input
       files;  thinning  out a single universal file to one specified architecture type; and extracting, replacing, and/or removing architectures types from the
       input file to create a single new universal output file.




On Apr 17, 2020, at 7:39 AM, Peter Hudson via groups.io <Peter.hudson@...> wrote:

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 bit by building on Mojave. 

Peter

On 17 Apr 2020, at 13:33, John Brownie <john_brownie@...> wrote:


I don't try to run it on Catalina, it's there for older systems. The trouble is that it won't build on Catalina.

John 

On Fri, 17 Apr 2020 at 15:30, Alex Zavatone via groups.io <zav=mac.com@groups.io> wrote:
I’m surprised that the 32 bit version loads in Catalina.  Wasn’t 32 bit binary compatibility removed in Catalina?

> On Apr 17, 2020, at 1:06 AM, John Brownie <john_brownie@...> wrote:
>
> My app ships with a couple of dependent binaries, a 32-bit and a 64-bit version. I do not own these binaries, so have no control over them. On deployment in pre-Catalina, I run the 32-bit version, as the 64-bit version has some bugs in it that are not present in the 32-bit version. I currently target macOS 10.9.
>
> Today, for the first time since I moved my development environment from Mojave to Catalina, I did a build and got an error:
> error: The embedded item 'xxx_32' is missing one or more architectures required by this target: x86_64. (in target 'xxx' from project 'xxx')
>
> Is there a way to prevent this error? The new Xcode 11.4.1 report navigator doesn't seem to show the commands any more, just the output, so I'm not clear what particular command generates the error.
>
> Thanks for any insights,
> John
> --
> John Brownie
> Mussau-Emira language, New Ireland Province, Papua New Guinea
> Kouvola, Finland
>
>
>




--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland



--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland

--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland


Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?

Alex Zavatone
 

Here’s a suggestion.  Keep a VM of your Mojave build system in case you need to spool it up under VMWare Fusion.



On Apr 17, 2020, at 8:44 AM, John Brownie <john_brownie@...> wrote:

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 the critical bugs are fixed.

John 

On Fri, 17 Apr 2020 at 16:35, Alex Zavatone via groups.io <zav=mac.com@groups.io> wrote:
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 binaries into one file.

DESCRIPTION
       The  lipo  command  creates  or  operates on ``universal'' (multi-architecture) files.  It only ever produces one output file, and never alters the input
       file.  The operations that lipo performs are: listing the architecture types in a universal file; creating a single universal file from one or more input
       files;  thinning  out a single universal file to one specified architecture type; and extracting, replacing, and/or removing architectures types from the
       input file to create a single new universal output file.




On Apr 17, 2020, at 7:39 AM, Peter Hudson via groups.io <Peter.hudson@...> wrote:

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 bit by building on Mojave. 

Peter

On 17 Apr 2020, at 13:33, John Brownie <john_brownie@...> wrote:


I don't try to run it on Catalina, it's there for older systems. The trouble is that it won't build on Catalina.

John 

On Fri, 17 Apr 2020 at 15:30, Alex Zavatone via groups.io <zav=mac.com@groups.io> wrote:
I’m surprised that the 32 bit version loads in Catalina.  Wasn’t 32 bit binary compatibility removed in Catalina?

> On Apr 17, 2020, at 1:06 AM, John Brownie <john_brownie@...> wrote:
>
> My app ships with a couple of dependent binaries, a 32-bit and a 64-bit version. I do not own these binaries, so have no control over them. On deployment in pre-Catalina, I run the 32-bit version, as the 64-bit version has some bugs in it that are not present in the 32-bit version. I currently target macOS 10.9.
>
> Today, for the first time since I moved my development environment from Mojave to Catalina, I did a build and got an error:
> error: The embedded item 'xxx_32' is missing one or more architectures required by this target: x86_64. (in target 'xxx' from project 'xxx')
>
> Is there a way to prevent this error? The new Xcode 11.4.1 report navigator doesn't seem to show the commands any more, just the output, so I'm not clear what particular command generates the error.
>
> Thanks for any insights,
> John
> --
> John Brownie
> Mussau-Emira language, New Ireland Province, Papua New Guinea
> Kouvola, Finland
>
>
>




--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland



--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland


Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?

John Brownie
 

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 the critical bugs are fixed.

John 

On Fri, 17 Apr 2020 at 16:35, Alex Zavatone via groups.io <zav=mac.com@groups.io> wrote:
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 binaries into one file.

DESCRIPTION
       The  lipo  command  creates  or  operates on ``universal'' (multi-architecture) files.  It only ever produces one output file, and never alters the input
       file.  The operations that lipo performs are: listing the architecture types in a universal file; creating a single universal file from one or more input
       files;  thinning  out a single universal file to one specified architecture type; and extracting, replacing, and/or removing architectures types from the
       input file to create a single new universal output file.




On Apr 17, 2020, at 7:39 AM, Peter Hudson via groups.io <Peter.hudson@...> wrote:

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 bit by building on Mojave. 

Peter

On 17 Apr 2020, at 13:33, John Brownie <john_brownie@...> wrote:


I don't try to run it on Catalina, it's there for older systems. The trouble is that it won't build on Catalina.

John 

On Fri, 17 Apr 2020 at 15:30, Alex Zavatone via groups.io <zav=mac.com@groups.io> wrote:
I’m surprised that the 32 bit version loads in Catalina.  Wasn’t 32 bit binary compatibility removed in Catalina?

> On Apr 17, 2020, at 1:06 AM, John Brownie <john_brownie@...> wrote:
>
> My app ships with a couple of dependent binaries, a 32-bit and a 64-bit version. I do not own these binaries, so have no control over them. On deployment in pre-Catalina, I run the 32-bit version, as the 64-bit version has some bugs in it that are not present in the 32-bit version. I currently target macOS 10.9.
>
> Today, for the first time since I moved my development environment from Mojave to Catalina, I did a build and got an error:
> error: The embedded item 'xxx_32' is missing one or more architectures required by this target: x86_64. (in target 'xxx' from project 'xxx')
>
> Is there a way to prevent this error? The new Xcode 11.4.1 report navigator doesn't seem to show the commands any more, just the output, so I'm not clear what particular command generates the error.
>
> Thanks for any insights,
> John
> --
> John Brownie
> Mussau-Emira language, New Ireland Province, Papua New Guinea
> Kouvola, Finland
>
>
>




--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland

--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland


Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?

Alex Zavatone
 

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 binaries into one file.

DESCRIPTION
       The  lipo  command  creates  or  operates on ``universal'' (multi-architecture) files.  It only ever produces one output file, and never alters the input
       file.  The operations that lipo performs are: listing the architecture types in a universal file; creating a single universal file from one or more input
       files;  thinning  out a single universal file to one specified architecture type; and extracting, replacing, and/or removing architectures types from the
       input file to create a single new universal output file.




On Apr 17, 2020, at 7:39 AM, Peter Hudson via groups.io <Peter.hudson@...> wrote:

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 bit by building on Mojave. 

Peter

On 17 Apr 2020, at 13:33, John Brownie <john_brownie@...> wrote:


I don't try to run it on Catalina, it's there for older systems. The trouble is that it won't build on Catalina.

John 

On Fri, 17 Apr 2020 at 15:30, Alex Zavatone via groups.io <zav=mac.com@groups.io> wrote:
I’m surprised that the 32 bit version loads in Catalina.  Wasn’t 32 bit binary compatibility removed in Catalina?

> On Apr 17, 2020, at 1:06 AM, John Brownie <john_brownie@...> wrote:
>
> My app ships with a couple of dependent binaries, a 32-bit and a 64-bit version. I do not own these binaries, so have no control over them. On deployment in pre-Catalina, I run the 32-bit version, as the 64-bit version has some bugs in it that are not present in the 32-bit version. I currently target macOS 10.9.
>
> Today, for the first time since I moved my development environment from Mojave to Catalina, I did a build and got an error:
> error: The embedded item 'xxx_32' is missing one or more architectures required by this target: x86_64. (in target 'xxx' from project 'xxx')
>
> Is there a way to prevent this error? The new Xcode 11.4.1 report navigator doesn't seem to show the commands any more, just the output, so I'm not clear what particular command generates the error.
>
> Thanks for any insights,
> John
> --
> John Brownie
> Mussau-Emira language, New Ireland Province, Papua New Guinea
> Kouvola, Finland
>
>
>




--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland


Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?

Peter Hudson
 

Well, from my experience, you’ll have to do that on Mojave. 
Peter

On 17 Apr 2020, at 13:55, John Brownie <john_brownie@...> wrote:


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 

On Fri, 17 Apr 2020 at 15:39, Peter Hudson via groups.io <Peter.hudson=me.com@groups.io> wrote:
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 bit by building on Mojave. 

Peter

On 17 Apr 2020, at 13:33, John Brownie <john_brownie@...> wrote:


I don't try to run it on Catalina, it's there for older systems. The trouble is that it won't build on Catalina.

John 

On Fri, 17 Apr 2020 at 15:30, Alex Zavatone via groups.io <zav=mac.com@groups.io> wrote:
I’m surprised that the 32 bit version loads in Catalina.  Wasn’t 32 bit binary compatibility removed in Catalina?

> On Apr 17, 2020, at 1:06 AM, John Brownie <john_brownie@...> wrote:
>
> My app ships with a couple of dependent binaries, a 32-bit and a 64-bit version. I do not own these binaries, so have no control over them. On deployment in pre-Catalina, I run the 32-bit version, as the 64-bit version has some bugs in it that are not present in the 32-bit version. I currently target macOS 10.9.
>
> Today, for the first time since I moved my development environment from Mojave to Catalina, I did a build and got an error:
> error: The embedded item 'xxx_32' is missing one or more architectures required by this target: x86_64. (in target 'xxx' from project 'xxx')
>
> Is there a way to prevent this error? The new Xcode 11.4.1 report navigator doesn't seem to show the commands any more, just the output, so I'm not clear what particular command generates the error.
>
> Thanks for any insights,
> John
> --
> John Brownie
> Mussau-Emira language, New Ireland Province, Papua New Guinea
> Kouvola, Finland
>
>
>




--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland

--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland


Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?

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 

On Fri, 17 Apr 2020 at 15:39, Peter Hudson via groups.io <Peter.hudson=me.com@groups.io> wrote:
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 bit by building on Mojave. 

Peter

On 17 Apr 2020, at 13:33, John Brownie <john_brownie@...> wrote:


I don't try to run it on Catalina, it's there for older systems. The trouble is that it won't build on Catalina.

John 

On Fri, 17 Apr 2020 at 15:30, Alex Zavatone via groups.io <zav=mac.com@groups.io> wrote:
I’m surprised that the 32 bit version loads in Catalina.  Wasn’t 32 bit binary compatibility removed in Catalina?

> On Apr 17, 2020, at 1:06 AM, John Brownie <john_brownie@...> wrote:
>
> My app ships with a couple of dependent binaries, a 32-bit and a 64-bit version. I do not own these binaries, so have no control over them. On deployment in pre-Catalina, I run the 32-bit version, as the 64-bit version has some bugs in it that are not present in the 32-bit version. I currently target macOS 10.9.
>
> Today, for the first time since I moved my development environment from Mojave to Catalina, I did a build and got an error:
> error: The embedded item 'xxx_32' is missing one or more architectures required by this target: x86_64. (in target 'xxx' from project 'xxx')
>
> Is there a way to prevent this error? The new Xcode 11.4.1 report navigator doesn't seem to show the commands any more, just the output, so I'm not clear what particular command generates the error.
>
> Thanks for any insights,
> John
> --
> John Brownie
> Mussau-Emira language, New Ireland Province, Papua New Guinea
> Kouvola, Finland
>
>
>




--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland

--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland


Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?

Peter Hudson
 

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 bit by building on Mojave. 

Peter

On 17 Apr 2020, at 13:33, John Brownie <john_brownie@...> wrote:


I don't try to run it on Catalina, it's there for older systems. The trouble is that it won't build on Catalina.

John 

On Fri, 17 Apr 2020 at 15:30, Alex Zavatone via groups.io <zav=mac.com@groups.io> wrote:
I’m surprised that the 32 bit version loads in Catalina.  Wasn’t 32 bit binary compatibility removed in Catalina?

> On Apr 17, 2020, at 1:06 AM, John Brownie <john_brownie@...> wrote:
>
> My app ships with a couple of dependent binaries, a 32-bit and a 64-bit version. I do not own these binaries, so have no control over them. On deployment in pre-Catalina, I run the 32-bit version, as the 64-bit version has some bugs in it that are not present in the 32-bit version. I currently target macOS 10.9.
>
> Today, for the first time since I moved my development environment from Mojave to Catalina, I did a build and got an error:
> error: The embedded item 'xxx_32' is missing one or more architectures required by this target: x86_64. (in target 'xxx' from project 'xxx')
>
> Is there a way to prevent this error? The new Xcode 11.4.1 report navigator doesn't seem to show the commands any more, just the output, so I'm not clear what particular command generates the error.
>
> Thanks for any insights,
> John
> --
> John Brownie
> Mussau-Emira language, New Ireland Province, Papua New Guinea
> Kouvola, Finland
>
>
>




--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland


Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?

John Brownie
 

I don't try to run it on Catalina, it's there for older systems. The trouble is that it won't build on Catalina.

John 

On Fri, 17 Apr 2020 at 15:30, Alex Zavatone via groups.io <zav=mac.com@groups.io> wrote:
I’m surprised that the 32 bit version loads in Catalina.  Wasn’t 32 bit binary compatibility removed in Catalina?

> On Apr 17, 2020, at 1:06 AM, John Brownie <john_brownie@...> wrote:
>
> My app ships with a couple of dependent binaries, a 32-bit and a 64-bit version. I do not own these binaries, so have no control over them. On deployment in pre-Catalina, I run the 32-bit version, as the 64-bit version has some bugs in it that are not present in the 32-bit version. I currently target macOS 10.9.
>
> Today, for the first time since I moved my development environment from Mojave to Catalina, I did a build and got an error:
> error: The embedded item 'xxx_32' is missing one or more architectures required by this target: x86_64. (in target 'xxx' from project 'xxx')
>
> Is there a way to prevent this error? The new Xcode 11.4.1 report navigator doesn't seem to show the commands any more, just the output, so I'm not clear what particular command generates the error.
>
> Thanks for any insights,
> John
> --
> John Brownie
> Mussau-Emira language, New Ireland Province, Papua New Guinea
> Kouvola, Finland
>
>
>




--
John Brownie, john_brownie@...
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland


Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?

Alex Zavatone
 

I’m surprised that the 32 bit version loads in Catalina. Wasn’t 32 bit binary compatibility removed in Catalina?

On Apr 17, 2020, at 1:06 AM, John Brownie <john_brownie@sil.org> wrote:

My app ships with a couple of dependent binaries, a 32-bit and a 64-bit version. I do not own these binaries, so have no control over them. On deployment in pre-Catalina, I run the 32-bit version, as the 64-bit version has some bugs in it that are not present in the 32-bit version. I currently target macOS 10.9.

Today, for the first time since I moved my development environment from Mojave to Catalina, I did a build and got an error:
error: The embedded item 'xxx_32' is missing one or more architectures required by this target: x86_64. (in target 'xxx' from project 'xxx')

Is there a way to prevent this error? The new Xcode 11.4.1 report navigator doesn't seem to show the commands any more, just the output, so I'm not clear what particular command generates the error.

Thanks for any insights,
John
--
John Brownie
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland



How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?

John Brownie
 

My app ships with a couple of dependent binaries, a 32-bit and a 64-bit version. I do not own these binaries, so have no control over them. On deployment in pre-Catalina, I run the 32-bit version, as the 64-bit version has some bugs in it that are not present in the 32-bit version. I currently target macOS 10.9.

Today, for the first time since I moved my development environment from Mojave to Catalina, I did a build and got an error:
error: The embedded item 'xxx_32' is missing one or more architectures required by this target: x86_64. (in target 'xxx' from project 'xxx')

Is there a way to prevent this error? The new Xcode 11.4.1 report navigator doesn't seem to show the commands any more, just the output, so I'm not clear what particular command generates the error.

Thanks for any insights,
John
--
John Brownie
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland


Re: Why oh why does Instruments keep halting my app???

Alex Zavatone
 

Don’t use Instruments.  

Use the Memory Graph Debugger and the .memgraph files it can create.

I have also created a memory query method (for iOS) that logs the memory used that matches what the memory graph indicates in the Debug Navigator, which you can use and modify 


I’m happy to help if you’re unfamiliar with it.  It’s a joy.

Instruments files can reach GB in size easily.  .memgraph files are MUCH MUCH more useful if you turn the right options on in your build scheme.

Cheers,
Alex Zavatone


On Apr 15, 2020, at 7:55 AM, dhoerl via groups.io <dhoerl@...> wrote:

Grrrrr - so after I hit send, I go back to shut the test app down. But wouldn't you know it - Instruments started up again - all by itself?!?!?!? Its now at 13 minutes - now at 16 minutes - and purring like a kitten.

WTF?!?!?!?


Re: Why oh why does Instruments keep halting my app???

dhoerl
 

Grrrrr - so after I hit send, I go back to shut the test app down. But wouldn't you know it - Instruments started up again - all by itself?!?!?!? Its now at 13 minutes - now at 16 minutes - and purring like a kitten.

WTF?!?!?!?


Why oh why does Instruments keep halting my app???

dhoerl
 

Its been a while since I needed to use Instruments to track down a memory leak. But now I'm working for someone whose app has a massive 70M leak on a certain transition. So yeah, like the old adage, "A programmer decides Regular Expressions will solve his problem. Now he has two problems." [Using latest Xcode, latest iOS, Catalina mac latest, etc].

Run my app using Xcode on a real iPad, watch memory in the mini-memory instrument in Xcode. See the memory jump. Relaunch, then "Transfer" the session to Instruments. Works fine. Instruments comes to the forground, all is well, see the list of stuff growing etc - then 30 seconds later, Instruments just stops. It appears my app is now in the background. [I believe I tried to interact with it earlier, it still stopped working.]

This app has a video stream from the camera going - I think maybe its just too much memory churn whatever.

So this morning I take a little demo iOS app I have - all it does is launch, prints something, then sits. I run it from Xcode, do the same thing. Progress! It runs a full 57 seconds before Instruments stops recording! During the last 54 seconds, nothing is happening whatsoever - no memory churn, zip, nada.

I would be just soooooo happy if anyone can shed some light on this. I googled around found nothing. I guess I should look at a recent WWDC video on Instruments to see if that sheds some light. 

David


Re: plist sanity checker utility?

Chris Hanson
 

On Apr 2, 2020, at 12:37 PM, Carl Hoefs <newslists@autonomy.caltech.edu> wrote:

I'm working with a huge (1.4MB) plist file, and I suspect there may be an error with respect to syntax or formatting somewhere therein.

Isn't there an Xcode-related command line tool plist file sanity checker utility? I seem to recall the existence of such a beast...
`plutil -lint` will do it, and comes with the OS.

-- Chris


Re: plist sanity checker utility?

Andy Lee
 

On Apr 2, 2020, at 3:37 PM, Carl Hoefs <newslists@autonomy.caltech.edu> wrote:
Isn't there an Xcode-related command line tool plist file sanity checker utility? I seem to recall the existence of such a beast...
You may be thinking of /usr/bin/plutil. I see it has a -lint option that will "check the property list files for syntax errors".

--Andy


Re: plist sanity checker utility?

Carl Hoefs
 

Yes! plutil was the utility I as thinking of.

Thanks Jack, Alex!

-Carl

On Apr 2, 2020, at 1:29 PM, Jack Brindle via groups.io <jackbrindle=me.com@groups.io> wrote:

Duck Duck Go is your friend…

plutil is already on your system as a command line utility.
plutil <file.plist>
should give rather interesting results. Check out the man page.

The old plistchecker app is still around, although old at this point.
There are other utilities that should be helpful as well.

Jack


On Apr 2, 2020, at 12:37 PM, Carl Hoefs <newslists@autonomy.caltech.edu> wrote:

I'm working with a huge (1.4MB) plist file, and I suspect there may be an error with respect to syntax or formatting somewhere therein.

Isn't there an Xcode-related command line tool plist file sanity checker utility? I seem to recall the existence of such a beast...

Thx,
-Carl






Re: plist sanity checker utility?

Alex Zavatone
 

Since it’s XML, could we use an XML validator?

On Apr 2, 2020, at 3:29 PM, Jack Brindle via groups.io <jackbrindle=me.com@groups.io> wrote:

Duck Duck Go is your friend…

plutil is already on your system as a command line utility.
plutil <file.plist>
should give rather interesting results. Check out the man page.

The old plistchecker app is still around, although old at this point.
There are other utilities that should be helpful as well.

Jack


On Apr 2, 2020, at 12:37 PM, Carl Hoefs <newslists@autonomy.caltech.edu> wrote:

I'm working with a huge (1.4MB) plist file, and I suspect there may be an error with respect to syntax or formatting somewhere therein.

Isn't there an Xcode-related command line tool plist file sanity checker utility? I seem to recall the existence of such a beast...

Thx,
-Carl






Re: plist sanity checker utility?

Jack Brindle
 

Duck Duck Go is your friend…

plutil is already on your system as a command line utility.
plutil <file.plist>
should give rather interesting results. Check out the man page.

The old plistchecker app is still around, although old at this point.
There are other utilities that should be helpful as well.

Jack


On Apr 2, 2020, at 12:37 PM, Carl Hoefs <newslists@autonomy.caltech.edu> wrote:

I'm working with a huge (1.4MB) plist file, and I suspect there may be an error with respect to syntax or formatting somewhere therein.

Isn't there an Xcode-related command line tool plist file sanity checker utility? I seem to recall the existence of such a beast...

Thx,
-Carl




Re: plist sanity checker utility?

Alex Zavatone
 

I’ve used this.

PlistEdit Pro.app

In any case, the other alternative is duplicate the file, open the copy and start removing pieces until it works and then start stuffing parts back in.

On Apr 2, 2020, at 2:37 PM, Carl Hoefs <newslists@autonomy.caltech.edu> wrote:

I'm working with a huge (1.4MB) plist file, and I suspect there may be an error with respect to syntax or formatting somewhere therein.

Isn't there an Xcode-related command line tool plist file sanity checker utility? I seem to recall the existence of such a beast...

Thx,
-Carl



401 - 420 of 1435