Watch, Follow, &
Connect with Us

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


Welcome, Guest
Guest Settings
Help

Thread: XE8 and iOS 8.2



Permlink Replies: 27 - Last Post: Jul 20, 2015 12:20 PM Last Post By: Jeroen Lusthof
Chad GEBELIN

Posts: 31
Registered: 7/7/12
XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 16, 2015 8:04 AM
Hi all,

I can"t deploy on iOS platform ( iPad ), i have this error :

"[Error Erreur] Missing provisioning information. Distribution certificate has not been specified for the "Debug" platform configuration."

In option , provisioning are set to auto

And the help say that in debug mode no need to set provisioning information... ?!
Eli M

Posts: 1,346
Registered: 11/9/13
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 16, 2015 1:49 PM   in response to: Chad GEBELIN in response to: Chad GEBELIN
Deploy with Xcode. If that works then deploying with XE8 won't be far behind. What I usually do is update CFBundleIdentifier to be com.whatever.$(ModuleName) in Project Options|Version Info to match my provisioning certificate.
Chad GEBELIN

Posts: 31
Registered: 7/7/12
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 17, 2015 4:54 AM   in response to: Eli M in response to: Eli M
Eli M wrote:
Deploy with Xcode. If that works then deploying with XE8 won't be far behind. What I usually do is update CFBundleIdentifier to be com.whatever.$(ModuleName) in Project Options|Version Info to match my provisioning certificate.

Deploy with Xcode ? i have to see how we do it.

i set also CFBundleIdentifier but it's the same error
Alejandro Rosa

Posts: 23
Registered: 10/30/09
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 20, 2015 7:35 AM   in response to: Chad GEBELIN in response to: Chad GEBELIN
Same problem in "Debug" configuration

Chad GEBELIN wrote:
Hi all,

I can"t deploy on iOS platform ( iPad ), i have this error :

"[Error Erreur] Missing provisioning information. Distribution certificate has not been specified for the "Debug" platform configuration."

In option , provisioning are set to auto

And the help say that in debug mode no need to set provisioning information... ?!
Chad GEBELIN

Posts: 31
Registered: 7/7/12
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 20, 2015 12:15 PM   in response to: Alejandro Rosa in response to: Alejandro Rosa
XE8 Compilation appear a warning : "no certificat found in provisioning profil"

I'm sure there is one certificat ! i put it when i create provisioning and i dot it several times... this warning is only with debug mode, in ad-hoc it's ok, it find the certificat.

Is someone can debug iOS program with XE8 ?
Alejandro Rosa

Posts: 23
Registered: 10/30/09
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 20, 2015 1:42 PM   in response to: Chad GEBELIN in response to: Chad GEBELIN
Is someone can debug iOS program with XE8 ?

I can´t deploy!

Here a capture of XE8 Trial: https://dl.dropboxusercontent.com/u/3044817/Screen%20Shot%202015-04-20%20at%205.34.16%20PM.png
Eli M

Posts: 1,346
Registered: 11/9/13
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 20, 2015 6:15 PM   in response to: Chad GEBELIN in response to: Chad GEBELIN
You have to install both the IOS Development certificate and the IOS Distribution certificate. The debug (IOS Development) certificate is entirely different from the ad hoc one.
Chad GEBELIN

Posts: 31
Registered: 7/7/12
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 20, 2015 8:24 PM   in response to: Eli M in response to: Eli M
Eli M wrote:
You have to install both the IOS Development certificate and the IOS Distribution certificate. The debug (IOS Development) certificate is entirely different from the ad hoc one.

Thanks for responding,

But i'm not sure to understand, yes, of course, i included iOS development Certificate for debug and iOS Distribution certificate for ad hoc. i made two different provisioning profile.

But provisioning profile for Debug doesn't work and there is the iOS development included.

If you are talking about one provisioning profile included two iOS certificat ( Development and Distribution ), i'm afraid it's not possible, i don't know how we can do that.

Edited by: Chad GEBELIN on Apr 20, 2015 8:24 PM
Alejandro Rosa

Posts: 23
Registered: 10/30/09
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 21, 2015 7:17 AM   in response to: Eli M in response to: Eli M
Eli M wrote:
You have to install both the IOS Development certificate and the IOS Distribution certificate. The debug (IOS Development) certificate is entirely different from the ad hoc one.

I installed both certificates, developer and distribution (in my case, for AppStore, not Ad Hoc). The debug deployment from XCode work fine, but do not work from XE8 (I use XCode since 2009).

I don´t understand what happend, but I can't work with XE8!. This is clearly a bug of IDE.
Borja Serrano

Posts: 172
Registered: 1/10/13
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 30, 2015 10:23 AM   in response to: Alejandro Rosa in response to: Alejandro Rosa
Hello Alejandro,

Can you try to select "KeyChain Access->View->Show expired certificates" and check if you have an expired developer certificate? If that is not the problem, could you try to delete the certificate cache:

sudo rm /var/db/crls/*cache.db

?

Let us know if it helped

Borja
Janez Atmapuri ...

Posts: 240
Registered: 2/8/00
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 21, 2015 8:59 AM   in response to: Chad GEBELIN in response to: Chad GEBELIN
Hello Chad,

I had the same issue in Android. I am not sure exactly what helped, but
deleting all subfolders was one thing. The second thing I also played around
is specifying new project name. For some reason I could no longer deploy
with the old project name even in fresh folder. The third thing is to clean
your project folder of all files which are not .pas, .dfm, .dpr and .dproj.
And finally you can try to recreate the project from scratch.

All these methods helped me in one case or another. Furthemore:

1.) If your compiler for iOS or Android deadlocks with "Internal compiler
error". Check the destination for a .o file which has zero length. Let the
IDE close and crash. Delete the .o file with zero length. After IDE restarts
don’t press "Build" for your project. Press F9 to continue the build
process. That will make the compiler continue from the point where it
crashed before. You can repeat this several times. This issue has been
present since the introduction of the compiler.

2.) When you get a linker error reporting that a file is too big, uncheck
the debug dcus in the compiler options. That will make the deployment file
smaller and the linker will work.

3.) Tweaks for XE8. In

[HKEY_CURRENT_USER\Software\Embarcadero\BDS\16.0\Known IDE Packages]

add two underscores to

ModernTheme220.bpl

and

Castalia220.bpl

Disabling modernTheme will make reset IDE font size back to normal which is
nice if you have a large desktop monitor.
Disabling Castalia will cause less bugs and things will just work faster. I
got this info from Peter Kazar.

Kind Regards!
Atmapuri
Chad GEBELIN

Posts: 31
Registered: 7/7/12
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 21, 2015 11:36 AM   in response to: Janez Atmapuri ... in response to: Janez Atmapuri ...
Thanks Janez,

i tried all u said but it does't work, it's the same error...
Janez Atmapuri ...

Posts: 240
Registered: 2/8/00
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 21, 2015 12:05 PM   in response to: Chad GEBELIN in response to: Chad GEBELIN
Dear Chad,

Have you noticed, the reply of Alejandro Rosa, that 64bit Debug is not
supported? Maybe that has something to do with it.

Kind Regards!
Atmapuri

"Chad GEBELIN" wrote in message news:721187 at forums dot embarcadero dot com...

Thanks Janez,

i tried all u said but it does't work, it's the same error...

Chad GEBELIN

Posts: 31
Registered: 7/7/12
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 21, 2015 10:08 PM   in response to: Janez Atmapuri ... in response to: Janez Atmapuri ...
Yes, i know and i'm trying only with 32 bits debug.
Thanks Janez

Janez Atmapuri Makovsek wrote:
Dear Chad,

Have you noticed, the reply of Alejandro Rosa, that 64bit Debug is not
supported? Maybe that has something to do with it.

Kind Regards!
Atmapuri

"Chad GEBELIN" wrote in message news:721187 at forums dot embarcadero dot com...

Thanks Janez,

i tried all u said but it does't work, it's the same error...

Brian Hamilton ...

Posts: 556
Registered: 10/14/04
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 27, 2015 8:00 PM   in response to: Chad GEBELIN in response to: Chad GEBELIN
Hi
I have the same problem
XE8
on a new Macbook
the problem looks to be, after setting to verbose mode in the terminal window for PAserver
that its looking for a provisioning profile in the folder
/Users/[yourusername]/Library/
but the Library folder does not exist
however
/Users/[yourusername] Shared/Library/

does exist
Chad GEBELIN

Posts: 31
Registered: 7/7/12
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 27, 2015 9:40 PM   in response to: Brian Hamilton ... in response to: Brian Hamilton ...
Brian Hamilton wrote:
Hi
I have the same problem
XE8
on a new Macbook
the problem looks to be, after setting to verbose mode in the terminal window for PAserver
that its looking for a provisioning profile in the folder
/Users/[yourusername]/Library/
but the Library folder does not exist
however
/Users/[yourusername] Shared/Library/

does exist

Not for me, the folder /Users/[yourusername]/Library/ does exist.

And my provisioning profiles are here :

/Users/[yourusername]/Library/MobileDevice/Provisioning Profiles
Brian Hamilton ...

Posts: 556
Registered: 10/14/04
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 28, 2015 4:19 AM   in response to: Chad GEBELIN in response to: Chad GEBELIN
you are right
I had to use finder and the go to folder (Library) to get to the that hidden folder

still struggling to get XE8 to code sign...will battle on...

update: making progress
the key is to add to the version info
CFBundleIdenitifier
the exact is needed there
e.g
[apple distribution code developer ID (organisational unit).com.[your company].[appname]

update; got it to work..i.e to code sign for app store
.the other trick was to delete the certificates on developer apple web site then get xcode to recreate them localy, so the key chain pair is correct , via accounts, view details


update: good info here
http://blogs.embarcadero.com/sarinadupont/2015/01/29/ios-813-app-deployment-steps-for-xe7/
re the entitlements.plist
I made the changes and bingo, deploys to device now :)

Edited by: Brian Hamilton on Apr 28, 2015 5:25 PM

Chad GEBELIN

Posts: 31
Registered: 7/7/12
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 29, 2015 8:31 AM   in response to: Brian Hamilton ... in response to: Brian Hamilton ...
Brian Hamilton wrote:
you are right
I had to use finder and the go to folder (Library) to get to the that hidden folder

still struggling to get XE8 to code sign...will battle on...

update: making progress
the key is to add to the version info
CFBundleIdenitifier
the exact is needed there
e.g
[apple distribution code developer ID (organisational unit).com.[your company].[appname]

update; got it to work..i.e to code sign for app store
.the other trick was to delete the certificates on developer apple web site then get xcode to recreate them localy, so the key chain pair is correct , via accounts, view details


update: good info here
http://blogs.embarcadero.com/sarinadupont/2015/01/29/ios-813-app-deployment-steps-for-xe7/
re the entitlements.plist
I made the changes and bingo, deploys to device now :)

Edited by: Brian Hamilton on Apr 28, 2015 5:25 PM


Thanks Brian,

And ok you can deploy to the device ( me too with ad-hoc mode ) but can you run a program in debug mode ?

Can you run to a breakpoint and easily debug your program ?

the link for Sarina Dupont work only for XE7, she wrote that with XE8 there is no problem, which option you did ? option C ?
Brian Hamilton ...

Posts: 556
Registered: 10/14/04
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 29, 2015 2:12 PM   in response to: Chad GEBELIN in response to: Chad GEBELIN
Hi
I managed to run without debugging OK to my iPad
I did not test run to break point/cursor
I also got , after finally getting all the ducks to line up, to get it signed OK for app store and have been able to update my iOS app with 64 bit support and its waiting for review

so I am a happy camper
Chad GEBELIN

Posts: 31
Registered: 7/7/12
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 30, 2015 8:29 AM   in response to: Brian Hamilton ... in response to: Brian Hamilton ...
Brian Hamilton Hamilton wrote:
Hi
I managed to run without debugging OK to my iPad
I did not test run to break point/cursor
I also got , after finally getting all the ducks to line up, to get it signed OK for app store and have been able to update my iOS app with 64 bit support and its waiting for review

so I am a happy camper

Ok thanks for responding

So i'm pretty sure that XE 8 and iOS 8.2 can't run in mode debug.

No one say that it works...
Brian Hamilton ...

Posts: 556
Registered: 10/14/04
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 1, 2015 8:33 PM   in response to: Chad GEBELIN in response to: Chad GEBELIN

So i'm pretty sure that XE 8 and iOS 8.2 can't run in mode debug.

No one say that it works...
I can do some testing...and get back to you..
Chad GEBELIN

Posts: 31
Registered: 7/7/12
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 1, 2015 11:30 PM   in response to: Brian Hamilton ... in response to: Brian Hamilton ...
Brian Hamilton Hamilton wrote:

So i'm pretty sure that XE 8 and iOS 8.2 can't run in mode debug.

No one say that it works...
I can do some testing...and get back to you..

Ok Brian, it would be great, thanks in advance
Chad GEBELIN

Posts: 31
Registered: 7/7/12
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 12, 2015 3:04 AM   in response to: Chad GEBELIN in response to: Chad GEBELIN
So is someone can run in mode debug with XE 8 and iOS 8.2 ( or iOS 8.3 ) ? ( please note version of xcode too )

and what about ad-hoc mode and Apple store ?

TIA
Chad
Borja Serrano

Posts: 172
Registered: 1/10/13
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 12, 2015 6:15 AM   in response to: Chad GEBELIN in response to: Chad GEBELIN
Yes, Xcode 6.3.1 and iOS 8.3. Have you checked if you have expired certificates (http://support.embarcadero.com/article/44432)? Have you also checked if you have filled correctly the CFBundleIdentifier(http://docwiki.embarcadero.com/RADStudio/XE8/en/Provisioning_an_iOS_Application#Creating_an_App_ID_for_Your_Application)? Don't you see any warning or error in the "Messages" window in RAD Studio? Have you tried with a brand new project in a new folder?
Chad GEBELIN

Posts: 31
Registered: 7/7/12
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 12, 2015 10:32 PM   in response to: Borja Serrano in response to: Borja Serrano
Borja Serrano wrote:
Yes, Xcode 6.3.1 and iOS 8.3. Have you checked if you have expired certificates (http://support.embarcadero.com/article/44432)? Have you also checked if you have filled correctly the CFBundleIdentifier(http://docwiki.embarcadero.com/RADStudio/XE8/en/Provisioning_an_iOS_Application#Creating_an_App_ID_for_Your_Application)? Don't you see any warning or error in the "Messages" window in RAD Studio? Have you tried with a brand new project in a new folder?

- Yes, i have checked certificates, one of them was expired and i create a new one.

- Yes, i set CFBundleIdentifier like this : com.mycompany.myapp

- i have tried one sample project and it's the same problem, error : Missing provisioning information, Distribution certificate has not been specified for the "Debug" platform configuration.

in project option, the certificate is shown, it's ok

i verify that provisioning file is set at : /Users/MyName/Library/MobileDevice/xxxxxx-xxxxx.mobileprovision

if i set PaServer in -v mode, it show me that certificate is found : command_line: "/usr/bin/security" find-certificate -p -c "iPhone Developer: My certificate dev (CertificateNumber)

But it's a wrong dev certificate number ( may be the expired certificate ) i suppose this one is in the device, i see it with iPhone config utility ( provisioning profile ) but i can not delete it !!!

where can i clean provisioning profile on device ?

Many thanks for your help !

Edited by: Chad GEBELIN on May 12, 2015 10:32 PM

Edited by: Chad GEBELIN on May 12, 2015 10:34 PM
Borja Serrano

Posts: 172
Registered: 1/10/13
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 13, 2015 4:28 AM   in response to: Chad GEBELIN in response to: Chad GEBELIN
If it is finding the wrong certificate I think that there is another expired certificate there. Review all the keychains (in KeyChain access you can change from one keychain to another on the upper left box) with the option "Show expired certificates" enabled to check if there is another certificate there.
Hans Jakobsen

Posts: 103
Registered: 9/10/01
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 13, 2015 5:21 AM   in response to: Chad GEBELIN in response to: Chad GEBELIN
Chad GEBELIN wrote:
But it's a wrong dev certificate number ( may be the expired certificate ) i suppose this one is in the device, i see it with iPhone config utility ( provisioning profile ) but i can not delete it !!!

where can i clean provisioning profile on device ?

You can install a new provisioning profile on your device with Xcode. Open "Devices" from the window menu. In the left column right click on your device and choose "Show Provisioning Profiles". Here you can delete and add other profiles using the +/- buttons.
Jeroen Lusthof

Posts: 1
Registered: 2/13/12
Re: XE8 and iOS 8.2
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 20, 2015 12:20 PM   in response to: Chad GEBELIN in response to: Chad GEBELIN
Changing the access control for the certificate (in keychain on mac) from previous version of XCode to latest version helped me to eliminate these problems.

Chad GEBELIN wrote:
Hi all,

I can"t deploy on iOS platform ( iPad ), i have this error :

"[Error Erreur] Missing provisioning information. Distribution certificate has not been specified for the "Debug" platform configuration."

In option , provisioning are set to auto

And the help say that in debug mode no need to set provisioning information... ?!
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02