Setup screen iOS - Name edits - ios

I am looking to change those two info in XCode showing in the simulator when the App is installed.
Do you know where I should look for (see attached screenshot), the name and the copyright.
I already tried to change the bundle name and target without success.

There's a file called LaunchScreen.xib in your project. It is automatically created as part of the project template, and it shows the name of the project (at the time of creation - that's why you had no luck changing the settings) and the organization name.
You can customize this screen as you wish (e.g. show a logo), or get rid of it altogether - then you need to provide the good old 'Default*.png' files, and indicate in the Project settings that you don't want to use a Launch Screen File.

Related

Is there any better way to rename an XCode project than the given one?

The given version is described here: How do I rename a project in Xcode 5?
But, as you can see from the following screenshot^, not everything gets renamed, and if one opens package contents, directory names etc. to try to manually change all the references, the project is broken afterwards, so you have to keep the old project name for sub directories etc., which granted is not a massive problem, but is intensely irritating, and I'm not enjoying being intensely irritated at work.
^ apologies for a screenshot, but there's too much information in it to transcribe to written text. Top two-thirds of screenshot is XCode project, bottom third a Finder window.
Renaming projects in xcode in one of the most annoying things in iOS development. I assume you want to rename your app. I faced this problem once and figured out a simple, clean way to do it.
Go back to the point where everything worked.
Open project in xcode and click on the project icon in the project structure( first file)
Go to the info tab
Search for Bundle Name. Most probably it will automatically be set to $(PRODUCT_NAME) which is a shell variable that will set your app name the same as the project name.
Set it to whatever you want your app name to be
Done
Notes :
If you use custom URL Schemes this might produce an error when redirecting.
ALWAYS git or some other SVN in your projects. This will come in handy in this kind of situations

What does the localize button in Xcode do?

I am working on a Unity3d game for iOS which uses the Helpshift plugin for customer support.
Unity version : 4.6.4p1.
Xcode version : 6.1.1
The problem is that the popup for the plugin appears without any buttons.
But this gets fixed if one selects the .strings file on the plugin and click on the localize button. It then places the files in the lproj folder of that language.
But the localize functionality is surely doing more than just putting it in the correct folder, as even if you put it in the folder before hand the problem persists.
One can also see that after pressing the localize button, the number of files localized in the info panel of the project in Xcode increases by one.
I cannot have this setup as the build is automated, one cannot have any manual steps in the process as it will completely break the work flow.
Do let me know if you have any leads, if not the complete solution.
You are correct, clicking the localize button does do more than just put a strings file in a folder. That is the main part, but it will also wire that folder and file up into the project as a resource that gets included during the build process and will likely add some reference in the storyboard as well.
See Internationalizing the User Interface

Rename XCode project AND iOS app, but retain old app

I'm trying to further develop a sample application while keeping the original on my phone at the same time.
All answers here how-to-change-the-name-of-an-ios-app do not work completely because the new app will overwrite the original one, therefore anytime I want the original one back on my phone I have to run ('install') that one again. There must be some additional step that has to be taken.
I apologize for creating a new question, but I cannot comment on the old one due to a lack of reputation and I see no point in answering a bunch of random questions that other people are more qualified to do just to gain some.
I recommend you to create a new target in existing project. You can do this by duplicating exiting target.
In this target change bundle identifier. (New target's general tab) So it will not overwrite existing application.
change Bundle display name to identify your new application from exiting one. (New target's info tab)
This way you can have files only related to you sample application. When you want to build original target you just have to change the target from XCode and build.
You can double click on your project's name here so that it is selectable and editable.
I doubt it will overwrite your old app because it has a different name. I haven't tested this on any iOS device but in the simulator it doesn't delete the old version.

Changing project identity and type in Xcode

I have a working iOS application in Xcode, and wanted to change the display name of the application on the phone. When i click on the main project directory in Xcode, a menu opens on the right side of the screen. Under the title "Identity and Type", I tried to change the name to something different. When prompted, I chose to change the references in other files. Now, my file has an error, because my -info.plist file no longer exists (because the project is apparently trying to reference the plist file sharing the original name of my application). When I tried to simply change the name back to the previous one, I get an error that says
"OldProjectName.xcodeproj" couldn't be moved to "ios" because an item with the
same name already exists. To save the file, either provide a different name,
or move aside or delete the existing file, and try again.
I realize this problem is likely trivial, but i'm not entirely familiar with Xcode and i'm concerned that I will delete or move an essential file. For some reason, although I enabled them, I don't have any screenshots I can revert back to. Any suggestions on how to fix this?
To fix the error, change the name of the project (which is what you changed) back to what it was originally. To answer your question, to change the display name go to the info.plist and change the "bundle display name" to whatever you like.

BlackBerry - change the application name for an existing project

I have a BlackBerry project named "A". This means the build produces artifacts named A.alx, A.cod and all that.
Now I want to change the application name to "B". I tried changing the output file name to "B" and built the project. I get the output B.COD, B.alx etc. But when I try to install B.alx onto the BlackBerry device with the Desktop manager, it does not install, saying "this is not compatible application". This happens even though I can install A.alx successfully.
I made sure I am using 4.7 JDE to install on 4.7 device. I know I am doing something wrong when renaming the application in the project files. What is the problem?
You can't use a dash or space character in an application output filename. Make sure your "B" name does not include one.
edit
If you want to use those characters, edit the application title in the app descriptor. That is what the user sees when your app is installed.
I have encountered the same problem. I think you need to rename your whole project to B so that its output would be B.cod.
Here's some steps for changing project settings within the JDE:
Right click on the project and choose "Properties". A properties dialog will open.
In the "General" tab, you can edit the title of the project (This is what will be displayed on the ribbon), the version and some other stuff.
In the "Build" tab you can change the name of the output files.
Hope this helps.

Resources