x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

iOS Building Error

When I tried to package my project to iOS always have same error. Post on forum. https://forums.unrealengine.com/showthread.php?61038-iOS-building-error alt text

Product Version: Not Selected
Tags:
more ▼

asked Mar 04 '15 at 04:49 PM in Packaging & Deployment

avatar image

Stan_Zabroda
1 1 3

avatar image Ravlek STAFF Mar 04 '15 at 04:54 PM

Hi,

It looks like it isn't finding Xcode in /Applications/Developer/Xcode.app. Have you installed Xcode? If so, did you install it to a non-standard location?

-Pete

avatar image Stan_Zabroda Mar 04 '15 at 04:55 PM

my Xcode in /applications/xcode.app

avatar image Ravlek STAFF Mar 04 '15 at 04:59 PM

ok, we utilize xcrun to run Xcode. Right now on your system, xcrun thinks your Xcode is at /Applications/Developer/Xcode.app. You can change this by running the following in a terminal window:

xcode-select --switch /Applications/Xcode.app

That should resolve your issue.

-Pete

avatar image Stan_Zabroda Mar 04 '15 at 05:08 PM

Did it. Getting next error alt text

avatar image Ravlek STAFF Mar 04 '15 at 05:12 PM

Ok, can copy the contents of that output log and post it? That would give me a fuller picture of what is going, but it looks like you don't have a bundle identifier which matches a mobile provision on your system.

Check the IOS tab Project Settings and look to verify you a) have a mobile provision in the Provision List, b) have a certificate in the Certificate List, and c) that the Bundle Identifier is correct for your project. Strangely, you shouldn't get this far when this is the case, so having the full log will help me understand why you got to here without tripping any of our provision safeguards.

-Pete

avatar image Stan_Zabroda Mar 04 '15 at 05:17 PM
log.txt (491.2 kB)
avatar image Ravlek STAFF Mar 04 '15 at 06:14 PM

Ok, so made it to the signing stage without a provision because of a bug that will be fixed in 4.7.2 (coming out soon). Did you check your IOS Project Settings?

-Pete

avatar image Stan_Zabroda Mar 04 '15 at 06:16 PM

just now installed 4.7.2 same error. I tried with provision and without it, same issue

avatar image Ravlek STAFF Mar 04 '15 at 06:18 PM

Do you have a new log with the 4.7.2 editor?

avatar image Stan_Zabroda Mar 04 '15 at 06:19 PM

one moment

avatar image Stan_Zabroda Mar 04 '15 at 06:23 PM
log472.txt (492.3 kB)
avatar image Ravlek STAFF Mar 04 '15 at 06:32 PM

Ok, based on that log, Xcode is failing to find a provision which matches your bundle identifier. However, our validation did find it. Can you look in the Engine install directory (usually /Users/Shared/Unreal Engine) for the following file:

Engine/Intermediate/IOS/UE4Game-Info.plist

Inside of there, check what the CFBundleIdentifier is. The output from Xcode is showing ???your identifier??? which makes me think there are some extra characters getting in to the identifier in the plist. The above plist is generated, so it is possible we have a bug in the generation.

-Pete

avatar image Stan_Zabroda Mar 04 '15 at 06:35 PM

in intermediate no folder "iOS" alt text

avatar image Ravlek STAFF Mar 04 '15 at 06:54 PM

I just checked by building one of my projects via Launch On and it did create an IOS directory. In

/Users/Shared/UnrealEngine/4.7/Engine/Intermediate

That was with 4.7, updating to 4.7.2. now, but I expect it would still create the file there.

-Pete

avatar image Ravlek STAFF Mar 04 '15 at 06:58 PM

Barring that tho, there should be an Info.plist in

Location of Game Project/Saved/StagedBuilds/IOS

that should be the same one as is generated just copied for creation of the IPA.

-Pete

avatar image Ravlek STAFF Mar 04 '15 at 05:08 PM

Also, if that doesn't work, you might have an environment variable DEVELOPER_DIR set which will override the xcode-select call. If that's the case, just clear out the environment variable.

env DEVELOPER_DIR=""

avatar image Stan_Zabroda Mar 04 '15 at 05:09 PM

how can I do it?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Looks like xcode-select fixed it. We both posted at the same time :)

more ▼

answered Mar 04 '15 at 05:13 PM

avatar image

Ravlek STAFF
1.9k 4 6 34

avatar image Stan_Zabroda Mar 04 '15 at 05:25 PM
log.txt (491.2 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question