Mega Search
23.2 Million


Sign Up

Make a donation  
"Add Platform" is disabled  
News Group: embarcadero.public.delphi.firemonkey

I've just returned from a week away and for some reason one of my Firemonkey iPad apps now only shows Win32 and Win64 in the "Target Platform" list.

I've opened up some other projects and they do have the iOS, Mac and Android platforms in the list but what is worrying is that no matter what I do,  the "Add Platform" option is disabled.

I've got a project I need to build asap for iPad but I'm unable to do this.

I'm using XE7 with the Mobile add-on.

Does anyone here know what is causing this problem and how I can get the "Add Platform" option enabled again?

Thanks,
Graham

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 21-Jan-2015, at 6:48 AM EST
From: Graham Murt
 
Re: "Add Platform" is disabled  
News Group: embarcadero.public.delphi.firemonkey
Ah, looks like this was the problem.

I just deleted the iMac profile and the "Add Platform" option becomes available again.

I guess the original project files became corrupt somehow but the IDE thought all platforms were still enabled.

All sorted now, thanks again!

Graham

> {quote:title=Remy Lebeau (TeamB) wrote:}{quote}
> Graham wrote:
> 
> > I'm still confused as to why the "Add Platform" option is disabled in
> > my XE7.
> 
> Hard to say without knowing if the original project was missing the relevant 
>  entries or not.  The IDE won't let you add a new platform if 
> it thinks all available platforms have already been added.
> 
> -- 
> Remy Lebeau (TeamB)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 21-Jan-2015, at 10:22 AM EST
From: Graham Murt
 
Re: "Add Platform" is disabled  
News Group: embarcadero.public.delphi.firemonkey
Graham wrote:

> I'm still confused as to why the "Add Platform" option is disabled in
> my XE7.

Hard to say without knowing if the original project was missing the relevant 
 entries or not.  The IDE won't let you add a new platform if 
it thinks all available platforms have already been added.

-- 
Remy Lebeau (TeamB)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 21-Jan-2015, at 10:01 AM EST
From: Remy Lebeau (TeamB)
 
Re: "Add Platform" is disabled  
News Group: embarcadero.public.delphi.firemonkey
Forgot to say,  the "disabled" option issue feels to me like more of a Delphi issue rather than a project specific issue.

Could be wrong though

Kind regards,
Graham

> {quote:title=Graham Murt wrote:}{quote}
> Hi Remy,
> 
> Thanks for your reply. I had a feeling that it was the project file which may be the problem with the platforms not appearing so rather than modify it, I simply created a new project and transferred the forms/units to it.
> 
> I'm still confused as to why the "Add Platform" option is disabled in my XE7.  Not causing any immediate problems but I can see future issues if I need to use this option.
> 
> Kind regards,
> Graham 
> 
> 
> > {quote:title=Remy Lebeau (TeamB) wrote:}{quote}
> > Graham wrote:
> > 
> > > I've just returned from a week away and for some reason one of my
> > > Firemonkey iPad apps now only shows Win32 and Win64 in the "Target
> > > Platform" list.
> > > 
> > > I've opened up some other projects and they do have the iOS, Mac and
> > > Android platforms in the list but what is worrying is that no matter
> > > what I do,  the "Add Platform" option is disabled.
> > 
> > Open the project's DPROJ file and make sure the "" node has entries 
> > for the desired platforms and that they are set to True:
> > 
> > {code}
> >             
> >                 True
> >                 True
> >                 True
> >                 True
> >                 True
> >                 True
> >             
> > {code}
> > 
> > -- 
> > Remy Lebeau (TeamB)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 21-Jan-2015, at 9:52 AM EST
From: Graham Murt
 
Re: "Add Platform" is disabled  
News Group: embarcadero.public.delphi.firemonkey
Hi Remy,

Thanks for your reply. I had a feeling that it was the project file which may be the problem with the platforms not appearing so rather than modify it, I simply created a new project and transferred the forms/units to it.

I'm still confused as to why the "Add Platform" option is disabled in my XE7.  Not causing any immediate problems but I can see future issues if I need to use this option.

Kind regards,
Graham 


> {quote:title=Remy Lebeau (TeamB) wrote:}{quote}
> Graham wrote:
> 
> > I've just returned from a week away and for some reason one of my
> > Firemonkey iPad apps now only shows Win32 and Win64 in the "Target
> > Platform" list.
> > 
> > I've opened up some other projects and they do have the iOS, Mac and
> > Android platforms in the list but what is worrying is that no matter
> > what I do,  the "Add Platform" option is disabled.
> 
> Open the project's DPROJ file and make sure the "" node has entries 
> for the desired platforms and that they are set to True:
> 
> {code}
>             
>                 True
>                 True
>                 True
>                 True
>                 True
>                 True
>             
> {code}
> 
> -- 
> Remy Lebeau (TeamB)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 21-Jan-2015, at 9:51 AM EST
From: Graham Murt
 
Re: "Add Platform" is disabled  
News Group: embarcadero.public.delphi.firemonkey
Graham Murt wrote:
> I would feel more comfortable if I knew what caused this and could re-enable it.

Was your project ever touched by another edition - like trial, or maybe 
Professional without mobile? I think there is some combination going 
this way that can cause your problem. I have heard of your problem once 
before and something like this seems to have been the cause. The 
solution was as has been suggested - edit the dproj.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 21-Jan-2015, at 9:50 AM EST
From: quinn wildman
 
Re: "Add Platform" is disabled  
News Group: embarcadero.public.delphi.firemonkey
Graham wrote:

> I've just returned from a week away and for some reason one of my
> Firemonkey iPad apps now only shows Win32 and Win64 in the "Target
> Platform" list.
> 
> I've opened up some other projects and they do have the iOS, Mac and
> Android platforms in the list but what is worrying is that no matter
> what I do,  the "Add Platform" option is disabled.

Open the project's DPROJ file and make sure the "" node has entries 
for the desired platforms and that they are set to True:

{code}
            
                True
                True
                True
                True
                True
                True
            
{code}

-- 
Remy Lebeau (TeamB)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 21-Jan-2015, at 9:40 AM EST
From: Remy Lebeau (TeamB)
 
Re: "Add Platform" is disabled  
News Group: embarcadero.public.delphi.firemonkey
Hi Quin,

For now I created a new project,  and moved the existing forms/units across to that one.  This re-populated the iOS, Android in the platform list so that's a quick fix for now.

The main worry is that the "Add Platform" option (when right-clicking) is now disabled for all projects (including new ones) and I've no idea why.

I would feel more comfortable if I knew what caused this and could re-enable it.

Kind regards,
Graham


> {quote:title=quinn wildman wrote:}{quote}
> I suggest looking at a dproj for a good project and your bad one. You 
> should be able to easily edit your bad dproj and fix it up. Another way 
> to go is create a new project and your existing units to the new project.
> 
> Graham Murt wrote:
> > I've just returned from a week away and for some reason one of my Firemonkey iPad apps now only shows Win32 and Win64 in the "Target Platform" list.
> >
> > I've opened up some other projects and they do have the iOS, Mac and Android platforms in the list but what is worrying is that no matter what I do,  the "Add Platform" option is disabled.
> >
> > I've got a project I need to build asap for iPad but I'm unable to do this.
> >
> > I'm using XE7 with the Mobile add-on.
> >
> > Does anyone here know what is causing this problem and how I can get the "Add Platform" option enabled again?
> >
> > Thanks,
> > Graham
> >

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 21-Jan-2015, at 8:43 AM EST
From: Graham Murt
 
Re: "Add Platform" is disabled  
News Group: embarcadero.public.delphi.firemonkey
I suggest looking at a dproj for a good project and your bad one. You 
should be able to easily edit your bad dproj and fix it up. Another way 
to go is create a new project and your existing units to the new project.

Graham Murt wrote:
> I've just returned from a week away and for some reason one of my Firemonkey iPad apps now only shows Win32 and Win64 in the "Target Platform" list.
>
> I've opened up some other projects and they do have the iOS, Mac and Android platforms in the list but what is worrying is that no matter what I do,  the "Add Platform" option is disabled.
>
> I've got a project I need to build asap for iPad but I'm unable to do this.
>
> I'm using XE7 with the Mobile add-on.
>
> Does anyone here know what is causing this problem and how I can get the "Add Platform" option enabled again?
>
> Thanks,
> Graham
>

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 21-Jan-2015, at 8:33 AM EST
From: quinn wildman