hyeong 0 Posted February 1, 2021 I was asked a question because the error could not be resolved during IOS app development and distribution... (I tried googleling my own to solve it, but it was my first time on the IOS side, so I got to seek help due to limitations. The Delphi version is 10.4. If you compile with IOS Device 64-bit = Configuration = Development, it compiles well on the iPhone device, Development continued. [Provisioning has been set up for all (Application Store, Development, Ad hoc ), and I checked the option to connect the certificate. ] To register on the App Store When distributing Ad hoc or Application Store, the following error occurs. ================================================== ============ [PAClient Error] Error: E0776 ** EXPORT FAILED ** [PAClient Error] Error: E0776 error: Couldn't load -exportOptionsPlist: The data couldn’t be read because it isn’t in the correct format. [PAClient Error] Error: E0776 Swift.DecodingError.dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not a valid property list.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Encountered unexpected character A on line 14 while looking for close tag" UserInfo={NSDebugDescription=Encountered unexpected character A on line 14 while looking for close tag, kCFPropertyListOldStyleParsingError=Error Domain=NSCocoaErrorDomain Code=3840 "Malformed data byte group at line 1; invalid hex" UserInfo={NSDebugDescription=Malformed data byte group at line 1; invalid hex}}))) ================================================== ========== Xcode version is 11.7, iOS software version is 13.7. Share this post Link to post
John van de Waeter 7 Posted February 1, 2021 Most of my problems with deploying iOS apps disappeared when I: - deleted the IOSDevice directory - deleted the Launchscreen.TemplateiOS, - deleted Entitlement.TemplateiOS.xml - made sure every icon in project/Options has its own file and rebuild Not sure if this helps you though... I'm no iOS guru... Share this post Link to post
hyeong 0 Posted February 2, 2021 (edited) 18 hours ago, John van de Waeter said: Most of my problems with deploying iOS apps disappeared when I: - deleted the IOSDevice directory - deleted the Launchscreen.TemplateiOS, - deleted Entitlement.TemplateiOS.xml - made sure every icon in project/Options has its own file and rebuild Not sure if this helps you though... I'm no iOS guru... Thanks for the answer. -Remove iOS Device 64 folder -Remove LaunchScreen.TemplateS folder -Remove Entitlement.TemplateiOS.xml file Add to -info.plist.TemplateiOS.xml file removed All icons and images have been changed to default. Project -> Build => Ok Project > Deployment -> Deploy => I got the same error though... Is there any way I can try more..?? @Delployment@ Edited February 2, 2021 by hyeong Share this post Link to post
weabow 6 Posted February 2, 2021 What I did in the past for such these problems : remove target platform in the project (remove IOS) clean project files just to remove all ios files then exit Delphi, and restart, reinstall target plateform, compile and deploy. Hope this helps. Share this post Link to post
Rollo62 536 Posted February 2, 2021 For issues like that I have a Clean_EXE.cmd batch file, removing all created files and folders externally. An internal clean is not good enough in most cases. I usually run clean and build all before any important change or release. In case of issues I step through the different shades of clean step-by-step, as not always a brutal full clean is needed. But I didn't need to re-install the target platform yet, anyhow maybe the days will come Good to know there is another shade of clean in the portfolio. Share this post Link to post
John van de Waeter 7 Posted February 2, 2021 Hyeong, what happens if you create a new, blank app? (just use the same name and provisioning as the original app) Share this post Link to post