Hi - I am trying to run my project on my iOS device (iPhone 5) and I am running into issues with files not being found. When I use Xcode to launch my project (I am following the instructions in another post), the splash screen shows up but files located in the content
folder are not found. For example, loading the project file fails. Here are the first few lines of debug output when I start my app:
2015-08-05 13:37:39.057 UE4Game[1400:1328882] Found ue4commandline.txt file
2015-08-05 13:37:39.058 UE4Game[1400:1328882] Combined iOS Commandline: ../../../SkookumDemo/SkookumDemo.uproject
2015-08-05 13:37:39.328 UE4Game[1400:1328882] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
========= This app is in LANDSCAPE mode
2015-08-05 13:37:39.347 UE4Game[1400:1328882] Attempting to badge the application icon but haven't received permission from the user to badge the application
2015-08-05 13:37:40.959 UE4Game[1400:1328973] [2015.08.05-20.37.40:958][ 0]LogInit:Display: Running engine for game: SkookumDemo
2015-08-05 13:37:40.959 UE4Game[1400:1328973] [2015.08.05-20.37.40:959][ 0]LogInit:Display: Project file not found: ../../../SkookumDemo/SkookumDemo.uproject
2015-08-05 13:37:40.960 UE4Game[1400:1328973] [2015.08.05-20.37.40:960][ 0]LogInit:Display: (CWD = /)
2015-08-05 13:37:40.960 UE4Game[1400:1328973] [2015.08.05-20.37.40:960][ 0]LogInit:Display: Attempting to find via project info helper.
2015-08-05 13:37:40.961 UE4Game[1400:1328973] [2015.08.05-20.37.40:961][ 0]LogUProjectInfo: Found projects:
2015-08-05 13:37:40.962 UE4Game[1400:1328973] [2015.08.05-20.37.40:962][ 0]LogModuleManager:Warning: ModuleManager: Module 'HTTPChunkInstaller' not found - its StaticallyLinkedModuleInitializers function is null.
2015-08-05 13:37:40.962 UE4Game[1400:1328973] [2015.08.05-20.37.40:962][ 0]LogModuleManager:Warning: ModuleManager: Module 'HTTPChunkInstaller' not found - its StaticallyLinkedModuleInitializers function is null.
The project file is specified using a relative path ( ../../../SkookumDemo/SkookumDemo.uproject
) which just gets passed down to the iOS file system, and I added code that prints the current working directory (getcwd
) at the point, and it’s /
. This appears to be not an issue with the pak file, as I later try to load a plain file outside the pak file and run into the same issue ( FPaths::GameContentDir()
is ../../../SkookumDemo/Content
and getcwd()
is /
).
What am I doing wrong?
Thanks for your help!