AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Cross-Platform-Entwicklung iOS Build fails on Signing - XCode 11.5, Rad Studio 10.4.1
Thema durchsuchen
Ansicht
Themen-Optionen

iOS Build fails on Signing - XCode 11.5, Rad Studio 10.4.1

Ein Thema von Alex40 · begonnen am 8. Jan 2021 · letzter Beitrag vom 8. Jan 2021
Antwort Antwort
Alex40

Registriert seit: 20. Dez 2020
Ort: Bulgaria
4 Beiträge
 
Delphi 10.4 Sydney
 
#1

iOS Build fails on Signing - XCode 11.5, Rad Studio 10.4.1

  Alt 8. Jan 2021, 16:12
Rad Studio 10.4.1 with all the latest patches for Apple, macOS Catalina, Xcode 11.5, PAServer version 12.1.10.5, iOS version 14.2.

When I try to build my app this is the error my Rad Studio throws on Signing process:

[PAClient Error] Error: E0264 Unable to execute '"/usr/bin/codesign" --entitlements "/Users/MyUser/PAServer/scratch-dir/MyMacName/MyAppName.entitlements" -s "Apple Distribution: MyAppName ({Indentifier})" -f "/Users/MyUser/PAServer/scratch-dir/MyMacName/MyAppName.app"' (Error 1)

[PAClient Error] Error: E0264 Failed to parse entitlements: AMFIUnserializeXML: duplicate dictionary key near line 25

This is the generated entitlements file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>

<key>application-identifier</key>
<string>{Indentifier}.com.MyAppName .app</string>

<key>get-task-allow</key>
<false/>
<key>com.apple.developer.team-identifier</key>
<string>{Indentifier}</string>
<key>aps-environment</key>
<string>production</string>
<key>com.apple.developer.associated-domains</key>
<string>*</string>
<key>keychain-access-groups</key>
<array>
<string>{Indentifier}.com.MyAppName.app</string>
<string>com.apple.token</string>
</array>
<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:www.MyAppName.com</string>
</array>
</dict>
</plist>

Any help would be highly appresiated ! Thank you in advance !
Alex Sertev
  Mit Zitat antworten Zitat
shebang

Registriert seit: 7. Feb 2020
124 Beiträge
 
Delphi 11 Alexandria
 
#2

AW: iOS Build fails on Signing - XCode 11.5, Rad Studio 10.4.1

  Alt 8. Jan 2021, 16:57
As already written in the error message:
Code:
[PAClient Error] Error: E0264 Failed to parse entitlements: AMFIUnserializeXML: duplicate dictionary key near line 25
the key "com.apple.developer.associated-domains" exists two times in your dictionary.
  Mit Zitat antworten Zitat
Alex40

Registriert seit: 20. Dez 2020
Ort: Bulgaria
4 Beiträge
 
Delphi 10.4 Sydney
 
#3

AW: iOS Build fails on Signing - XCode 11.5, Rad Studio 10.4.1

  Alt 8. Jan 2021, 17:01
That's a good point, do you know how I can make changes on the entitlements file?

As already written in the error message:
Code:
[PAClient Error] Error: E0264 Failed to parse entitlements: AMFIUnserializeXML: duplicate dictionary key near line 25
the key "com.apple.developer.associated-domains" exists two times in your dictionary.
Alex Sertev
  Mit Zitat antworten Zitat
Alex40

Registriert seit: 20. Dez 2020
Ort: Bulgaria
4 Beiträge
 
Delphi 10.4 Sydney
 
#4

AW: iOS Build fails on Signing - XCode 11.5, Rad Studio 10.4.1

  Alt 8. Jan 2021, 18:56
I managed to fix this with WORK AROUND. As you said the problem appears by the duplicated <key> com .apple.developer.associated-domains </ key>.

A have to figure out how to NOT generate this line anymore:

<key> com .apple.developer.associated-domains </ key>
<string> * </string>

... to be able to add my link at the end of the entitlements template file:

<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:www.MyAppName.com</string>
</array>

That's a good point, do you know how I can make changes on the entitlements file?

As already written in the error message:
Code:
[PAClient Error] Error: E0264 Failed to parse entitlements: AMFIUnserializeXML: duplicate dictionary key near line 25
the key "com.apple.developer.associated-domains" exists two times in your dictionary.
Alex Sertev

Geändert von Alex40 ( 8. Jan 2021 um 20:07 Uhr)
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:54 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz