# ERROR: CodeSign Failed

**URL:** <https://forums.unrealengine.com/t/error-codesign-failed/427539>\
**Category:** XR Development\
**Tags:** ARKit, launch-failed, unreal-engine, build-failed, question\
**Created:** [June 17, 2018, 1:11am UTC](https://forums.unrealengine.com/t/error-codesign-failed/427539 "2018-06-17T01:11:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Biskraft](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Biskraft](https://forums.unrealengine.com/u/Biskraft)\
**Post date:** [June 17, 2018, 1:11am UTC](https://forums.unrealengine.com/t/error-codesign-failed/427539/1 "2018-06-17T01:11:19Z")

</div>

I just want to use ARKit for iOS build.  
My project is pure, default project from Unreal4 template.

Once I Launch project, it’s okay and can run on my iPhone.

But I just press Launch button again, CodeSign Failed so I can’t run on my iPhone.

Here is some logs for more information.

I don’t have any idea about why it can build just once, never twice.

Please help me. Here is my steps.

1. 4.20 Build
2. New Project - HandheldAR
3. Mobile/Tablet + Scalable 3D or 2D + No Starter Contents
4. Project Setting - Platform - iOS
5. My App ID is Wildcard, so I just let bundle ID default.
6. 

244577-  
7. At first launch, success.  
8. Next launch, ERROR: CodeSign Failed

> LogPlayLevel: /usr/bin/codesign  
> –force --sign 31B9C21D48E4FF49BE36BA07BA8EA271339158E4  
> –entitlements /Users/bisk\ 1/Documents/Unreal  
> Projects/ARGameDemo02/Intermediate/ProjectFilesIOS/build/ARGameDemo02.build/Development-iphoneos/ARGameDemo02.build/ARGameDemo02.app.xcent  
> –timestamp=none /Users/bisk\ 1/Documents/Unreal  
> Projects/ARGameDemo02/Binarie  
> s/IOS/Payload/ARGameDemo02.app  
> LogPlayLevel: 2018-06-17  
> 09:52:57.679 xcodebuild[13232:179486]  
> DTDeviceKit: deviceType from  
> 6c4ddcd6afb710d8a827ab4b6ce2dc0630050983  
> was NULL LogPlayLevel: 2018-06-17  
> 09:52:57.679 xcodebuild[13232:179486]  
> DTDeviceKit: deviceType from  
> 6c4ddcd6afb710d8a827ab4b6ce2dc0630050983  
> was NULL LogPlayLevel: 2018-06-17  
> 09:52:57.680 xcodebuild[13232:179486]  
> iPhoneSupport: ??? 11.4 (15F79), 54280a33af863c148bc978df45c08204a9386aed\>  
> unable to mount DeveloperDiskImage  
> (Error Domain=com.apple.dtdevicekit  
> Code=601 “Could not find platform”  
> UserInfo={NSLocalizedDescription=Could  
> not find platform}) LogPlayLevel:  
> /Users/bisk 1/Documents/Unreal  
> Projects/ARGameDemo02/Binaries/IOS/Payload/ARGameDemo02.app:  
> resource fork, Finder information, or  
> similar detritus not allowed  
> LogPlayLevel: Command CodeSign  
> failed with a nonzero exit code  
> LogPlayLevel: \*\* BUILD FAILED \*\*  
> LogPlayLevel: The following build  
> commands failed: LogPlayLevel:  
> CodeSign /Users/bisk  
> 1/Documents/Unreal  
> Projects/ARGameDemo02/Binaries/IOS/Payload/ARGameDemo02.app  
> LogPlayLevel: (1 failure)  
> LogPlayLevel: Took 6.467374s to run  
> env, ExitCode=65 LogPlayLevel: ERROR:  
> CodeSign Failed LogPlayLevel:  
> (see /Users/bisk 1/Library/Logs/Unreal  
> Engine/LocalBuildLogs/Log.txt for full  
> exception trace)
