Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while trying to package for IOS #3

Open
appandgametech opened this issue Apr 6, 2023 · 3 comments
Open

Error while trying to package for IOS #3

appandgametech opened this issue Apr 6, 2023 · 3 comments

Comments

@appandgametech
Copy link

Hi I got the following error while trying to package using Mac for IOS. it builds for Mac successfully, just not IOS.

UATHelper: Packaging (IOS): [3/41] Compile SharedPCH.Engine.ShadowErrors.InclOrderUnreal5_0.h
UATHelper: Packaging (IOS): [4/41] Compile MyClass.cpp
UATHelper: Packaging (IOS): [5/41] Compile glTFRuntimeSoundWave.gen.cpp
UATHelper: Packaging (IOS): [6/41] Compile Module.AppLovinMAX.cpp
UATHelper: Packaging (IOS): [7/41] Compile ReadyPlayer.cpp
UATHelper: Packaging (IOS): [8/41] Compile glTFRuntimeParserAudio.cpp
UATHelper: Packaging (IOS): [9/41] Compile glTFRuntime.cpp
UATHelper: Packaging (IOS): [10/41] Compile Module.MultiplayerSessions.cpp
UATHelper: Packaging (IOS): In file included from /Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Plugins/MultiplayerSessions/Intermediate/Build/IOS/UnrealGame/Shipping/MultiplayerSessions/Module.MultiplayerSessions.cpp:2:
UATHelper: Packaging (IOS): In file included from /Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Plugins/MultiplayerSessions/Intermediate/Build/IOS/UnrealGame/Inc/MultiplayerSessions/UHT/Menu.gen.cpp:8:
UATHelper: Packaging (IOS): /Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Plugins/MultiplayerSessions/Source/MultiplayerSessions/Public/Menu.h:7:10: fatal error: 'Interfaces/OnlineSessionInterface.h' file not found
UATHelper: Packaging (IOS): #include "Interfaces/OnlineSessionInterface.h"
UATHelper: Packaging (IOS): ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UATHelper: Packaging (IOS): 1 error generated.
PackagingResults: Error: 'Interfaces/OnlineSessionInterface.h' file not found
UATHelper: Packaging (IOS): [11/41] Compile glTFAnimBoneCompressionCodec.gen.cpp
UATHelper: Packaging (IOS): [12/41] Compile glTFRuntimeAnimationCurve.cpp
UATHelper: Packaging (IOS): [13/41] Compile glTFRuntimeAsset.gen.cpp
UATHelper: Packaging (IOS): [14/41] Compile glTFRuntimeAssetActor.cpp
UATHelper: Packaging (IOS): [15/41] Compile glTFAnimCurveCompressionCodec.gen.cpp
UATHelper: Packaging (IOS): [16/41] Compile glTFRuntimeLight.cpp
UATHelper: Packaging (IOS): [17/41] Compile glTFRuntimeParserMaterials.cpp
UATHelper: Packaging (IOS): [18/41] Compile Module.ReadyPlayerMe.cpp
UATHelper: Packaging (IOS): [19/41] Compile glTFRuntimeFunctionLibrary.gen.cpp
UATHelper: Packaging (IOS): [20/41] Compile glTFRuntimeParserStaticMeshes.cpp
LogDerivedDataCache: /Users/caataiwi/Library/Application Support/Epic/UnrealEngine/Common/DerivedDataCache: Maintenance finished in +00:02:07.426 and deleted 0 files with total size 0 MiB. Scanned 81972 files in 47023 folders with total size 5139 MiB.
UATHelper: Packaging (IOS): [21/41] Compile glTFRuntimeParserCustom.cpp
UATHelper: Packaging (IOS): [22/41] Compile glTFRuntimeAsset.cpp
UATHelper: Packaging (IOS): [23/41] Compile glTFRuntimeAnimationCurve.gen.cpp
UATHelper: Packaging (IOS): [24/41] Compile glTFRuntimeParser.gen.cpp
UATHelper: Packaging (IOS): [25/41] Compile glTFRuntimeAssetActorAsync.cpp
UATHelper: Packaging (IOS): [26/41] Compile glTFRuntimeSoundWave.cpp
UATHelper: Packaging (IOS): [27/41] Compile glTFRuntime.init.gen.cpp
UATHelper: Packaging (IOS): [28/41] Compile glTFRuntimeFunctionLibrary.cpp
UATHelper: Packaging (IOS): [29/41] Compile glTFAnimCurveCompressionCodec.cpp
UATHelper: Packaging (IOS): [30/41] Compile glTFRuntimeAssetActorAsync.gen.cpp
UATHelper: Packaging (IOS): [31/41] Compile glTFAnimBoneCompressionCodec.cpp
UATHelper: Packaging (IOS): [32/41] Compile glTFRuntimeParser.cpp
UATHelper: Packaging (IOS): [33/41] Compile glTFRuntimeParserSkeletalMeshes.cpp
UATHelper: Packaging (IOS): [34/41] Compile glTFRuntimeAssetActor.gen.cpp
UATHelper: Packaging (IOS): [35/41] sh /Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Binaries/IOS/ReadyPlayer-IOS-Shipping cancelled
UATHelper: Packaging (IOS): [36/41] sh -c "rm -rf "/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Binaries/IOS/ReadyPlayer-IOS-Shipping.dSYM"; "/usr/bin/dsymutil" "/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Binaries/IOS/ReadyPlayer-IOS-Shipping" -f -o "/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Binaries/IOS/ReadyPlayer-IOS-Shipping.dSYM"" cancelled
UATHelper: Packaging (IOS): [37/41] xcrun actool --output-format human-readable-text --notices --warnings --output-partial-info-plist "/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Intermediate/IOS/Resources/assetcatalog_generated_info.plist" --app-icon AppIcon --product-type com.apple.product-type.application --target-device iphone --target-device ipad --minimum-deployment-target 15.0 --platform iphoneos --enable-on-demand-resources YES --compile "/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Binaries/IOS/Payload/ReadyPlayer.ap
p" "/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Intermediate/IOS/Resources/Assets.xcassets" cancelled
UATHelper: Packaging (IOS): [38/41] sh Stripping symbols from /Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Binaries/IOS/ReadyPlayer-IOS-Shipping cancelled
UATHelper: Packaging (IOS): [39/41] Copying EOSSDK.framework to app bundle cancelled
UATHelper: Packaging (IOS): [40/41] IOSPostBuildSync Executing PostBuildSync cancelled
UATHelper: Packaging (IOS): [41/41] WriteMetadata ReadyPlayer-IOS-Shipping.target cancelled
UATHelper: Packaging (IOS): Took 201.768976s to run dotnet, ExitCode=6
UATHelper: Packaging (IOS): UnrealBuildTool failed. See log for more details. (/Users/caataiwi/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-ReadyPlayer-IOS-Shipping.txt)
UATHelper: Packaging (IOS): AutomationTool executed for 0h 3m 25s
UATHelper: Packaging (IOS): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (IOS): RunUAT ERROR: AutomationTool was unable to run successfully. Exited with code: 6
PackagingResults: Error: AutomationTool was unable to run successfully. Exited with code: 6
PackagingResults: Error: Unknown Error
LogSlate: Took 0.001719 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Light.ttf' (167K)
LogUObjectHash: Compacting FUObjectHashTables data took 3.58ms
LogTurnkeySupport: Selected target: ReadyPlayer
LogLauncherProfile: Unable to use promoted target - ../../../../../../../../../../Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Binaries/IOS/ReadyPlayer-IOS-Shipping.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ /usr/bin/env -- "/Volumes/SSD1/Users/caataiwi/Library/Games/UE_5.1/Engine/Build/BatchFiles/RunUAT.command" -ScriptsForProject="/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/ReadyPlayer.uproject" Turnkey -command=VerifySdk -platform=IOS -UpdateIfNeeded -EditorIO -EditorIOPort=52309 -project="/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/ReadyPlayer.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="/Users/caataiwi/Documents/Unreal Projects/
ReadyPlayer_Current_5_1_1_current_MP/ReadyPlayer.uproject" -target=ReadyPlayer -unrealexe="/Volumes/SSD1/Users/caataiwi/Library/Games/UE_5.1/Engine/Binaries/Mac/UnrealEditor.app/Contents/MacOS/UnrealEditor" -platform=IOS -SkipCookingEditorContent -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory="/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Binaries" -distribution -clientconfig=Shipping -nodebuginfo -nocompile -nocompileuat ]
UATHelper: Packaging (IOS): Running AutomationTool...
UATHelper: Packaging (IOS): Found mono via known Mono.framework path
UATHelper: Packaging (IOS): Running system mono/msbuild, version: Mono JIT compiler version 6.12.0.188 (2020-02/ca8abcb6bc4 Thu Oct 13 14:26:22 EDT 2022)
UATHelper: Packaging (IOS): Setting up bundled DotNet SDK
UATHelper: Packaging (IOS): /Volumes/SSD1/Users/caataiwi/Library/Games/UE_5.1/Engine/Build/BatchFiles/Mac/../../../Binaries/ThirdParty/DotNet/6.0.302/mac-x64
UATHelper: Packaging (IOS): Start UAT Non-Interactively: dotnet AutomationTool.dll -ScriptsForProject=/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/ReadyPlayer.uproject Turnkey -command=VerifySdk -platform=IOS -UpdateIfNeeded -EditorIO -EditorIOPort=52309 -project=/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/ReadyPlayer.uproject BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/ReadyPlayer.uproject -target=ReadyPlayer -u
nrealexe=/Volumes/SSD1/Users/caataiwi/Library/Games/UE_5.1/Engine/Binaries/Mac/UnrealEditor.app/Contents/MacOS/UnrealEditor -platform=IOS -SkipCookingEditorContent -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Binaries -distribution -clientconfig=Shipping -nodebuginfo -nocompile -nocompileuat
UATHelper: Packaging (IOS): Starting AutomationTool...
UATHelper: Packaging (IOS): Parsing command line: -ScriptsForProject="/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/ReadyPlayer.uproject" Turnkey -command=VerifySdk -platform=IOS -UpdateIfNeeded -EditorIO -EditorIOPort=52309 -project="/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/ReadyPlayer.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/ReadyPlayer.uproject" -target=ReadyPlayer -unrealexe=/Volumes/SSD1/User
s/caataiwi/Library/Games/UE_5.1/Engine/Binaries/Mac/UnrealEditor.app/Contents/MacOS/UnrealEditor -platform=IOS -SkipCookingEditorContent -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory="/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Binaries" -distribution -clientconfig=Shipping -nodebuginfo -nocompile -nocompileuat
UATHelper: Packaging (IOS): Initializing script modules...
UATHelper: Packaging (IOS): Total script module initialization time: 0.23 s.
UATHelper: Packaging (IOS): Executing commands...
UATHelper: Packaging (IOS): Installed Sdk validity:
UATHelper: Packaging (IOS): IOS: (Status=Valid, MinAllowed_Sdk=13.4.0, MaxAllowed_Sdk=14.9.9, Current_Sdk=14.1, Allowed_AutoSdk=13.3, Current_AutoSdk=, Flags="InstalledSdk_ValidVersionExists")
UATHelper: Packaging (IOS): Scanning for envvar changes...
UATHelper: Packaging (IOS): ... done!
UATHelper: Packaging (IOS): Cleaning Temp Paths...
UATHelper: Packaging (IOS): BUILD SUCCESSFUL
UATHelper: Packaging (IOS): Setting up ProjectParams for /Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/ReadyPlayer.uproject
UATHelper: Packaging (IOS): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (IOS): Running: /Volumes/SSD1/Users/caataiwi/Library/Games/UE_5.1/Engine/Binaries/ThirdParty/DotNet/6.0.302/mac-x64/dotnet "/Volumes/SSD1/Users/caataiwi/Library/Games/UE_5.1/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll" ReadyPlayer IOS Shipping -Project="/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/ReadyPlayer.uproject" "/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/ReadyPlayer.uproject" -NoUBTMakefiles -remoteini="/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_M
P" -skipdeploy -distribution -Manifest="/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Intermediate/Build/Manifest.xml" -NoHotReload -log="/Users/caataiwi/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-ReadyPlayer-IOS-Shipping.txt"
UATHelper: Packaging (IOS): Log file: /Users/caataiwi/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-ReadyPlayer-IOS-Shipping.txt
UATHelper: Packaging (IOS): AppLovin IOS Plugin found
UATHelper: Packaging (IOS): Compiling against OS Version 14.0 [minimum allowed at runtime]
UATHelper: Packaging (IOS): Parsing headers for ReadyPlayer
UATHelper: Packaging (IOS): Running Internal UnrealHeaderTool "/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/ReadyPlayer.uproject" "/Users/caataiwi/Documents/Unreal Projects/ReadyPlayer_Current_5_1_1_current_MP/Intermediate/Build/IOS/ReadyPlayer/Shipping/ReadyPlayer.uhtmanifest" -WarningsAsErrors -installed
UATHelper: Packaging (IOS): Total of 0 written
UATHelper: Packaging (IOS): Reflection code generated for ReadyPlayer in 1.8872955 seconds
UATHelper: Packaging (IOS): /Applications/Xcode.app/Contents/Developer
UATHelper: Packaging (IOS): Compiling with iPhoneOS SDK 16.1
UATHelper: Packaging (IOS): Missing precompiled manifest for 'SteamShared', '/Volumes/SSD1/Users/caataiwi/Library/Games/UE_5.1/Engine/Plugins/Runtime/Steam/SteamShared/Intermediate/Build/IOS/UnrealGame/Shipping/SteamShared/SteamShared.precompiled'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in SteamShared.build.cs to override. If part of a plugin, also check if its 'Type' is correct.
UATHelper: Packaging (IOS): Took 7.8821509999999995s to run dotnet, ExitCode=6
UATHelper: Packaging (IOS): UnrealBuildTool failed. See log for more details. (/Users/caataiwi/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-ReadyPlayer-IOS-Shipping.txt)
UATHelper: Packaging (IOS): AutomationTool executed for 0h 0m 11s
UATHelper: Packaging (IOS): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (IOS): RunUAT ERROR: AutomationTool was unable to run successfully. Exited with code: 6
PackagingResults: Error: AutomationTool was unable to run successfully. Exited with code: 6
PackagingResults: Error: Unknown Error

@appandgametech
Copy link
Author

Looks like something to with the following errors:

  • ATHelper: Packaging (IOS): Missing precompiled manifest for 'SteamShared',
    -Projects/ReadyPlayer_Current_5_1_1_current_MP/Plugins/MultiplayerSessions/Source/MultiplayerSessions/Public/Menu.h:7:10: fatal error: 'Interfaces/OnlineSessionInterface.h' file not found
    UATHelper: Packaging (IOS): #include "Interfaces/OnlineSessionInterface.h"
    UATHelper: Packaging (IOS): ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    UATHelper: Packaging (IOS): 1 error generated.
    PackagingResults: Error: 'Interfaces/OnlineSessionInterface.h' file not found
    UATHelper: Packaging (IOS): [11/41] Compile glTFAnimBoneCompressionCodec

@appandgametech
Copy link
Author

im using unreal engine version 5.1.1
and building on Mac for IOS platform.

@ngoalongcang
Copy link

can be use on macos and IOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants