XCode 7.3 Not showing "general" tab in options. - ios

I'm trying to access the "general" tab of the Xcode options for a target I'm trying to build but there seems to be none.
Heres an image of my settings tab with the target selected: http://imgur.com/ljgW9j6

Try this.General option
Click the left top corner icon (Hide project and targets list button) that appears in the image and then a list will show you your project, then click your project and the general option now appear.enter image description here

It looks like the project was not created correctly for iOS. You need to do File->New->Project. Then, go to iOS category and choose your project type (usually single view application). Then input your project name, preferred language, organization, etc. and create the project. Now, when you click on the target, you will see the general tab.

that message is talking about your IOS device general tab so you have to go to your (iphone or ipad) setting -> general -> (in IOS 11)Profile & Device Management -> Then select your apple Id which is signed in xcode
Note: your ios device should connected to internet

Related

XCode only showing info and build settings not the rest?

Anyone can explain why the other menus in xcode are not being displayed? I downloaded a tutorial file and it only shows
and not as I would expect this
I am looking for the Capabilities tab,
Presumably, you're looking at a project:
and not a target:
Use the popup menu (or the sidebar that's shown collapsed in my screenshots) to select your app target instead.

Can storyboards be used as the launch screen in tvos?

In iOS, storyboards can be used as the launch screen instead of static images. I am looking for a way to do this with tvOS as well, but I don't see the option. Is there a way to do so?
Solution for tvOS 13.1 and better
Starting with tvOS 13.1 using launch images is deprecated.
The following build warning will appear:
MyApp.xcassets:1:1: Launch images are deprecated in tvOS 13.0. Use a
launch storyboard or XIB instead.
You need to create a new storyboard in Xcode following this steps:
From Xcode main menu choose "File" -> "New" -> "File"
Change to the tvOS Tab and select "Storyboard" - name it "LaunchScreen.storyboard"
Open the new file "LaunchScreen.storyboard"
From Xcode main menu choose "View" -> "ShowLibrary"
Enter "View Controller" in the search bar and select the "ViewController" component
Done. Now you can design your launch screen in the view controllers view
Now select your project file in Xcode and then select the target of yout tvOS app
Make sure "General" is selected in the header
Change to the section "App icons and Launch Images"
In the drop down box "Launch Screen File" select ""LaunchScreen"
Build and run your app
Enjoy your new LaunchScreen
If your launch screen storyboard does not show up on app startup make sure that you've set the "InitalViewController" flag for the view controller in your storyboard:
You can now use storyboards, in fact as of tvOS 13.0 it's the preferred method.
It will automatically be set up for you on new projects. For old projects create your launch image story board, make sure "Is initial view controller" is checked in the inspector window. After setting up your storyboard under "Project Setting -> General -> Launch Screen File" you will be able to select your storyboard as the launch file to use.

In Xcode, how do I use a different AppIcon for each target iOS App?

I have one Xcode project (in Xcode 6.1) with a 4 targets for 4 different apps that share a lot of the same source code.
I'm trying to have each one of them show a different app icon.
Going into Project > General > [select target] > App Icons and Launch Images, I see this:
But clicking on each AppIcon, I get to the exact same app icons - not the ones that I would like for each project.
Is this just a bug in Xcode? How can I use different app icons for different targets?
Click on your already existing xcassets File, where you have defined the Appicons for your first target and add a new Appicon.:
You can give the new Appicon a meaningfull name (In my case Appicon-Debug):
Go to your targets and select the new target:
choose the new AppIcon under General -> "App Icons and Launch Images" -> "App Icons Source":
Clean the project and rebuild it.
Go to your app's Assets.xcassets and create a new iOS App Icon by clicking on the + button in the bottom left corner of target's section
Name it AppIcon-Test or Debug or whatever name suits you.
Go to xcassets folder and in the utilities panel allow target membership to both in the File Inspector View. Make sure the all target membership's are enabled for both AppIcon sets.
Select the target for which you want to change icon in the project settings. In "General" Scroll down to App Icons and Launch Images. Select your appicon set for the respective target in App Icons source
Happy coding :)
I had a similar issue when using multiple targets. Trying to change which asset set is used just didn't work, it would always just auto select the first one in the list. The way I solved this was to rename the AppIcon in each asset set e.g. AppIconMobile and AppIconTablet.
CLick on the Arrow at right most, which will take you to Xc-assets screen, where you can set images.
Similarly click on other target and set images. If you open your project in finder window, you can notice ProjectName.xcassets where you can see different app icons set. you can copy directly to this folder aswell
I think you just need to create Assets.xcassets for each target
Then create an AppIcon in Asset, no need to give it a different name in each asset
Select the AppIcon on the general section of each target
On top of every other suggestions, you also need to clear Build Folder (top menu Project -> Clean Build Folder), close Xcode, remove app from device / simulator, close simulator, open Xcode and run it again. Otherwise, Xcode will keep cache of your old App Icon.

can't run iOS project in simulator nor device

I made some changes in my xcode project, which somehow, causes me to not be able to run the app in the simulator nor device. The only option that I can see now is My Mac 64 bit. How do I fix this? The target is correct.
Try this:
Go to Edit scheme (Drop down near the stop button), then select Excecutable as "yourapp.app".
If you open the project in XCode (4.4.1), on the left top click the folder icon, then select your project icon to bring up the project settings page. Click on the "Summary" tab, then you should see "Devices" where you can select the device you want to target.
If that doesn't work (you don't see "iOS Application Target") you may need to go into "Build Settings" and select a different "Base SDK" -- I usually select "Latest iOS". You may have selected a Mac OS X SDK. Also check "Supported Platforms" to select "iOS".
Another Way which did it for me ...
go to manage Schemes and click Autocreate schemes now on the upper left side ..
hope it helps

Is there any tool to find any difference between two xcode projects?

Is there any tool available to find the difference between two versions of same xcode project?. So that I can easily get an overview of the changed/newly-added/deleted files.
Thanks,
durai.
The Xcode tools include the FileMerge.app application that does exactly what you're looking for.
It's at <Developer Tools>/Applications/Utilities/FileMerge.app.
You can compare two Xcode project using FileMerge tool available with Xcode.
Below are steps for comparison in Xcode 6.1
Right click on Xcode icon -> Select 'Open Developer Tool' -> Select 'FileMerge' option
This will open window as show below :
Select two Xcode project which is to be compared by clicking Left and Right button
Click on 'Compare' button. This will create list of file that are added, removed or altered
by comparing two Xcode project.
Note : While selecting file for Left/Right go to folder level not Xcode file or workspace
You can check changes in Left/Right, identical between Left/Right or Added/Deleted by selecting feature present in extreme right side of window (if using Xcode 8.2.1)

Resources