Unable to build/ launch project for iOS

Unreal engine version: 4.7.2

iOS version: 8.2

OSX Version: 10.10.2

Provision profiles, certificates and app identifiers are setup correctly…

Please see the relevant part of my Log File below:

LogPlayLevel: env: Build settings from command line:
LogPlayLevel: env:     CODE_SIGN_IDENTITY = iPhone Developer
LogPlayLevel: env:     SDKROOT = iphoneos8.2
LogPlayLevel: env:
LogPlayLevel: env: 2015-03-13 16:07:34.584 xcodebuild[85466:3582993] stream error: stream error at offset 29: created by an unsupported XCDependencyGraph build
LogPlayLevel: env: === BUILD TARGET UE4Game - iOS OF PROJECT psdmobile_IOS WITH CONFIGURATION Development ===
LogPlayLevel: env:
LogPlayLevel: env: Check dependencies
LogPlayLevel: env: 2015-03-13 16:07:34.794 xcodebuild[85466:3582993]  DVTAssertions: ASSERTION FAILURE in /SourceCache/DVTFrameworks/DVTFrameworks-6760/DVTFoundation/DeveloperStructure/DVTExtendedPlatformInfo.m:39
LogPlayLevel: env: Details:  No Xcode.DVTFoundation.ExtendedPlatformInfo extension provided for platform 'com.apportable.platform.android'
LogPlayLevel: env: Object:   <DVTExtendedPlatformInfo>
LogPlayLevel: env: Method:   +extendedPlatformInfoForPlatformIdentifier:
LogPlayLevel: env: Thread:   <NSThread: 0x7fafc8943eb0>{number = 5, name = (null)}
LogPlayLevel: env: Hints: None
LogPlayLevel: env: Backtrace:
LogPlayLevel: env:   0  0x000000010df4073a -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
LogPlayLevel: env:   1  0x000000010df4018f _DVTAssertionHandler (in DVTFoundation)
LogPlayLevel: env:   2  0x000000010df4047e _DVTAssertionFailureHandler (in DVTFoundation)
LogPlayLevel: env:   3  0x000000010df5d316 +[DVTExtendedPlatformInfo extendedPlatformInfoForPlatformIdentifier:] (in DVTFoundation)
LogPlayLevel: env:   4  0x000000010df5e374 -[DVTPlatform(DVTExtendedPlatformInfo) dvt_extendedInfo] (in DVTFoundation)
LogPlayLevel: env:   5  0x00000001157cf4b1 -[DTDKProvisioningProfile dvt_platform] (in DTDeviceKitBase)
LogPlayLevel: env:   6  0x000000010df25860 DVTProvisioningProfileAllowsEntitlements (in DVTFoundation)
LogPlayLevel: env:   7  0x000000010df3c259 __216+[DVTCodesignResolver parametersForTeamID:bundleIdentifier:entitlements:requiredFeatures:applicableSigningIdentityCertificates:platform:requiredCodesignableDevices:requiresProfile:profileManager:logAspect:withError:]_block_invoke459 (in DVTFoundation)
LogPlayLevel: env:   8  0x000000010dde4f76 -[NSSet(DVTNSSetAdditions) dvt_setByFilteringUsingBlock:] (in DVTFoundation)
LogPlayLevel: env:   9  0x000000010df3aeab +[DVTCodesignResolver parametersForTeamID:bundleIdentifier:entitlements:requiredFeatures:applicableSigningIdentityCertificates:platform:requiredCodesignableDevices:requiresProfile:profileManager:logAspect:withError:] (in DVTFoundation)
LogPlayLevel: env:  10  0x000000010df3a55d +[DVTCodesignResolver parametersForTeamID:certificateKind:bundleIdentifier:entitlements:requiredFeatures:limitSearchToKeychain:platform:requiredCodesignableDevices:requiresProfile:certificateUtilities:withError:] (in DVTFoundation)
LogPlayLevel: env:  11  0x000000010f9d3a46 +[XCCodeSignContext codesignParameterSnapshotWithMacroExpansionScope:emitWarnings:certificateUtilities:error:] (in DevToolsCore)
LogPlayLevel: env:  12  0x000000010f9d3f76 +[XCCodeSignContext prepareForCodeSigningWithMacroExpansionScope:certificateUtilities:] (in DevToolsCore)
LogPlayLevel: env:  13  0x000000010f94041e -[XCProductTypeSpecification computeDependenciesWithMacroExpansionScope:] (in DevToolsCore)
LogPlayLevel: env:  14  0x000000010f9e58eb -[XCNativeTargetDGSnapshot(DependencyGraphCreation) computeDependenciesWithMacroExpansionScope:] (in DevToolsCore)
LogPlayLevel: env:  15  0x000000010f8be3fa -[PBXTargetBuildContext createDependencyGraphWithTargetDGSnapshot:] (in DevToolsCore)
LogPlayLevel: env:  16  0x000000010f8dbe0a -[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:] (in DevToolsCore)
LogPlayLevel: env:  17  0x000000010f8da9a8 -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] (in DevToolsCore)
LogPlayLevel: env:  18  0x000000010f937d60 -[XCBlockQueue _processNextBlockInThreadSlotNumber:] (in DevToolsCore)
LogPlayLevel: env:  19  0x000000010f938030 -[XCBlockQueue _processBlocksInThreadSlotNumber:] (in DevToolsCore)
LogPlayLevel: env:  20  0x00007fff965ab90a __NSThread__main__ (in Foundation)
LogPlayLevel: env:  21  0x00007fff8f1fe268 _pthread_body (in libsystem_pthread.dylib)
LogPlayLevel: env:  22  0x00007fff8f1fe1e5 _pthread_body (in libsystem_pthread.dylib)
LogPlayLevel: env:  23  0x00007fff8f1fc41d thread_start (in libsystem_pthread.dylib)
LogPlayLevel: CommandUtils.Run: Run: Took 1.843373s to run env, ExitCode=134
LogPlayLevel: ErrorReporter.Error: ERROR: AutomationTool error: CodeSign Failed
LogPlayLevel: BuildCommand.Execute: ERROR: BUILD FAILED
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception:
LogPlayLevel: Program.Main: ERROR: Exception in IOS.Automation: CodeSign Failed
LogPlayLevel: Stacktrace:   at IOSPlatform.CodeSign (System.String BaseDirectory, System.String GameName, System.String RawProjectPath, UnrealTargetConfiguration TargetConfig, System.String LocalRoot, System.String ProjectName, System.String ProjectDirectory, Boolean IsCode, Boolean Distribution) [0x00000] in <filename unknown>:0
LogPlayLevel:   at IOSPlatform.Package (AutomationTool.ProjectParams Params, DeploymentContext SC, Int32 WorkingCL) [0x00000] in <filename unknown>:0
LogPlayLevel:   at Project.Package (AutomationTool.ProjectParams Params, Int32 WorkingCL) [0x00000] in <filename unknown>:0
LogPlayLevel:   at BuildCookRun.DoBuildCookRun (AutomationTool.ProjectParams Params) [0x00000] in <filename unknown>:0
LogPlayLevel:   at BuildCookRun.ExecuteBuild () [0x00000] in <filename unknown>:0
LogPlayLevel:   at BuildCommand.Execute () [0x00000] in <filename unknown>:0
LogPlayLevel: Program.Main: ERROR: CodeSign Failed
LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes.
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1
LogPlayLevel: Domain_ProcessExit
LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes.
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 15.967913
LogPlayLevel: RunUAT ERROR: AutomationTool was unable to run successfully.
PackagingResults:Error: Error Launch failed! Unknown Error

I am downloading Xcode 8.2 right now. I’ll let you know if I run in to the same thing. It looks like the call to code sign using Xcode crashed due to a bad dependency graph. Hopefully, if it is something we are doing wrong, I will be able to reproduce pretty quickly.

-Pete

Looking more closely at your output, it might be something to do with com.apportable.platform.android. Do you have Apportable installed? If so, this link talks about having issues with it after the update

http://forum.spritebuilder.com/t/xcode-6-2-problem-with-spritebuilder-and-apportable/3276

My guess is they just haven’t updated the plugin to work with the updated Xcode yet, or you might just need to check if it has been updated.

-Pete

Is apportable essential for iOS deployment from Unreal…

No, first time I had ever heard of it :slight_smile:

-Pete

Goo catch Pete!!! After removing apportable (SBAndroid plugin from Spritebuilder), I was able to successfully build my project for iOS

Glad it’s now working for you. Can’t take all of the credit, another one of the guys here noticed the android tag in the Xcode output first :slight_smile: