Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: "Add Platform" is disabled


This question is answered.


Permlink Replies: 10 - Last Post: Mar 2, 2018 1:40 PM Last Post By: Vincent BEUSELI...
Graham Murt

Posts: 70
Registered: 5/15/07
"Add Platform" is disabled  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 21, 2015 6:48 AM
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
quinn wildman

Posts: 856
Registered: 12/2/99
Re: "Add Platform" is disabled
Helpful
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 21, 2015 8:33 AM   in response to: Graham Murt in response to: Graham Murt
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
Graham Murt

Posts: 70
Registered: 5/15/07
Re: "Add Platform" is disabled  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 21, 2015 8:43 AM   in response to: quinn wildman in response to: quinn wildman
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

quinn wildman wrote:
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
quinn wildman

Posts: 856
Registered: 12/2/99
Re: "Add Platform" is disabled  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 21, 2015 9:50 AM   in response to: Graham Murt in response to: Graham Murt
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.
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: "Add Platform" is disabled  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 21, 2015 9:40 AM   in response to: Graham Murt in response to: Graham Murt
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 "<Platforms>" node has entries
for the desired platforms and that they are set to True:

            <Platforms>
                <Platform value="Android" ActiveMobileDevice="embt14_android">True</Platform>
                <Platform value="iOSDevice">True</Platform>
                <Platform value="iOSSimulator" ActiveMobileDevice="iPhone">True</Platform>
                <Platform value="OSX32">True</Platform>
                <Platform value="Win32">True</Platform>
                <Platform value="Win64">True</Platform>
            </Platforms>


--
Remy Lebeau (TeamB)
Graham Murt

Posts: 70
Registered: 5/15/07
Re: "Add Platform" is disabled  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 21, 2015 9:51 AM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
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

Remy Lebeau (TeamB) wrote:
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 "<Platforms>" node has entries
for the desired platforms and that they are set to True:

            <Platforms>
                <Platform value="Android" ActiveMobileDevice="embt14_android">True</Platform>
                <Platform value="iOSDevice">True</Platform>
                <Platform value="iOSSimulator" ActiveMobileDevice="iPhone">True</Platform>
                <Platform value="OSX32">True</Platform>
                <Platform value="Win32">True</Platform>
                <Platform value="Win64">True</Platform>
            </Platforms>


--
Remy Lebeau (TeamB)
Graham Murt

Posts: 70
Registered: 5/15/07
Re: "Add Platform" is disabled  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 21, 2015 9:52 AM   in response to: Graham Murt in response to: Graham Murt
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

Graham Murt wrote:
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

Remy Lebeau (TeamB) wrote:
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 "<Platforms>" node has entries
for the desired platforms and that they are set to True:

            <Platforms>
                <Platform value="Android" ActiveMobileDevice="embt14_android">True</Platform>
                <Platform value="iOSDevice">True</Platform>
                <Platform value="iOSSimulator" ActiveMobileDevice="iPhone">True</Platform>
                <Platform value="OSX32">True</Platform>
                <Platform value="Win32">True</Platform>
                <Platform value="Win64">True</Platform>
            </Platforms>


--
Remy Lebeau (TeamB)
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: "Add Platform" is disabled
Correct
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 21, 2015 10:01 AM   in response to: Graham Murt in response to: Graham Murt
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
<Platforms> 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)
Graham Murt

Posts: 70
Registered: 5/15/07
Re: "Add Platform" is disabled  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 21, 2015 10:22 AM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
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

Remy Lebeau (TeamB) wrote:
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
<Platforms> 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)
Mark Gorst

Posts: 23
Registered: 6/7/02
Re: "Add Platform" is disabled  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 14, 2016 6:22 AM   in response to: Graham Murt in response to: Graham Murt
I've just experienced a similar problem with a Firemonkey project I'd left alone since February. I've managed to work out what the cause was. A colleague had been working on the Windows platform version of the application in the meantime.

He doesn't work on Android and has not got the Mobile Add On Pack (10Seattle) whereas I do.

We've replicated the problem in that when he has opened the project it has removed the Android platform, and when I've returned I've not had the option to "Add Platform..." as that has been disabled (the fix for that mentioned in this thread has worked).

What is strange is that it did not remove the OSX platform, only the Android (the other two were 32 / 64 bit windows).

This sounds like a fix is needed in the IDE. My apologies if it's sorted for 10Berlin, but it's not on the bug fix list, and I'm in mid transfer to 10Berlin.
Vincent BEUSELI...

Posts: 3
Registered: 2/14/18
3 years after , same problem Re: "Add Platform" is disabled  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 2, 2018 1:27 PM   in response to: Graham Murt in response to: Graham Murt
Hi, I use Delphi 10.2.2.
I'm trying Delphi Architect in december 2017
I used «starter edition» in January 2018 to continue my evaluation.

Wednesday we decide to buy the PRO version. I upgraded RAD Studio, add new licence, download win64 platform + IOS platform.

But I can't choose another platform for my project (or for a new project). The «add platform» item is disabled.

I'm trying to reinstall x64 platform… It was a bad idea. D10.2 is broken.
I have an error message because Rad studio want a c builder product number.

Angry...

Edited by: Vincent BEUSELINCK on Mar 2, 2018 1:37 PM

Finally I have no idea : I'm trying to uninstall and reinstall Delphi
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02