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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Bundle identifier always being set to com.epicgames.MyProject no matter what

Under Platforms->iOS I have set the bundle identifier to what it should be. I have selected the appropriate provision and certificate. When I go to launch on my phone it keeps telling me it can't sign it because nothing matches the bundle identifier of com.epicgames.MyProject......which doesn't make any sense because I can see that I've changed the field in platforms->iOS. I opened the .plist as well and it's set correctly. However, I notice that if I open the xcodeproj file the bundle identifier shows com.epicgames.MyProject. Even if I change it there in XCode, it gets overwritten the next time I try and launch.

Sooooo why would it not be using my specified bundle ID and why would it keep overwriting it? I've tried changing it multiple times and no-go.

This is on 4.6.1.

Product Version: Not Selected
Tags:
more ▼

asked Feb 13 '15 at 09:24 AM in Packaging & Deployment

avatar image

Architekt
66 13 16 22

avatar image Ravlek STAFF Feb 13 '15 at 02:32 PM

Hi,

Do you have a Game-Info.plist in your Game/Build/IOS directory or just an Info.plist? Both? Neither? My guess is there is an old plist file in there which is getting used. If you delete all of them, change your bundle identifier again (make it something else and then change it back), it will re-generate the Info.plist and launch on should probably work after that.

This has changed in 4.7 to always generate the plist from the project settings each build/launch on which will fix this issue for you, but 4.6 try the above.

-Pete

avatar image Architekt Feb 13 '15 at 08:05 PM

It just had an info.plist. I nuked it, changed the bundle id to a.b.c and then back to the real one, reimported my certificate, and it still didn't work. Still shows trying to do com.epicgames.MyProject.....

avatar image Ravlek STAFF Feb 13 '15 at 08:06 PM

Did it create an Info.plist? Does that one have the correct bundle identifier in it? If it does that will narrow where the possible problem is.

-Pete

avatar image Ravlek STAFF Feb 13 '15 at 08:08 PM

Are you on PC or Mac?

avatar image Architekt Feb 13 '15 at 08:09 PM

I'm on a Mac doing this, but I also have a PC if it would make sense to try it there.

avatar image Ravlek STAFF Feb 13 '15 at 08:10 PM

Nope, that's good. I just needed to know because there is a different path in the code for Mac vs. PC. Let me do a little digging and I will get back to you.

-Pete

avatar image Architekt Feb 13 '15 at 08:11 PM

Awesome, thanks, and I appreciate the quick replies.

avatar image Ravlek STAFF Feb 13 '15 at 08:14 PM

Is your project code-based or content-only?

avatar image Architekt Feb 13 '15 at 08:15 PM

Code based. I just took the puzzle game C++ template and started from there.

avatar image Ravlek STAFF Feb 13 '15 at 08:17 PM

Ok, check in the Game/Intermediate/IOS directory and see if there is a Game-Info.plist. Where Game is your game name. If so, does it have the correct identifier?

avatar image Architekt Feb 13 '15 at 08:18 PM

Yes, there is a game-info.plist file and it has the correct ID

avatar image Ravlek STAFF Feb 13 '15 at 08:20 PM

Ok, next place to check :) In Game/Saved/StagedBuilds/IOS there should be an Info.plist. Is that one correct?

avatar image Architekt Feb 13 '15 at 08:21 PM

in Game/Saved/StagedBuilds/IOS there is actually NOT a .plist file of any kind

avatar image Ravlek STAFF Feb 13 '15 at 08:33 PM

Ok, I have a possible idea of what it could be. What is your root directory for the game, so something /Users/blah/Documents/Unreal Projects/GameName or something. I don't need the whole thing, just the directory name where the uproject files sits.

avatar image Architekt Feb 13 '15 at 08:34 PM

/Users/myname/p4/myproject_directory/myproject.uproject

avatar image Architekt Feb 13 '15 at 08:07 PM

Yes it did create an Info.plist and yes it has the correct ID in it.

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

1 answer: sort voted first

ok, so the issue is in 4.6 we have a bug with the Xcode project generation where if the name of the project doesn't match the immediate directory bad things happen. Is it possible to rename the directory from myproject_directory/ to myproject/? This is fixed in 4.7, but was figured out after 4.6 was released. Making that change should fix your issue.

-Pete

more ▼

answered Feb 13 '15 at 08:38 PM

avatar image

Ravlek STAFF
1.9k 4 6 34

avatar image Architekt Feb 13 '15 at 08:49 PM

Hey that worked! It also happened to solve another bug I had so thanks. Edit: Not sure how to mark your response as the answer, I don't see an option to.

(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