0
在下面的System.StartUpCopy代码中,DirectoryExists(Source)返回false。为什么FireMonkey CopyStartUpFiles在iPad 2设备上失败?
{$IF Defined(IOS)}
Source := UTF8ToString(Bundle.bundlePath.UTF8String) + PathDelim + 'StartUp' + PathDelim;
{$ENDIF IOS}
if DirectoryExists(Source) then
DoCopyFiles(Source, Destination);
这是东京10.2和10.1柏林在“开发模式”靶向使用iPad 2的SDK 10.2使用32位应用程序。 iPad 2的运行IOS 9.3.5
调试器显示的“源”的值是: /var/containers/Bundle/Application//Project1.app/Startup/
的部署和配置所有似乎没问题,上面的代码在定位IOS模拟器时工作正常。 Startup目录确实存在于Mac上PAServer文件夹中的Project1.app中。任何可能导致bundlePath无法找到的线索?