How do I change xcode code sign identity and application name? - iphone

I have an ios application that runs on xcode 3.2.6. I want to change application name and application icon. I also want to use another developer identity. In xcode 3 I did not find how to change this and now I am moving to xcode 4.

To change the application icon go to Application Targets -> info - > and in the Icon file column write the name of the image with its extension example: abc.png and put the image in the project.
And for the development identity select project and select Build Setting and choose Code Signing column and set the appropriate profile.

Related

How to name flutter application, for example, `My App`?

How to create flutter application with the name, for example, My App (with space inside and with each word uppercased)?
If I create it this way
flutter create my app
then the output is
Multiple output directories specified.
On the other side if create it like
flutter create my_app
then my_app will be the name of this app in the list of installed applications (at least on Android).
But how to name it My App?
A command line tool outputs this info:
Package names should be all lowercase, with underscores to separate
words, just_like_this. Use only basic Latin letters and Arabic
digits: [a-z0-9_]. Also, make sure the name is a valid Dart identifier
-- that it doesn't start with digits and isn't a reserved word.
So the lowercase is also required...
Flutter documentation describe in detail how to configure your application for deployment which also includes setting the name of the app. You can find detailed configuration here -
Build and release an Android App
Build and release an iOS App
For changing the name of the Android app, it says -
Review the default App Manifest file, AndroidManifest.xml, located in
/android/app/src/main and verify that the values are correct,
especially the following:
application Edit the android:label in the application tag to reflect
the final name of the app.
For changing the name of the iOS app, it says -
Navigate to your target’s settings in Xcode:
In Xcode, open Runner.xcworkspace in your app’s ios folder. To view
your app’s settings, select the Runner project in the Xcode project
navigator. Then, in the main view sidebar, select the Runner target.
Select the General tab. Next, you’ll verify the most important
settings.
In the Identity section:
Display Name The name of the app to be displayed on the home screen
and elsewhere. Bundle Identifier

How I integrate SiriExtension to my Xcode 8 app

I'm trying to add SiriExtension to my app like below steps.
I've integrated Siri capabilities in my app like this:
Adding capability:
1- In the project settings, select your iOS app target and go to Capabilities tab
2- Enable the Siri capability
Adding the extension:
1- Go to File -> New -> Target...
2- Select iOS -> Application Extension from the left pane
3- Double-click Intents Extension from right
I added Siri Usage Description key in info.plist
I added INPreferences.requestSiriAuthorization in viewDidload
But still my app name is not showing in iPhone settings->Siri->Appsupport
What's going wrong? Please help me.
I faced similar kind of problem due to deployment target setting for Intent Extension. You have to set Deployment Target according to test device's OS version. You can see my answer here

Change Application Name

I have developed an iOS app, and it was already put into Apple Store. Now I want to change the name of my application.
What are the things I need to consider & update in my xcode project if I want to replace the current app in Apple Store with the new named app?
Update:
I'd like to not only change name in Apple store but also change the name in project level
Why are you trying to replace your App ? For just changing the Name ? You don't need to do any thing in your Xcode Project or replace your app. Simply follow these Steps and your App Name will be changed.
Take a look at : change app name in App Store.
Update : If you simply want to change the name of your Xcode Project then it's a simple 3 Step Process :
Go to Targets in Xcode
Go to Build Setting on your project's Target.
Search for Product Name under Packaging. Change the value of that what you want the new program name is going to be.
you can change "bundle display name" in info.plist to change the app icon name.
To change the name on Appstore there's already a post on stackoverflow: change app name in App Store

How to create a IPA file for iphone app?

I have created a iphone app. Everything working well in simulator. I want to test it in device. Provisioning profile or certificates are created and just need to create IPA file.
Please tell me step by step how to do that, if somebody knows it well.I am searching google but not find satisfying result. Thanks a lot.
It is very simple to get .ipa file from Xcode:
Select correct provisioning profile in Project and Targets -> Build Settings -> Code Signing -> Code Signing Identity
In Targets change the Bundle Identifier by Targets -> Info -> Bundle Identifier
Clean your project
Archive your project by Product -> Archive
Organizer automatically open with separate window there you can see you project with Archive date/time and project name
Click Share button from the Organizer window
It will ask to you choose the correct Provisioning profile do this correctly
It will ask you for the location to store, select Desktop or anywhere else
In your selected location the project .ipa file will be stored
Please do the above steps. I hope you got some idea. Thanks.
This may help you out for step by step process of making ipa.
Creating an IPA is done along the same way as creating an .xcarchive: Product -> Archive. After the Archive operation completes, go to the Organizer, select your archive, select Share and in the "Select the content and options for sharing:" pane set Contents to "iOS App Store Package (.ipa) and Identity to iPhone Distribution (which should match your ad hoc/app store provisioning profile for the project).
Chances are the "iOS App Store Package (.ipa)" option may be disabled. This happens when your build produces more than a single target: say, an app and a library. All of them end up in the build products folder and Xcode gets naïvely confused about how to package them both into an .ipa file, so it merely disables the option.
A way to solve this is as follows: go through build settings for each of the targets, except the application target, and set Skip Install flag to YES. Then do the Product -> Archive tango once again and go to the Organizer to select your new archive. Now, when clicking on the Share button, the .ipa option should be enabled.
I hope this helps.

Uploading App - Where is the Configuration Field in XCode 4?

I'm trying to upload my first app to App Store. I'm following the instructions in the iOS Provision Portal. The problem is that all the instructions and screen shots are still relevant to XCode previous version...
I'm stuck in Distribution tab in the section called Building your Application with XCode for Distribution in instruction #4 (see screen shot attached).
It says "In the Target Info window, select the ‘Build’ tab and set the ‘Configuration’ to ‘Distribution’".
Where do I find this Configuration field in XCode 4?
In left view listing files etc in xcode, go to the top and click the project name. You'll see target etc show up on right.
Xcode 4 is different from Xcode 3 so you'll have to navigate and check it out.
Update: The configuration option has been converted into schemes. You can create schemes for debug, distribution etc and once the scheme is selected you can configure that target as well.
Info on schemes