Archiv für den Monat: Mai 2016

Delphi 10.x :: MSBuild, rsvars.bat and BDSCOMMONDIR

MSBuild uses ..\Studio\XX.0\bin\rsvars.bat to set the environment and quite a few people seem to use MSBuild for many things ( I admit I never directly used it yet).

One task it is used for is installation of packages (like TMS Subscription Manager does for example) . And here comes the pitfall:
If you changed  BDSCOMMONDIR  (where Bpls, Dcps etc are saved in sub folders) in options this change is not reflected in rsvars.bat, it still uses the standard path.

Edit:
As Uwe Raab mentioned in a comment on google+  – and I add this for clarification – Bpl’s, Dcp’s are stored in subfolders of BDSCOMMONDIR as defined on the library page for each platform. I just override BDSCOMMONDIR to move everything away from my C:\ drive and I would except from an IDE that a change in one place of environmental settings is reflected everywhere.
But this again might be „by contract“ or „by design“.</sarcasm off>

Delphi 10.1 :: Font.Style internal (*.fmx) replaced by StyleExt

This is a label in FireMonkey in 10.0 Seattle

[Delphi]
object Label1: TLabel
Align = Center
AutoSize = True
StyledSettings = [Family]
Size.Width = 79.000000000000000000
Size.Height = 24.000000000000000000
Size.PlatformDefault = False
TextSettings.Font.Size = 18.000000000000000000
TextSettings.Font.Style = [fsBold]
TextSettings.FontColor = claGold
TextSettings.WordWrap = False
Text = ‚Test App‘
end
[/Delphi]

and this in 10.1. Berlin

[Delphi]
object Label1: TLabel
Align = Center
AutoSize = True
StyledSettings = [Family]
Size.Width = 74.000000000000000000
Size.Height = 24.000000000000000000
Size.PlatformDefault = False
TextSettings.Font.Size = 18.000000000000000000
TextSettings.Font.StyleExt = {00070000000000000004000000}
TextSettings.FontColor = claGold
TextSettings.WordWrap = False
Text = ‚Test App‘
end

[/Delphi]

Delphi 10.x :: GetIt -> JEDI JCL Installer not working as intended

  • Installation from GetIt in Delphi 10.0
  • Installer wanted to install all 4 versions so said no to „keep installation values“
    (wrong values for advanced options)
  • But started immediately installation without letting me edit / change installation values
  • compiler crashed somewhere in the width of installation but went on after click on „Abort“ in exception dialog
  • deinstallation shows dialog for registration of HTML Help 2.0 files ??
  • another  -1 for GetIt
  • going back to manual installation

Delphi 10.x :: PAClient Exit Code 1

This is a nasty one and IMHO Embarcadero did a really bad job here !

  • switch PAServer-17.0 in terminal window with „v“ to verbose output
  • check last line in terminal window
  • if it looks similar to this
    „/usr/bin/codesign“ –deep -s „iPhone Developer: Michael Jung (…)“ -f „/Users/jung/PAServer/scratch-dir/jung-MyMac/TestiOS.app“
  • copy and paste this line in a new terminal window
  • hit enter and check the message you get
  • the error message will be about „ambiguous certificates …“
  • check you keychain accordingly

Why not just catch and show the result of the codesign utility ?

Delphi 10.x :: iOS Output: Err=Unable to mount Developer Disk Image. (E800000E)

Next error … becoming a real nightmare.

  • Xcode up-to-date
  • Command line tools installed and up-to-date
  • Certificate valid and up-to-date
  • Provisioning profile valid and up-to-date
  • SDK up-to-date
  • iPhone iOS up-to-date
  • iPhone registered as developer device
  • iPhone Provisioning profile installed
  • tested that Xcode can compile, deploy and run an app on my iPhone

Anything missing or else I can do ?

EDIT:
Maybe I found the reason for as I checked and found

  • Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/9.3  (13E230)/DeveloperDiskImage.dmg
  • but with latest iOS update we have iOS 9.3 (13F69)

Is this causing all the trouble now ???